Spaces:
AIR-Bench
/
Running on CPU Upgrade

hanhainebula commited on
Commit
a807b29
1 Parent(s): 93fda91

fix bugs - 0819

Browse files

3) replace "0" with "-" for average column

Files changed (1) hide show
  1. src/read_evals.py +3 -0
src/read_evals.py CHANGED
@@ -222,4 +222,7 @@ def get_leaderboard_df(raw_data: List[FullEvalResult], task: str, metric: str) -
222
 
223
  # shorten the revision
224
  df[COL_NAME_REVISION] = df[COL_NAME_REVISION].str[:6]
 
 
 
225
  return df
 
222
 
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