mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 19:21:31 +06:00
make embeddings plural in warning message (#11228)
This commit is contained in:
parent
653076ca30
commit
9337c6c668
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user