tangxuemei commited on
Commit
6632771
·
verified ·
1 Parent(s): 70eecf3
Files changed (1) hide show
  1. src/populate.py +1 -1
src/populate.py CHANGED
@@ -13,7 +13,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
13
  all_data_json = [v.to_dict() for v in raw_data]
14
 
15
  df = pd.DataFrame.from_records(all_data_json)
16
- df = df.sort_values(by=[utils.AutoEvalColumn.humanlike_rate.name], ascending=True)
17
  df = df[cols].round(decimals=2)
18
 
19
  # filter out if any of the benchmarks have not been produced
 
13
  all_data_json = [v.to_dict() for v in raw_data]
14
 
15
  df = pd.DataFrame.from_records(all_data_json)
16
+ df = df.sort_values(by=[utils.AutoEvalColumn.hallucination_rate.name], ascending=True)
17
  df = df[cols].round(decimals=2)
18
 
19
  # filter out if any of the benchmarks have not been produced