transformers/tests/models/esm
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 Rebase ESM PR and update all file formats (#19055) 2022-09-30 14:16:25 +01:00
test_modeling_esm.py 🔥Rework pipeline testing by removing PipelineTestCaseMeta 🚀 (#21516) 2023-02-28 19:40:57 +01:00
test_modeling_esmfold.py 🔥Rework pipeline testing by removing PipelineTestCaseMeta 🚀 (#21516) 2023-02-28 19:40:57 +01:00
test_modeling_tf_esm.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_tokenization_esm.py Rebase ESM PR and update all file formats (#19055) 2022-09-30 14:16:25 +01:00