Fix typo in all model docs (#7714)

This commit is contained in:
Sylvain Gugger
2020-10-12 04:06:59 -04:00
committed by GitHub
parent 83086858f8
commit 13c1857718
43 changed files with 51 additions and 51 deletions

View File

@@ -310,7 +310,7 @@ XXX_INPUTS_DOCSTRING = r"""
Mask values selected in ``[0, 1]``:
- 1 for tokens that are **not masked**,
- 0 for tokens that are **maked**.
- 0 for tokens that are **masked**.
`What are attention masks? <../glossary.html#attention-mask>`__
token_type_ids (:obj:`Numpy array` or :obj:`tf.Tensor` of shape :obj:`({0})`, `optional`):

View File

@@ -243,7 +243,7 @@ XXX_INPUTS_DOCSTRING = r"""
Mask values selected in ``[0, 1]``:
- 1 for tokens that are **not masked**,
- 0 for tokens that are **maked**.
- 0 for tokens that are **masked**.
`What are attention masks? <../glossary.html#attention-mask>`__
token_type_ids (:obj:`torch.LongTensor` of shape :obj:`({0})`, `optional`):