transformers/tests/models/camembert
JB (Don) f1a385b1de
[RoBERTa-based] Add support for sdpa (#30510)
* Adding SDPA support for RoBERTa-based models

* add not is_cross_attention

* fix copies

* fix test

* add minimal test for camembert and xlm_roberta as their test class does not inherit from ModelTesterMixin

* address some review comments

* use copied from

* style

* consistency

* fix lists

---------

Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2024-08-28 10:26:00 +02:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_camembert.py [RoBERTa-based] Add support for sdpa (#30510) 2024-08-28 10:26:00 +02:00
test_modeling_tf_camembert.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_tokenization_camembert.py Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00