feat(sorting): Leaderboard now gets sorted initially by average performance and not alphabetically.
Browse files
core.py
CHANGED
@@ -115,6 +115,8 @@ def update_df(
|
|
115 |
# aggregate results over languages per task
|
116 |
df = aggregate_langs(df, tasks, langs)
|
117 |
|
|
|
|
|
118 |
# filter models by search bar and model type
|
119 |
df = search_model(df, model_query)
|
120 |
df = filter_type(df, model_types)
|
|
|
115 |
# aggregate results over languages per task
|
116 |
df = aggregate_langs(df, tasks, langs)
|
117 |
|
118 |
+
df = df.sort_values(by='Average', ascending=False)
|
119 |
+
|
120 |
# filter models by search bar and model type
|
121 |
df = search_model(df, model_query)
|
122 |
df = filter_type(df, model_types)
|