Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
danielz02
commited on
Further shorten perspective names
Browse files- src/display/about.py +1 -1
- src/leaderboard/read_evals.py +1 -1
src/display/about.py
CHANGED
@@ -14,7 +14,7 @@ class Tasks(Enum):
|
|
14 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
15 |
task0 = Task("toxicity", "aggregated-results", "Toxicity")
|
16 |
task1 = Task("stereotype", "aggregated-results", "Stereotype")
|
17 |
-
task2 = Task("adv", "aggregated-results", "
|
18 |
task3 = Task("ood", "aggregated-results", "OoD")
|
19 |
task4 = Task("adv_demo", "aggregated-results", "Adv Demo")
|
20 |
task5 = Task("privacy", "aggregated-results", "Privacy")
|
|
|
14 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
15 |
task0 = Task("toxicity", "aggregated-results", "Toxicity")
|
16 |
task1 = Task("stereotype", "aggregated-results", "Stereotype")
|
17 |
+
task2 = Task("adv", "aggregated-results", "AdvGLUE++")
|
18 |
task3 = Task("ood", "aggregated-results", "OoD")
|
19 |
task4 = Task("adv_demo", "aggregated-results", "Adv Demo")
|
20 |
task5 = Task("privacy", "aggregated-results", "Privacy")
|
src/leaderboard/read_evals.py
CHANGED
@@ -104,7 +104,7 @@ class EvalResult:
|
|
104 |
self.num_params = request.get("params", 0)
|
105 |
self.date = request.get("submitted_time", "")
|
106 |
except Exception:
|
107 |
-
print(f"Could not find request file ({
|
108 |
|
109 |
def to_dict(self):
|
110 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|
|
|
104 |
self.num_params = request.get("params", 0)
|
105 |
self.date = request.get("submitted_time", "")
|
106 |
except Exception:
|
107 |
+
print(f"Could not find request file ({requests_path}) for {self.org}/{self.model}")
|
108 |
|
109 |
def to_dict(self):
|
110 |
"""Converts the Eval Result to a dict compatible with our dataframe display"""
|