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 #306

Closed dignfei closed 1 month ago

dignfei commented 1 month ago

image

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

xzwyyd commented 1 month ago

Thank you for reporting this issue to us. We are very sorry for the inconvenience caused by the bug in the updated code. After our emergency fix, the latest version just released has resolved this issue. We recommend that you update to the latest version and test if there are any issues.

dignfei commented 1 month ago

thinks, It is ok