transformers/tests/models/auto
Matt f8b2574416
Better TF docstring types (#23477)
* Rework TF type hints to use | None instead of Optional[] for tf.Tensor

* Rework TF type hints to use | None instead of Optional[] for tf.Tensor

* Don't forget the imports

* Add the imports to tests too

* make fixup

* Refactor tests that depended on get_type_hints

* Better test refactor

* Fix an old hidden bug in the test_keras_fit input creation code

* Fix for the Deit tests
2023-05-24 13:52:52 +01:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_configuration_auto.py Make sure dynamic objects can be saved and reloaded (#21008) 2023-01-05 07:30:25 -05:00
test_feature_extraction_auto.py Make sure dynamic objects can be saved and reloaded (#21008) 2023-01-05 07:30:25 -05:00
test_image_processing_auto.py Make sure dynamic objects can be saved and reloaded (#21008) 2023-01-05 07:30:25 -05:00
test_modeling_auto.py Use code on the Hub from another repo (#22814) 2023-04-18 13:46:11 -04:00
test_modeling_flax_auto.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_modeling_tf_auto.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_modeling_tf_pytorch.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_processor_auto.py Remove set_access_token usage + fail tests if FutureWarning (#22051) 2023-03-09 09:23:48 -05:00
test_tokenization_auto.py [tokenizer] sanitize saved config (#21483) 2023-02-07 10:51:45 -08:00