"vscode:/vscode.git/clone" did not exist on "a4ee4da18ad659b196582bbdf40785033ee1d26b"
Unverified Commit 9337c6c6 authored by Joel Stremmel's avatar Joel Stremmel Committed by GitHub
Browse files

make embeddings plural in warning message (#11228)

parent 653076ca
...@@ -1828,7 +1828,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin): ...@@ -1828,7 +1828,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin):
added_tokens = tokenizer.sanitize_special_tokens() added_tokens = tokenizer.sanitize_special_tokens()
if added_tokens: if added_tokens:
logger.warning( 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 return tokenizer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment