BenchmarkBot commited on
Commit
d8fa097
β€’
1 Parent(s): 1be6060

filter outliers from plot

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -66,6 +66,8 @@ def get_benchmark_plot(benchmark):
66
  scores_df = pd.read_csv(
67
  f"./llm-perf-dataset/reports/additional_data.csv")
68
  bench_df = bench_df.merge(scores_df, on="model", how="left")
 
 
69
 
70
  fig = px.scatter(
71
  bench_df, x="h4_score", y="generate.latency(s)",
@@ -91,6 +93,7 @@ def get_benchmark_plot(benchmark):
91
  y=-0.15,
92
  x=0.5
93
  ),
 
94
  )
95
 
96
  fig.update_traces(
 
66
  scores_df = pd.read_csv(
67
  f"./llm-perf-dataset/reports/additional_data.csv")
68
  bench_df = bench_df.merge(scores_df, on="model", how="left")
69
+
70
+ bench_df = bench_df[bench_df["generate.latency(s)"] < 100]
71
 
72
  fig = px.scatter(
73
  bench_df, x="h4_score", y="generate.latency(s)",
 
93
  y=-0.15,
94
  x=0.5
95
  ),
96
+ height=800,
97
  )
98
 
99
  fig.update_traces(