Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Cannot use chat template functions because tokenizer.chat_template is not set and no template argument was passed! #160

Open
HAOYON-666 opened this issue Dec 16, 2024 · 2 comments

Comments

@HAOYON-666
Copy link

ValueError: Cannot use chat template functions because tokenizer.chat_template is not set and no template argument was passed! For information about writing templates and setting the tokenizer.chat_template attribute, please see the documentation at https://huggingface.co/docs/transformers/main/en/chat_templating

@HAOYON-666
Copy link
Author

vila-infer
--model-path /data/workspace/zhaoyong/model/weight_files/VILA1.5-3b
--conv-mode auto
--text "Please describe the image"
--media /data/workspace/zhaoyong/data/图片数据/安全帽/安全帽21_0.jpg

@HAOYON-666
Copy link
Author

how to deal it?

gheinrich pushed a commit to gheinrich/VILA that referenced this issue Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant