yentinglin commited on
Commit
77bffa3
1 Parent(s): 540cdc8
Files changed (1) hide show
  1. src/populate.py +3 -3
src/populate.py CHANGED
@@ -15,9 +15,9 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
15
 
16
  df = pd.DataFrame.from_records(all_data_json)
17
  # filter out local model (Model start with '/')
18
- # print(df)
19
- # print(df.head())
20
- # print(df.columns)
21
  df = df[~df['Model'].str.contains('mnt')]
22
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
23
  df = df[cols].round(decimals=2)
 
15
 
16
  df = pd.DataFrame.from_records(all_data_json)
17
  # filter out local model (Model start with '/')
18
+ print(df)
19
+ print(df.head())
20
+ print(df.columns)
21
  df = df[~df['Model'].str.contains('mnt')]
22
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
23
  df = df[cols].round(decimals=2)