BenchmarkBot commited on
Commit
6203f23
1 Parent(s): d574374
Files changed (2) hide show
  1. app.py +3 -2
  2. src/assets/text_content.py +1 -1
app.py CHANGED
@@ -97,6 +97,9 @@ def get_benchmark_df(benchmark="Succeeded-1xA100-80GB"):
97
  # score_distance**2 + latency_distance**2 + memory_distance**2
98
  # ) ** 0.5
99
 
 
 
 
100
  return merged_df
101
 
102
 
@@ -110,8 +113,6 @@ def get_benchmark_table(bench_df):
110
  else x["best_score"],
111
  axis=1,
112
  )
113
- # sort
114
- copy_df.sort_values(by=SORTING_COLUMN, ascending=SORTING_ASCENDING, inplace=True)
115
  # filter
116
  copy_df = copy_df[list(ALL_COLUMNS_MAPPING.keys())]
117
  # rename
 
97
  # score_distance**2 + latency_distance**2 + memory_distance**2
98
  # ) ** 0.5
99
 
100
+ # sort
101
+ merged_df.sort_values(by=SORTING_COLUMN, ascending=SORTING_ASCENDING, inplace=True)
102
+
103
  return merged_df
104
 
105
 
 
113
  else x["best_score"],
114
  axis=1,
115
  )
 
 
116
  # filter
117
  copy_df = copy_df[list(ALL_COLUMNS_MAPPING.keys())]
118
  # rename
src/assets/text_content.py CHANGED
@@ -62,7 +62,7 @@ benchmark:
62
 
63
 
64
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results."
65
- CITATION_BUTTON_TEXT = r"""@misc{open-llm-perf-leaderboard,
66
  author = {Ilyas Moutawwakil, Régis Pierrard},
67
  title = {LLM-Perf Leaderboard},
68
  year = {2023},
 
62
 
63
 
64
  CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results."
65
+ CITATION_BUTTON_TEXT = r"""@misc{llm-perf-leaderboard,
66
  author = {Ilyas Moutawwakil, Régis Pierrard},
67
  title = {LLM-Perf Leaderboard},
68
  year = {2023},