transformers/tests/models/biogpt
Arthur 83b26dd79d
[`generate`] fix breaking change for patch (#29976)
* fix bug and add tests

* nit

* otherway to get the cur len instead of attention mask

* more places where this might have been broken

* nit

* oups

* inputs_embeds vs input_embeds

* test generated outptus

* style

* nit

* fix

* skip failing biogpt
2024-04-02 09:51:45 +02:00
..
__init__.py Add BioGPT (#20420) 2022-12-05 10:12:03 -05:00
test_modeling_biogpt.py [`generate`] fix breaking change for patch (#29976) 2024-04-02 09:51:45 +02:00
test_tokenization_biogpt.py Adds pretrained IDs directly in the tests (#29534) 2024-03-13 14:53:27 +01:00