error when using autotokenizer

#67
by rohanarima - opened

I happen to run into error whenever i run the following:
tokenizer = AutoTokenizer.from_pretrained("gemma-2-9b-it")

It always reports missing additional_chat_templates in main.
Anyone can help on this?

Google org

Hi @rohanarima
This is usually caused by an outdated transformers version. Could you please do a quick upgrade and let me know if it still persists . Also make sure you're using the full model ID: google/gemma-2-9b-it .
If the issue persists, could you please let me know which version of the transformers you are currently using?
Thanks

Thank you! Problem solved.

rohanarima changed discussion status to closed

Works on transformer 4.57.6

Sign up or log in to comment