zjunlp / EasyEdit

[知识编辑] [ACL 2024] An Easy-to-use Knowledge Editing Framework for LLMs.
https://zjunlp.github.io/project/KnowEdit
MIT License
1.63k stars 200 forks source link

使用mend预训练llama时出现的报错 #317

Closed exxaid closed 3 weeks ago

exxaid commented 3 weeks ago

huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/data/qiaoshuofei/PLMs/llama-2-converted/7b-chat'. Use repo_type argument if needed.请问该如何解决

XeeKee commented 3 weeks ago

https://github.com/zjunlp/EasyEdit/tree/main/hparams/TRAINING/MEND在这个地方里面的model_name和tokenizer_name换成你本地的路径

exxaid commented 3 weeks ago

https://github.com/zjunlp/EasyEdit/tree/main/hparams/TRAINING/MEND在这个地方里面的model_name和tokenizer_name换成你本地的路径

好的,谢谢