transformers/templates/adding_a_new_model/cookiecutter-template-{{cookiecutter.modelname}}
Jacob Dineen ec3aace0ae
Add type annotations for Rembert/Splinter and copies (#16338)
* undo black autoformat

* minor fix to rembert forward with default

* make fix-copies, make quality

* Adding types to template model

* Removing List from the template types

* Remove `Optional` from a couple of types that don't accept `None`

Co-authored-by: matt <rocketknight1@gmail.com>
2022-03-22 20:07:48 +00:00
..
__init__.py Adds missing module_specs for usages of _LazyModule (#15230) 2022-01-21 07:30:12 -05:00
{{cookiecutter.lowercase_modelname}}.mdx Check the repo consistency in model templates test (#15141) 2022-01-14 04:52:38 -05:00
configuration_{{cookiecutter.lowercase_modelname}}.py Happy New Year! (#15094) 2022-01-10 12:05:57 -05:00
configuration.json Add template for adding flax models (#12441) 2021-09-01 09:49:03 +02:00
modeling_{{cookiecutter.lowercase_modelname}}.py Add type annotations for Rembert/Splinter and copies (#16338) 2022-03-22 20:07:48 +00:00
modeling_flax_{{cookiecutter.lowercase_modelname}}.py Replace all deprecated jax.ops operations with jnp's at (#16078) 2022-03-16 09:08:55 +00:00
modeling_tf_{{cookiecutter.lowercase_modelname}}.py TF generate refactor - past without encoder outputs (#15944) 2022-03-08 14:46:44 +00:00
test_modeling_{{cookiecutter.lowercase_modelname}}.py Fix model templates (#15806) 2022-02-23 18:27:29 -05:00
test_modeling_flax_{{cookiecutter.lowercase_modelname}}.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_modeling_tf_{{cookiecutter.lowercase_modelname}}.py TF generate refactor - past without encoder outputs (#15944) 2022-03-08 14:46:44 +00:00
to_replace_{{cookiecutter.lowercase_modelname}}.py Happy New Year! (#15094) 2022-01-10 12:05:57 -05:00
tokenization_{{cookiecutter.lowercase_modelname}}.py fix the tokenizer_config.json file for the slow tokenizer when a fast version is available (#15319) 2022-02-01 16:48:25 +01:00
tokenization_fast_{{cookiecutter.lowercase_modelname}}.py Happy New Year! (#15094) 2022-01-10 12:05:57 -05:00