transformers/tests/models/camembert
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_modeling_camembert.py Added with torch.no_grad() to Camembert integration test (#21544) 2023-02-10 10:58:29 +01:00
test_modeling_tf_camembert.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_tokenization_camembert.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00