transformers/tests/models/mctct
Sylvain Gugger 986526a0e4
Replace as_target context managers by direct calls (#18325)
* Preliminary work on tokenizers

* Quality + fix tests

* Treat processors

* Fix pad

* Remove all uses of  in tests, docs and examples

* Replace all as_target_tokenizer

* Fix tests

* Fix quality

* Update examples/flax/image-captioning/run_image_captioning_flax.py

Co-authored-by: amyeroberts <amy@huggingface.co>

* Style

Co-authored-by: amyeroberts <amy@huggingface.co>
2022-07-29 08:09:09 -04:00
..
__init__.py M-CTC-T Model (#16402) 2022-06-08 00:33:07 +02:00
test_feature_extraction_mctct.py M-CTC-T Model (#16402) 2022-06-08 00:33:07 +02:00
test_modeling_mctct.py M-CTC-T Model (#16402) 2022-06-08 00:33:07 +02:00
test_processor_mctct.py Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00