eduardo-alvarez
commited on
Commit
•
97a5917
1
Parent(s):
9b48a57
sorting by average as default
Browse files
app.py
CHANGED
@@ -174,6 +174,7 @@ with demo:
|
|
174 |
|
175 |
initial_df = pd.read_csv("./status/leaderboard_status_041624.csv")
|
176 |
initial_df["Model"] = initial_df.apply(make_clickable, axis=1)
|
|
|
177 |
|
178 |
|
179 |
def update_df(hw_selected, platform_selected, affiliation_selected, size_selected, precision_selected, type_selected):
|
@@ -191,7 +192,7 @@ with demo:
|
|
191 |
["pretrained","fine-tuned","chat-models","merges/moerges"])
|
192 |
|
193 |
|
194 |
-
gradio_df_display = gr.Dataframe(value=initial_filtered_df, headers=["Model","Average","Hardware","Model Type","Precision",
|
195 |
"Size","Infrastructure","ARC","HellaSwag","MMLU",
|
196 |
"TruthfulQA","Winogrande","Affiliation"],
|
197 |
datatype=["html","str","str","str","str","str","str","str","str","str","str","str","str"])
|
|
|
174 |
|
175 |
initial_df = pd.read_csv("./status/leaderboard_status_041624.csv")
|
176 |
initial_df["Model"] = initial_df.apply(make_clickable, axis=1)
|
177 |
+
initial_df = initial_df.sort_values(by='Average', ascending=False)
|
178 |
|
179 |
|
180 |
def update_df(hw_selected, platform_selected, affiliation_selected, size_selected, precision_selected, type_selected):
|
|
|
192 |
["pretrained","fine-tuned","chat-models","merges/moerges"])
|
193 |
|
194 |
|
195 |
+
gradio_df_display = gr.Dataframe(value=initial_filtered_df, headers=["Model","Average 🏆","Hardware","Model Type","Precision",
|
196 |
"Size","Infrastructure","ARC","HellaSwag","MMLU",
|
197 |
"TruthfulQA","Winogrande","Affiliation"],
|
198 |
datatype=["html","str","str","str","str","str","str","str","str","str","str","str","str"])
|