Update tokenization_utils_base.py (#9293)

Missing "s" typo
This commit is contained in:
Bram Vanroy 2020-12-24 14:43:14 +01:00 committed by GitHub
parent 71963a6633
commit 7777db159f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3179,7 +3179,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin):
assert already_has_special_tokens and token_ids_1 is None, (
"You cannot use ``already_has_special_tokens=False`` with this tokenizer. "
"Please use a slow (full python) tokenizer to activate this argument."
"Or set `return_special_token_mask=True` when calling the encoding method "
"Or set `return_special_tokens_mask=True` when calling the encoding method "
"to get the special tokens mask in any tokenizer. "
)