seamless_communication icon indicating copy to clipboard operation
seamless_communication copied to clipboard

Warning Message

Open leobavila opened this issue 1 year ago • 0 comments

When I run the code below, there is a warning message. Is it an error? How can I handle it?

from transformers import SeamlessM4TTokenizer

tokenizer = SeamlessM4TTokenizer.from_pretrained(
    "facebook/hf-seamless-m4t-medium", src_lang="eng"
)
example_english_phrase = " UN Chief Says There Is No Military Solution in Syria"
inputs = tokenizer(example_english_phrase, return_tensors="pt")

Warning message: Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.

Output: image

Thank you!

leobavila avatar Nov 10 '23 01:11 leobavila