transformers/docs/source
Ashwin Mathur 487f132a6f
Add BioGPTForSequenceClassification (#22253)
* added BioGptForSequenceClassification

* added source of copied code

* typo

* Format code with black

* Update comments for copied code

* Remove code copy comment

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* Fix failing tests

* Update code copied from comments

* Fix code quality

* Update src/transformers/models/biogpt/modeling_biogpt.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* Fix lint error

* Update src/transformers/models/biogpt/modeling_biogpt.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* Rename model to biogpt for consistency

* Add PipelineTesterMixin to test_modeling_biogpt.py

* Apply suggestions from code review

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Resolve merge confict

---------

Co-authored-by: Guillem García Subies <37592763+GuillemGSubies@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2023-05-01 09:17:27 -04:00
..
de Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
en Add BioGPTForSequenceClassification (#22253) 2023-05-01 09:17:27 -04:00
es Update feature selection in to_tf_dataset (#21935) 2023-04-24 17:34:30 +01:00
fr Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
it Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
ja Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
ko 🌐 [i18n-KO] Translated model_sharing.mdx to Korean (#22991) 2023-04-28 09:20:33 -04:00
pt Update feature selection in to_tf_dataset (#21935) 2023-04-24 17:34:30 +01:00
zh Flax Regnet (#21867) 2023-04-04 12:41:12 -04:00
_config.py Adding evaluate to the list of libraries required in generated notebooks (#20850) 2022-12-21 14:04:08 +01:00