• Nils Reimers's avatar
    Update model configs - Allow setters for common properties (#13026) · c8be8a9a
    Nils Reimers authored
    * 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
    c8be8a9a
configuration.rst 1.47 KB