transformers/tests/models/gpt2
Arthur a3fef89b26
[GPT2] Propose fix for #21080 (#21853)
* Make sure position ids are masked

* test that padded input produce the same results

* fix failing tests

* fixup

* fix batch test
2023-03-10 07:15:25 -05:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_flax_gpt2.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_modeling_gpt2.py [GPT2] Propose fix for #21080 (#21853) 2023-03-10 07:15:25 -05:00
test_modeling_tf_gpt2.py 🔥Rework pipeline testing by removing PipelineTestCaseMeta 🚀 (#21516) 2023-02-28 19:40:57 +01:00
test_tokenization_gpt2_tf.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
test_tokenization_gpt2.py [OPT] Adds GPT2TokenizerFast to the list of tokenizer to use for OPT. (#20823) 2023-02-07 17:35:28 +01:00