Unverified Commit e477eb91 authored by Santiago Castro's avatar Santiago Castro Committed by GitHub
Browse files

Fix typo in `AutoModelForMaskedLM` docs (#8129)

parent 5e24982e
...@@ -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.AutoModelForMaskedLM.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).
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment