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

run llama2 ROME error #307

Closed dignfei closed 1 month ago

dignfei commented 1 month ago

image image

code: cd examples ` python run_zsre_llama2.py --editing_method=MEMIT --hparams_dir=../hparams/MEMIT/llama-7b --data_dir=../data

`

dignfei commented 1 month ago

image

XeeKee commented 1 month ago

It looks like you haven't correctly loaded Wikipedia. Have you turned on your VPN? If 20200501 is unavailable, I think you can load it locally from https://github.com/zjunlp/EasyEdit/blob/d6ee11f583f8de2bfe8406339e1c59a392abc40d/easyeditor/models/rome/layer_stats.py#L98 or replace it with a version you can download from https://github.com/zjunlp/EasyEdit/blob/d6ee11f583f8de2bfe8406339e1c59a392abc40d/easyeditor/models/rome/layer_stats.py#L104

zxlzr commented 1 month ago

hi, have you solved your issue yet?

dignfei commented 1 month ago

solved