Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
ba4bbd92
"...py_src/git@developer.sourcefind.cn:change/sglang.git" did not exist on "dbf17a8313255c257df4cfa7c38e8803a7ae9e9b"
Unverified
Commit
ba4bbd92
authored
Oct 11, 2020
by
Alexandr Maslov
Committed by
GitHub
Oct 10, 2020
Browse files
Fix docstring in AutoModel class (#7694)
parent
26d5475d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/modeling_auto.py
src/transformers/modeling_auto.py
+1
-1
No files found.
src/transformers/modeling_auto.py
View file @
ba4bbd92
...
@@ -532,7 +532,7 @@ AUTO_MODEL_PRETRAINED_DOCSTRING = r"""
...
@@ -532,7 +532,7 @@ AUTO_MODEL_PRETRAINED_DOCSTRING = r"""
class
AutoModel
:
class
AutoModel
:
r
"""
r
"""
This is a generic model class that will be instantiated as one of the base model classes of the library
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.
:meth:`~transformers.AutoModel.from_config` class methods.
This class cannot be instantiated directly using ``__init__()`` (throws an error).
This class cannot be instantiated directly using ``__init__()`` (throws an error).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment