configuration.rst 609 Bytes
Newer Older
thomwolf's avatar
thomwolf committed
1
Configuration
Sylvain Gugger's avatar
Sylvain Gugger committed
2
-----------------------------------------------------------------------------------------------------------------------
thomwolf's avatar
thomwolf committed
3

4
5
6
The base class :class:`~transformers.PretrainedConfig` implements the common methods for loading/saving a configuration
either from a local file or directory, or from a pretrained model configuration provided by the library (downloaded
from HuggingFace's AWS S3 repository).
thomwolf's avatar
thomwolf committed
7

8
9

PretrainedConfig
Sylvain Gugger's avatar
Sylvain Gugger committed
10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
thomwolf's avatar
thomwolf committed
11

12
.. autoclass:: transformers.PretrainedConfig
thomwolf's avatar
thomwolf committed
13
    :members: