added biogpt token classifier (#22447)

* added biogpt token classifier

* fix reviews

* Updated modeling_biogpt.py

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>

---------

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
This commit is contained in:
Mohammed Jabir
2023-04-03 18:50:02 +05:30
committed by GitHub
parent 1194c3e315
commit 7d25c9c81e
8 changed files with 138 additions and 5 deletions

View File

@@ -53,4 +53,9 @@ This model was contributed by [kamalkraj](https://huggingface.co/kamalkraj). The
## BioGptForCausalLM
[[autodoc]] BioGptForCausalLM
- forward
## BioGptForTokenClassification
[[autodoc]] BioGptForTokenClassification
- forward