Skip to content

Commit f7430c4

Browse files
Update edit.py
1 parent 4ea0107 commit f7430c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

edit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2939,8 +2939,8 @@ def test_WISE():
29392939
return metrics, edited_model
29402940

29412941
def test_deepedit_api():
2942-
datasets = json.load(open('.data/MQuAKE-CF-3k.json','r'))
2943-
hparams = DeepEditApiHyperParams.from_hparams('.hparams/DeepEdit_Api/chatglm_api.yaml')
2942+
datasets = json.load(open('EasyEdit/data/MQuAKE-CF-3k.json','r'))
2943+
hparams = DeepEditApiHyperParams.from_hparams('EasyEdit/hparams/DeepEdit_Api/chatglm_api.yaml')
29442944
editor = BaseEditor.from_hparams(hparams)
29452945
metrics = editor.deep_edit(
29462946
datasets = datasets

0 commit comments

Comments
 (0)