Skip to content

Commit

Permalink
make embeddings plural in warning message (#11228)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstremme authored Apr 14, 2021
1 parent 653076c commit 9337c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/tokenization_utils_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ def convert_added_tokens(obj: Union[AddedToken, Any]):
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
Expand Down

0 comments on commit 9337c6c

Please sign in to comment.