TF port of ESM #19587

Rocketknight1 merged 23 commits into main from esm_tf_port
Rocketknight1
Rocketknight1 Rocketknight1 requested a review from gante gante 3 years ago
Rocketknight1 Rocketknight1 requested a review from sgugger sgugger 3 years ago
Rocketknight1 Rocketknight1 force pushed to 7508d138 3 years ago
HuggingFaceDocBuilderDev
Rocketknight1
Rocketknight1
sgugger
sgugger approved these changes on 2022-10-14
Partial TF port for ESM model
f77c6fd4
Rocketknight1 Add ESM-TF tests
8a2449bc
Rocketknight1 Add the various imports for TF-ESM
ddcb48dd
Rocketknight1 TF weight conversion almost ready
10cac9f9
Rocketknight1 Stop ignoring the decoder weights in PT
4f6eff27
Rocketknight1 Add tests and lots of fixes
9ce1acde
Rocketknight1 fix-copies
8a89db8a
Rocketknight1 Fix imports, add model docs
c68f3ef5
Rocketknight1 Add get_vocab() to tokenizer
f074cd78
Rocketknight1 Fix vocab links for pretrained files
840df9e9
Rocketknight1 Allow multiple inputs with a sep
d89bef05
Rocketknight1 Use EOS as SEP token because ESM vocab lacks SEP
345b3600
Rocketknight1 Correctly return special tokens mask from ESM tokenizer
c3cc44ff
Rocketknight1 make fixup
5dbf24c7
Rocketknight1 Stop testing unsupported embedding resizing
e659a9f9
Rocketknight1 Handle TF bias correctly
7ebbf2de
Rocketknight1 Skip all models with slow tokenizers in the token classification test
9f102490
Narsil Fixing the batch/unbatcher of pipelines to accomodate the `None` being
357877a7
Narsil Fixing pipeline bug caused by slow tokenizer being different.
f5fbfb9f
Rocketknight1 Rocketknight1 force pushed to f5fbfb9f 3 years ago
Rocketknight1
gante
gante approved these changes on 2022-10-14
Rocketknight1 Update src/transformers/models/esm/modeling_tf_esm.py
7f85040c
Rocketknight1 Update src/transformers/models/esm/modeling_tf_esm.py
82d39c18
Rocketknight1 Update src/transformers/models/esm/modeling_tf_esm.py
068374fd
Rocketknight1 Update set_input_embeddings and the copyright notices
ca2a52fa
Rocketknight1 Rocketknight1 merged 3b3024da into main 3 years ago
Rocketknight1 Rocketknight1 deleted the esm_tf_port branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone