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
e477eb91
Unverified
Commit
e477eb91
authored
Oct 28, 2020
by
Santiago Castro
Committed by
GitHub
Oct 28, 2020
Browse files
Fix typo in `AutoModelForMaskedLM` docs (#8129)
parent
5e24982e
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 @
e477eb91
...
@@ -938,7 +938,7 @@ class AutoModelForMaskedLM:
...
@@ -938,7 +938,7 @@ class AutoModelForMaskedLM:
This is a generic model class that will be instantiated as one of the model classes of the library---with a masked
This is a generic model class that will be instantiated as one of the model classes of the library---with a masked
language modeling head---when created with the when created with the
language modeling head---when created with the when created with the
:meth:`~transformers.AutoModelForMaskedLM.from_pretrained` class method or the
:meth:`~transformers.AutoModelForMaskedLM.from_pretrained` class method or the
:meth:`~transformers.AutoModelForMasedLM.from_config` class method.
:meth:`~transformers.AutoModelForMas
k
edLM.from_config` class method.
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