Skip to content

Commit

Permalink
Fix typo in AutoModelForMaskedLM docs (huggingface#8129)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 authored and fabiocapsouza committed Nov 15, 2020
1 parent 7af83fc commit 4aa6b51
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.AutoModelForMasedLM.from_config` class method.
:meth:`~transformers.AutoModelForMaskedLM.from_config` class method.
This class cannot be instantiated directly using ``__init__()`` (throws an error).
"""
Expand Down

0 comments on commit 4aa6b51

Please sign in to comment.