transformers/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}
Julien Plu 1243ee7d0c
Full rework of the TF input/output embeddings and bias resizing (#9193)
* Start rework resizing

* Rework bias/decoder resizing

* Full resizing rework

* Full resizing rework

* Start to update the models with the new approach

* Finish to update the models

* Update all the tests

* Update the template

* Fix tests

* Fix tests

* Test a new approach

* Refactoring

* Refactoring

* Refactoring

* New rework

* Rework BART

* Rework bert+blenderbot

* Rework CTRL

* Rework Distilbert

* Rework DPR

* Rework Electra

* Rework Flaubert

* Rework Funnel

* Rework GPT2

* Rework Longformer

* Rework Lxmert

* Rework marian+mbart

* Rework mobilebert

* Rework mpnet

* Rework openai

* Rework pegasus

* Rework Roberta

* Rework T5

* Rework xlm+xlnet

* Rework template

* Fix TFT5EncoderOnly + DPRs

* Restore previous methods

* Fix Funnel

* Fix CTRL and TransforXL

* Apply style

* Apply Sylvain's comments

* Restore a test in DPR

* Address the comments

* Fix bug

* Apply style

* remove unused import

* Fix test

* Forgot a method

* missing test

* Trigger CI

* naming update

* Rebase

* Trigger CI
2021-01-11 06:27:28 -05:00
..
__init__.py Fast imports part 3 (#9474) 2021-01-08 07:40:59 -05:00
{{cookiecutter.lowercase_modelname}}.rst Model Templates for Seq2Seq (#9251) 2020-12-22 23:41:20 +01:00
configuration_{{cookiecutter.lowercase_modelname}}.py [PyTorch Bart] Split Bart into different models (#9343) 2021-01-05 22:00:05 +01:00
configuration.json Model Templates for Seq2Seq (#9251) 2020-12-22 23:41:20 +01:00
modeling_{{cookiecutter.lowercase_modelname}}.py [GenerationOutputs] Fix GenerationOutputs Tests (#9443) 2021-01-06 19:37:02 +01:00
modeling_tf_{{cookiecutter.lowercase_modelname}}.py Full rework of the TF input/output embeddings and bias resizing (#9193) 2021-01-11 06:27:28 -05:00
test_modeling_{{cookiecutter.lowercase_modelname}}.py [PyTorch Bart] Split Bart into different models (#9343) 2021-01-05 22:00:05 +01:00
test_modeling_tf_{{cookiecutter.lowercase_modelname}}.py Full rework of the TF input/output embeddings and bias resizing (#9193) 2021-01-11 06:27:28 -05:00
to_replace_{{cookiecutter.lowercase_modelname}}.py Transformers fast import part 2 (#9446) 2021-01-07 09:36:14 -05:00
tokenization_{{cookiecutter.lowercase_modelname}}.py Model Templates for Seq2Seq (#9251) 2020-12-22 23:41:20 +01:00
tokenization_fast_{{cookiecutter.lowercase_modelname}}.py Model Templates for Seq2Seq (#9251) 2020-12-22 23:41:20 +01:00