danielz02 commited on
Commit
2eb0923
1 Parent(s): c7653d7

Further shorten perspective names

Browse files
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", "Adv Robustness")
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 ({request_file}) for {self.org}/{self.model}")
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"""