Fix typo in AutoModelForMaskedLM docs (#8129)

This commit is contained in:
Santiago Castro 2020-10-28 15:52:28 -04:00 committed by GitHub
parent 5e24982e58
commit e477eb919f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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).
"""