Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
3cf1d73
1
Parent(s):
0321f62
fix
Browse files
app.py
CHANGED
@@ -106,7 +106,9 @@ def get_benchmark_table(bench_df):
|
|
106 |
copy_df = bench_df.copy()
|
107 |
# add * to quantized models score since we can't garantee the score is the same
|
108 |
copy_df["best_score"] = copy_df.apply(
|
109 |
-
lambda x: f"{x['best_score']}**"
|
|
|
|
|
110 |
axis=1,
|
111 |
)
|
112 |
# sort
|
|
|
106 |
copy_df = bench_df.copy()
|
107 |
# add * to quantized models score since we can't garantee the score is the same
|
108 |
copy_df["best_score"] = copy_df.apply(
|
109 |
+
lambda x: f"{x['best_score']}**"
|
110 |
+
if x["backend.quantization_strategy"]
|
111 |
+
else x["best_score"],
|
112 |
axis=1,
|
113 |
)
|
114 |
# sort
|