Skip to content

Commit

Permalink
Revert "Fix typo in AutoModelForMaskedLM docs (huggingface#8129)"
Browse files Browse the repository at this point in the history
This reverts commit 4aa6b51.
  • Loading branch information
fabiocapsouza authored Nov 15, 2020
1 parent 58daf94 commit 3a489a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/modeling_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
language modeling head---when created with the when created with the
:meth:`~transformers.AutoModelForMaskedLM.from_pretrained` class method or the
:meth:`~transformers.AutoModelForMaskedLM.from_config` class method.
:meth:`~transformers.AutoModelForMasedLM.from_config` class method.
This class cannot be instantiated directly using ``__init__()`` (throws an error).
"""
Expand Down

0 comments on commit 3a489a6

Please sign in to comment.