Skip to content

Commit e3c9cd6

Browse files
committed
Fix seedbench aggregation
1 parent ad8ba82 commit e3c9cd6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
Binary file not shown.

lmms_eval/tasks/seedbench/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def seed_aggregation_result(results):
2828
total_count = 0
2929
total_correct = 0
3030
for result in results:
31-
if result["pred"].lower().strip() == result["answer"].lower.strip():
31+
if result["pred"].lower().strip() == result["answer"].lower().strip():
3232
total_correct += 1
3333
total_count += 1
3434
return total_correct / total_count

0 commit comments

Comments
 (0)