Spaces:
Running
Running
Commit
β’
fbbd324
1
Parent(s):
9243e5d
fix bug
Browse files
app.py
CHANGED
@@ -112,8 +112,8 @@ def get_benchmark_table(bench_df):
|
|
112 |
# rename
|
113 |
bench_df.rename(columns=ALL_COLUMNS_MAPPING, inplace=True)
|
114 |
# transform
|
115 |
-
bench_df["
|
116 |
-
bench_df["
|
117 |
process_weight_class
|
118 |
)
|
119 |
bench_df["Best Scored Model π"] = bench_df["Best Scored Model π"].apply(
|
@@ -152,8 +152,8 @@ def get_benchmark_plot(bench_df):
|
|
152 |
"yanchor": "top",
|
153 |
},
|
154 |
xaxis_title="Per 1000 Tokens Latency (s)",
|
155 |
-
yaxis_title="Open LLM Score",
|
156 |
-
legend_title="Model Type
|
157 |
width=1200,
|
158 |
height=600,
|
159 |
)
|
|
|
112 |
# rename
|
113 |
bench_df.rename(columns=ALL_COLUMNS_MAPPING, inplace=True)
|
114 |
# transform
|
115 |
+
bench_df["Type π€"] = bench_df["Type π€"].apply(process_model_type)
|
116 |
+
bench_df["Class ποΈ"] = bench_df["Class ποΈ"].apply(
|
117 |
process_weight_class
|
118 |
)
|
119 |
bench_df["Best Scored Model π"] = bench_df["Best Scored Model π"].apply(
|
|
|
152 |
"yanchor": "top",
|
153 |
},
|
154 |
xaxis_title="Per 1000 Tokens Latency (s)",
|
155 |
+
yaxis_title="Open LLM Score (%)",
|
156 |
+
legend_title="Model Type",
|
157 |
width=1200,
|
158 |
height=600,
|
159 |
)
|