transformers/tests/models/xlm_roberta
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_flax_xlm_roberta.py Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
test_modeling_tf_xlm_roberta.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_modeling_xlm_roberta.py [RoBERTa-based] Add support for sdpa (#30510) 2024-08-28 10:26:00 +02:00
test_tokenization_xlm_roberta.py Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00