mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
![]() * Resize the biases in same time than the embeddings * Trigger CI * Biases are not reset anymore * Remove get_output_embeddings + better LM model detection in generation utils * Apply style * First test on BERT * Update docstring + new name * Apply the new resizing logic to all the models * fix tests * Apply style * Update the template * Fix naming * Fix naming * Apply style * Apply style * Remove unused import * Revert get_output_embeddings * Trigger CI * Update num parameters * Restore get_output_embeddings in TFPretrainedModel and add comments * Style * Add decoder resizing * Style * Fix tests * Separate bias and decoder resize * Fix tests * Fix tests * Apply style * Add bias resizing in MPNet * Trigger CI * Apply style |
||
---|---|---|
.. | ||
__init__.py | ||
{{cookiecutter.lowercase_modelname}}.rst | ||
configuration_{{cookiecutter.lowercase_modelname}}.py | ||
configuration.json | ||
modeling_{{cookiecutter.lowercase_modelname}}.py | ||
modeling_tf_{{cookiecutter.lowercase_modelname}}.py | ||
test_modeling_{{cookiecutter.lowercase_modelname}}.py | ||
test_modeling_tf_{{cookiecutter.lowercase_modelname}}.py | ||
to_replace_{{cookiecutter.lowercase_modelname}}.py | ||
tokenization_{{cookiecutter.lowercase_modelname}}.py | ||
tokenization_fast_{{cookiecutter.lowercase_modelname}}.py |