Commit
·
540cdc8
1
Parent(s):
fe09dcd
add
Browse files- src/populate.py +4 -4
src/populate.py
CHANGED
@@ -15,10 +15,10 @@ 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.
|
22 |
df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
|
23 |
df = df[cols].round(decimals=2)
|
24 |
|
|
|
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)
|
24 |
|