transformers/tests/models/seamless_m4t
Yasmin Moslem 6d3d5b1039
Remove deprecated properties in tokenization_nllb.py and tokenization_nllb_fast.py (#29834)
* Fix typo in tokenization_nllb.py

Change `adder_tokens_decoder` into `added_tokens_decoder` and improve the warning's readability.

* Fix typo in tokenization_nllb_fast.py

Change `adder_tokens_decoder` into `added_tokens_decoder` and improve the warning's readability.

* Remove deprecated attributes in tokenization_nllb.py

Remove deprecated attributes: `lang_code_to_id`, `fairseq_tokens_to_ids`, `id_to_lang_code`, and `fairseq_ids_to_tokens`

* Remove deprecated attribute in tokenization_nllb_fast.py

Remove deprecated attribute `lang_code_to_id`

* Remove deprecated properties in tokenization_nllb.py

Remove deprecated properties - fix format

* Remove deprecated properties in tokenization_nllb_fast.py

Remove deprecated properties - fix format

* Update test_tokenization_nllb.py

* update test_tokenization_nllb.py

* Update tokenization_nllb.py

* Update test_tokenization_seamless_m4t.py

* Update test_tokenization_seamless_m4t.py
2024-05-23 18:53:26 +02:00
..
__init__.py Add Seamless M4T model (#25693) 2023-10-23 14:49:48 +02:00
test_feature_extraction_seamless_m4t.py Fix error in M4T feature extractor (#28340) 2024-01-04 16:40:53 +00:00
test_modeling_seamless_m4t.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
test_processor_seamless_m4t.py Add Seamless M4T model (#25693) 2023-10-23 14:49:48 +02:00
test_tokenization_seamless_m4t.py Remove deprecated properties in tokenization_nllb.py and tokenization_nllb_fast.py (#29834) 2024-05-23 18:53:26 +02:00