Skip to content

Commit

Permalink
fix sheet and json error
Browse files Browse the repository at this point in the history
  • Loading branch information
rayguan97 committed Nov 13, 2023
1 parent 652699f commit 89db601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HallusionBench.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def get_eval_all(data, model_correctness_entry): # per question

for r in data:
name = "_".join([r["category"], r["subcategory"], str(r["set_id"]), str(r["figure_id"]), str(r["question_id"])])
print(name)
assert name not in eval_all_dict

eval_all_dict[name] = r["correct"]
Expand Down

0 comments on commit 89db601

Please sign in to comment.