Spaces:
Runtime error
Runtime error
disable psc_g; rag avg
Browse files
app.py
CHANGED
@@ -73,10 +73,11 @@ def style_df(df: pd.DataFrame) -> Styler:
|
|
73 |
# new_df = new_df.to_frame()
|
74 |
|
75 |
leaderboard_df_styled = df.style.background_gradient(cmap="viridis")
|
|
|
76 |
rounding = {'#Params (B)': "{:.1f}"}
|
77 |
for task in Tasks:
|
78 |
rounding[task.value.col_name] = "{:.2f}"
|
79 |
-
for column_name in ["Average ⬆️", "Avg g", "Avg mc", "Average old"]:
|
80 |
rounding[column_name] = "{:.2f}"
|
81 |
leaderboard_df_styled = leaderboard_df_styled.format(rounding)
|
82 |
return leaderboard_df_styled
|
|
|
73 |
# new_df = new_df.to_frame()
|
74 |
|
75 |
leaderboard_df_styled = df.style.background_gradient(cmap="viridis")
|
76 |
+
leaderboard_df_styled = leaderboard_df_styled.background_gradient(cmap="RdYlGn", subset=['polish_poleval2018_task3_test_10k'])
|
77 |
rounding = {'#Params (B)': "{:.1f}"}
|
78 |
for task in Tasks:
|
79 |
rounding[task.value.col_name] = "{:.2f}"
|
80 |
+
for column_name in ["Average ⬆️", "Avg g", "Avg mc", "Average old", "Avg RAG"]:
|
81 |
rounding[column_name] = "{:.2f}"
|
82 |
leaderboard_df_styled = leaderboard_df_styled.format(rounding)
|
83 |
return leaderboard_df_styled
|