Spaces:
Running
Running
Heatmap: Fixed typo from singular to plural in axis labels
Browse files
server.py
CHANGED
|
@@ -778,7 +778,7 @@ class LeaderboardServer:
|
|
| 778 |
|
| 779 |
task2model2score = {}
|
| 780 |
if category == self.TASKS_CATEGORY_OVERALL:
|
| 781 |
-
fig_y_axis_label = '
|
| 782 |
abbreviation2name = self.TASKS_CATEGORIES_ABBREVIATIONS
|
| 783 |
|
| 784 |
for abbr, name in abbreviation2name.items():
|
|
@@ -786,7 +786,7 @@ class LeaderboardServer:
|
|
| 786 |
score = float(ldb_records[model][name])
|
| 787 |
task2model2score.setdefault(name, dict())[model] = score
|
| 788 |
else:
|
| 789 |
-
fig_y_axis_label = "
|
| 790 |
abbreviation2name = self.CATEGORY_TO_TASK_ABBREVIATION_TO_DETAILS[category]
|
| 791 |
|
| 792 |
for abbr, name, url in abbreviation2name.values():
|
|
@@ -852,7 +852,7 @@ class LeaderboardServer:
|
|
| 852 |
p1 = create_heatmap(
|
| 853 |
normalized_scores_sub,
|
| 854 |
original_scores_sub * 100,
|
| 855 |
-
x_axis_label="
|
| 856 |
y_axis_label=fig_y_axis_label,
|
| 857 |
transpose=transpose,
|
| 858 |
)
|
|
@@ -867,7 +867,7 @@ class LeaderboardServer:
|
|
| 867 |
p2 = create_heatmap(
|
| 868 |
normalized_scores_sub,
|
| 869 |
original_scores_sub * 100,
|
| 870 |
-
x_axis_label="
|
| 871 |
y_axis_label=fig_y_axis_label,
|
| 872 |
y_axis_visible=False,
|
| 873 |
transpose=transpose,
|
|
|
|
| 778 |
|
| 779 |
task2model2score = {}
|
| 780 |
if category == self.TASKS_CATEGORY_OVERALL:
|
| 781 |
+
fig_y_axis_label = 'Categories'
|
| 782 |
abbreviation2name = self.TASKS_CATEGORIES_ABBREVIATIONS
|
| 783 |
|
| 784 |
for abbr, name in abbreviation2name.items():
|
|
|
|
| 786 |
score = float(ldb_records[model][name])
|
| 787 |
task2model2score.setdefault(name, dict())[model] = score
|
| 788 |
else:
|
| 789 |
+
fig_y_axis_label = "Tasks"
|
| 790 |
abbreviation2name = self.CATEGORY_TO_TASK_ABBREVIATION_TO_DETAILS[category]
|
| 791 |
|
| 792 |
for abbr, name, url in abbreviation2name.values():
|
|
|
|
| 852 |
p1 = create_heatmap(
|
| 853 |
normalized_scores_sub,
|
| 854 |
original_scores_sub * 100,
|
| 855 |
+
x_axis_label="Models ≥16B",
|
| 856 |
y_axis_label=fig_y_axis_label,
|
| 857 |
transpose=transpose,
|
| 858 |
)
|
|
|
|
| 867 |
p2 = create_heatmap(
|
| 868 |
normalized_scores_sub,
|
| 869 |
original_scores_sub * 100,
|
| 870 |
+
x_axis_label="Models <16B",
|
| 871 |
y_axis_label=fig_y_axis_label,
|
| 872 |
y_axis_visible=False,
|
| 873 |
transpose=transpose,
|