Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
FinancialSupport
commited on
Commit
•
7714ff0
1
Parent(s):
08782fb
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,11 @@ def get_data_classifica():
|
|
8 |
dataset = pd.read_csv("leaderboard_general.csv", sep=',')
|
9 |
if 'model ' in dataset.columns:
|
10 |
dataset.rename(columns={'model ': 'model'}, inplace=True)
|
11 |
-
df_classifica = dataset[['model', 'helloswag_it acc norm', 'arc_it acc norm', '
|
12 |
-
df_classifica['media'] = df_classifica[['helloswag_it acc norm', 'arc_it acc norm', '
|
13 |
df_classifica['media'] = df_classifica['media'].round(3)
|
14 |
df_classifica = df_classifica.sort_values(by='media', ascending=False)
|
15 |
-
df_classifica = df_classifica[['model', 'media', 'helloswag_it acc norm', 'arc_it acc norm', '
|
16 |
|
17 |
return df_classifica
|
18 |
|
|
|
8 |
dataset = pd.read_csv("leaderboard_general.csv", sep=',')
|
9 |
if 'model ' in dataset.columns:
|
10 |
dataset.rename(columns={'model ': 'model'}, inplace=True)
|
11 |
+
df_classifica = dataset[['model', 'helloswag_it acc norm', 'arc_it acc norm', 'm_mmlu_it acc shot 5']]
|
12 |
+
df_classifica['media'] = df_classifica[['helloswag_it acc norm', 'arc_it acc norm', 'm_mmlu_it acc shot 5']].mean(axis=1)
|
13 |
df_classifica['media'] = df_classifica['media'].round(3)
|
14 |
df_classifica = df_classifica.sort_values(by='media', ascending=False)
|
15 |
+
df_classifica = df_classifica[['model', 'media', 'helloswag_it acc norm', 'arc_it acc norm', 'm_mmlu_it acc shot 5']]
|
16 |
|
17 |
return df_classifica
|
18 |
|