BenchmarkBot commited on
Commit
3cf1d73
β€’
1 Parent(s): 0321f62
Files changed (1) hide show
  1. app.py +3 -1
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']}**" if x["quantized"] else 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