From 7777db159f538a3c342189a1cd35d6bf32ad4ee3 Mon Sep 17 00:00:00 2001 From: Bram Vanroy Date: Thu, 24 Dec 2020 14:43:14 +0100 Subject: [PATCH] Update tokenization_utils_base.py (#9293) Missing "s" typo --- src/transformers/tokenization_utils_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/tokenization_utils_base.py b/src/transformers/tokenization_utils_base.py index 91966ba319..8ee64f2910 100644 --- a/src/transformers/tokenization_utils_base.py +++ b/src/transformers/tokenization_utils_base.py @@ -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. " )