configuration.rst 416 Bytes
Newer Older
thomwolf's avatar
thomwolf committed
1
2
3
4
5
6
7
8
9
10
Configuration
----------------------------------------------------

We provide a base class, ``PretrainedConfig``, which can load a pretrained instance either from a local file or directory or from a pretrained model configuration provided by the library (downloaded from HuggingFace AWS S3 repository).

``PretrainedConfig``
~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pytorch_transformers.PretrainedConfig
    :members: