mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix docstring in AutoModel class (#7694)
This commit is contained in:
parent
26d5475d4b
commit
ba4bbd92bc
@ -532,7 +532,7 @@ AUTO_MODEL_PRETRAINED_DOCSTRING = r"""
|
||||
class AutoModel:
|
||||
r"""
|
||||
This is a generic model class that will be instantiated as one of the base model classes of the library
|
||||
when created with the when created with the :meth:`~transformers.AutoModel.from_pretrained` class method or the
|
||||
when created with the :meth:`~transformers.AutoModel.from_pretrained` class method or the
|
||||
:meth:`~transformers.AutoModel.from_config` class methods.
|
||||
|
||||
This class cannot be instantiated directly using ``__init__()`` (throws an error).
|
||||
|
Loading…
Reference in New Issue
Block a user