Skip to content

Commit 1d0ddc8

Browse files
committed
Fix percentage calculation in make_table function
1 parent bf4c78b commit 1d0ddc8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lmms_eval/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,8 @@ def make_table(result_dict, column: str = "results"):
411411

412412
points = "N/A"
413413
if v is not None:
414+
if 0 <= v <= 1:
415+
v *= 100
414416
points = "%.4f" % v
415417

416418
if m + "_stderr" + "," + f in dic:

0 commit comments

Comments
 (0)