transformers/tests/models/longformer
Lysandre Debut f24f084329
Import structure & first three model refactors (#31329)
* Import structure & first three model refactors

* Register -> Export. Export all in __all__. Sensible defaults according to filename.

* Apply most comments from Amy and some comments from Lucain

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Co-authored-by: Lucain Pouget <lucainp@gmail.com>

* Style

* Add comment

* Clearer .py management

* Raise if not in backend mapping

* More specific type

* More efficient listdir

* Misc fixes

---------

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Co-authored-by: Lucain Pouget <lucainp@gmail.com>
2024-09-10 11:10:53 +02:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_longformer.py Import structure & first three model refactors (#31329) 2024-09-10 11:10:53 +02:00
test_modeling_tf_longformer.py Import structure & first three model refactors (#31329) 2024-09-10 11:10:53 +02:00
test_tokenization_longformer.py Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00