Skip to content

Commit

Permalink
Fix hallu bench (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcz358 authored Nov 2, 2024
1 parent e88389d commit 7f5d1f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmms_eval/tasks/hallusion_bench/evaluate_hb.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def hb_doc_to_visual(doc):

def hb_process_results(doc, result):
sample = doc
# doc.pop("image")
doc.pop("image")
sample["model_prediction"] = result[0]
return {k: sample for k in metric}

Expand Down

0 comments on commit 7f5d1f4

Please sign in to comment.