transformers/tests/models/t5
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 Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_flax_t5.py Flax t5 Encoder (#17784) 2022-06-30 00:49:02 +02:00
test_modeling_t5.py Skip disk offload test for T5 2022-06-07 11:11:40 -04:00
test_modeling_tf_t5.py Update serving code to enable saved_model=True (#18153) 2022-07-22 18:05:38 +01:00
test_tokenization_t5.py Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00