transformers/docs/source/main_classes
Nils Reimers c8be8a9adb
Update model configs - Allow setters for common properties (#13026)
* refactor GPT Config to allow dyn. properties

* make attribute_map a class attribute

* remove old code

* update unit test to test config: Add test for common properties setter

* update unit test to test config: Add test for common properties passed as parameters to __init__

* update to black code format

* Allow that setters are not defined for certain config classes

* update config classes to implement attribute_map

* bugfix lxmert config - id2labels was not defined when num_labels was set

* update broken configs - add attribute_maps

* update bart config

* update black codestyle

* update documentation on common config attributes

* update GPTJ config to new attribute map

* update docs on common attributes

* gptj config: add max_position_embeddings

* gptj config: format with black

* update speech to text 2 config

* format doc file to max_len 119

* update config template
2021-09-06 16:30:13 +02:00
..
callback.rst Add example for registering callbacks with trainers (#10928) 2021-04-05 12:27:23 -04:00
configuration.rst Update model configs - Allow setters for common properties (#13026) 2021-09-06 16:30:13 +02:00
data_collator.rst TF/Numpy variants for all DataCollator classes (#13105) 2021-08-31 13:06:48 +01:00
deepspeed.rst [Deepspeed] warmup_ratio docs (#12830) 2021-07-21 10:49:29 -07:00
feature_extractor.rst Add ImageFeatureExtractionMixin (#10905) 2021-03-26 11:23:56 -04:00
logging.rst Logging propagation (#10092) 2021-02-09 10:27:49 -05:00
model.rst Fix push_to_hub docstring and make it appear in doc (#12770) 2021-07-17 15:52:33 +02:00
optimizer_schedules.rst Seq2seq trainer (#9241) 2020-12-22 11:33:44 -05:00
output.rst [Flax] Correct flax docs (#12782) 2021-08-04 16:31:23 +02:00
pipelines.rst Add the AudioClassificationPipeline (#13342) 2021-09-01 11:03:48 +03:00
processors.rst Examples reorg (#11350) 2021-04-21 11:11:20 -04:00
tokenizer.rst Fix push_to_hub docstring and make it appear in doc (#12770) 2021-07-17 15:52:33 +02:00
trainer.rst fix: typo spelling grammar (#13212) 2021-08-30 08:09:14 -04:00