transformers/tests/models/roberta
Sylvain Gugger 8e5d1619b3
Clean load keys (#24505)
* Preliminary work on some models

* Fix test load missing and make sure nonpersistent buffers are tested

* Always ignore nonpersistent buffers if in state_dict

* Treat models

* More models

* Treat remaining models

* Fix quality

* Fix tests

* Remove draft

* This test is not needed anymore

* Fix copies

* Fix last test

* Newly added models

* Fix last tests

* Address review comments
2023-06-27 14:45:40 -04:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_flax_roberta.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_modeling_roberta.py Clean load keys (#24505) 2023-06-27 14:45:40 -04:00
test_modeling_tf_roberta.py Better TF docstring types (#23477) 2023-05-24 13:52:52 +01:00
test_tokenization_roberta.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00