Spaces:
Running
Running
BenchmarkBot
commited on
Commit
β’
5a7b8dd
1
Parent(s):
b9206c8
fix markdown
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ ALL_COLUMNS_MAPPING = {
|
|
45 |
ALL_COLUMNS_DATATYPES = [
|
46 |
"str",
|
47 |
"str",
|
48 |
-
"
|
49 |
#
|
50 |
"str",
|
51 |
"str",
|
@@ -74,6 +74,9 @@ def get_benchmark_df(benchmark="Succeeded-1xA100-80GB"):
|
|
74 |
merged_df = benchmark_df.merge(
|
75 |
clusters_df, left_on="model", right_on="best_scored_model"
|
76 |
)
|
|
|
|
|
|
|
77 |
# add optimizations
|
78 |
merged_df["optimizations"] = merged_df["backend.bettertransformer"].apply(
|
79 |
lambda x: "BetterTransformer" if x else "None"
|
|
|
45 |
ALL_COLUMNS_DATATYPES = [
|
46 |
"str",
|
47 |
"str",
|
48 |
+
"markdown",
|
49 |
#
|
50 |
"str",
|
51 |
"str",
|
|
|
74 |
merged_df = benchmark_df.merge(
|
75 |
clusters_df, left_on="model", right_on="best_scored_model"
|
76 |
)
|
77 |
+
# fix energy consumption nans
|
78 |
+
merged_df["generate.energy_consumption(kWh/token)"].fillna("N/A", inplace=True)
|
79 |
+
|
80 |
# add optimizations
|
81 |
merged_df["optimizations"] = merged_df["backend.bettertransformer"].apply(
|
82 |
lambda x: "BetterTransformer" if x else "None"
|