Skip to content

Commit 60177e2

Browse files
committed
x
Signed-off-by: SumanthRH <[email protected]>
1 parent fab4d13 commit 60177e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

skythought/evals/inference_and_check.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,9 @@ def score_results(
537537
]
538538
for index in id_to_results
539539
}
540-
accuracy = sum(map(sum, id_to_scores.values())) / len(id_to_scores) * N
540+
accuracy = round(
541+
sum(map(sum, id_to_scores.values())) / (len(id_to_scores) * N), 4
542+
)
541543

542544
sample_count = 0
543545
if id_to_results:

0 commit comments

Comments
 (0)