You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked again today and found .apply_chat_template work now. I'm not sure what caused the error the other day.
Regarding the formatted prompt by method .apply_chat_template, is there a documentation that I can look up to understand the types of role, or message, or image the processor of Llama supports?
Thank you again for providing us the amazing Llama model and making it open source!
Dear author,
Thank you for the amazing work!!!
I am studying finetuning the Llama 3.2 11B Vision model, but I encounter the following error
ValueError: No chat template is set for this processor. Please either set the
chat_template
attribute, or provide a chat template as an argument. See https://huggingface.co/docs/transformers/main/en/chat_templating for more information.Based on ocrvqa_dataset.py, apply_chat_template is a step in processing the data (as in the code snippet below). Very much look forward to your reply!
The text was updated successfully, but these errors were encountered: