Skip to content

Commit e477eb9

Browse files
authored
Fix typo in AutoModelForMaskedLM docs (#8129)
1 parent 5e24982 commit e477eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/modeling_auto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ class AutoModelForMaskedLM:
938938
This is a generic model class that will be instantiated as one of the model classes of the library---with a masked
939939
language modeling head---when created with the when created with the
940940
:meth:`~transformers.AutoModelForMaskedLM.from_pretrained` class method or the
941-
:meth:`~transformers.AutoModelForMasedLM.from_config` class method.
941+
:meth:`~transformers.AutoModelForMaskedLM.from_config` class method.
942942
943943
This class cannot be instantiated directly using ``__init__()`` (throws an error).
944944
"""

0 commit comments

Comments
 (0)