transformers/tests/models/gpt2
Joao Gante 975dd2bbbc
TF: GPT-2 generation supports left-padding (#17426)
* TF GPT-2 now properly works with left padding

* throw a warning when eos token == pad token and there is no attention mask
2022-05-31 14:06:44 +01:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_flax_gpt2.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_gpt2.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_tf_gpt2.py TF: GPT-2 generation supports left-padding (#17426) 2022-05-31 14:06:44 +01:00
test_tokenization_gpt2.py Add OPT (#17088) 2022-05-12 12:24:35 +02:00