make embeddings plural in warning message (#11228)

This commit is contained in:
Joel Stremmel
2021-04-14 09:13:25 -05:00
committed by GitHub
parent 653076ca30
commit 9337c6c668

View File

@@ -1828,7 +1828,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin):
added_tokens = tokenizer.sanitize_special_tokens()
if added_tokens:
logger.warning(
"Special tokens have been added in the vocabulary, make sure the associated word embedding are fine-tuned or trained."
"Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained."
)
return tokenizer