Skip to content

Commit 909edd6

Browse files
committed
add upd
1 parent 7c1ac97 commit 909edd6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lmms_eval/tasks/mmupdbench/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,14 @@ def mmupdbench_results_eval(results, args, upd_type, question_type):
148148
file_json = generate_submission_file(f"mmupdbench_results_{upd_type}_{question_type}.json", args)
149149

150150
details_info = {
151+
"overall_acc_dual": overall_acc_dual,
152+
"category_acc_dual": category_acc_dual,
151153
"overall_acc_standard": overall_acc_standard,
152154
"category_acc_standard": category_acc_standard,
153155
"overall_acc_upd": overall_acc_upd,
154156
"category_acc_upd": category_acc_upd,
155-
"overall_acc_dual": overall_acc_dual,
156-
"category_acc_dual": category_acc_dual,
157157
}
158+
158159
with open(file_json, "w") as f:
159160
json.dump(details_info, f)
160161

0 commit comments

Comments
 (0)