-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
加载llama3 70B模型时, AutoTokenizer 报错 #3348
Comments
报错信息不全 |
模型文件不全 |
更新llamafactory代码 |
找到真正的问题所在了,是官方上传的模型文件不全,缺少tokenizer_config.json文件,需要把llama-8b-instruct中的tokenizer_config.json复制到llama-70b-instruct中,就可以解决tokenizer报错的问题 |
不需要这么做,更新transformers库到4.41.0就可以 |
LlamaTokenizer.from_pretrained(model_name_or_path,**tokenizer_kwargs) |
Reminder
Reproduction
请问如何解决
Expected behavior
No response
System Info
No response
Others
No response
The text was updated successfully, but these errors were encountered: