Unverified Commit bd9dca3b authored by Arthur's avatar Arthur Committed by GitHub
Browse files

set warning level to info for special tokens have been added (#32138)

fixes #7002
parent 817a676b
......@@ -2506,7 +2506,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin, PushToHubMixin):
)
if added_tokens_decoder != {} and max(list(added_tokens_decoder.keys())[-1], 0) > tokenizer.vocab_size:
logger.warning_advice(
logger.info(
"Special tokens have been added in the vocabulary, make sure the associated word embeddings are"
" fine-tuned or trained."
)
......
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