Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
hanhainebula
commited on
Commit
·
439a031
1
Parent(s):
7d7a455
fix a bug in read_evals.py
Browse files- src/read_evals.py +2 -2
src/read_evals.py
CHANGED
@@ -223,6 +223,6 @@ def get_leaderboard_df(raw_data: List[FullEvalResult], task: str, metric: str) -
|
|
223 |
# shorten the revision
|
224 |
df[COL_NAME_REVISION] = df[COL_NAME_REVISION].str[:6]
|
225 |
|
226 |
-
# replace "0" with "-" for average score
|
227 |
-
df[COL_NAME_AVG] = df[COL_NAME_AVG].replace(0, "-")
|
228 |
return df
|
|
|
223 |
# shorten the revision
|
224 |
df[COL_NAME_REVISION] = df[COL_NAME_REVISION].str[:6]
|
225 |
|
226 |
+
# # replace "0" with "-" for average score
|
227 |
+
# df[COL_NAME_AVG] = df[COL_NAME_AVG].replace(0, "-")
|
228 |
return df
|