Commit
·
a4c41f8
1
Parent(s):
310feb7
add
Browse files- src/populate.py +2 -0
src/populate.py
CHANGED
@@ -15,6 +15,8 @@ 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 |
df = df[~df['Model'].str.startswith('/')]
|
19 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
20 |
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 |
df = df[~df['Model'].str.startswith('/')]
|
21 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
22 |
df = df[cols].round(decimals=2)
|