Closed yaohui120 closed 1 month ago
Besides, I also found that function compute_multimodal_edit_quality_demo in /EasyEdit/easyeditor/evaluate/multimodal_evaluate.py doesn't consider the variable exact_match.
Besides, I also found that function compute_multimodal_edit_quality_demo in /EasyEdit/easyeditor/evaluate/multimodal_evaluate.py doesn't consider the variable exact_match.
Thanks for pointing this out.
Please use compute_multimodal_edit_quality
. compute_multimodal_edit_quality_demo
is only for debugging. I will optimize it soon.
Additionlly, in test_KN function in edit.py, is ground_truth the expected true answer? Besides, I thought target_new is the wrong prediction of the original model.
ground_truth
is the prediction of the original model, while target_new
is the true answer.
Thank you for your answer!
I found that there is no KEHyperParams class, but there is config file of KE method. Would you provide that? Additionlly, in test_KN function in edit.py, is ground_truth the expected true answer? Besides, I thought target_new is the wrong prediction of the original model.