pminervini commited on
Commit
e992815
1 Parent(s): e598f52
src/backend/run_eval_suite.py CHANGED
@@ -3,6 +3,9 @@ from lm_eval.tasks import initialize_tasks, include_task_folder
3
 
4
  from src.backend.manage_requests import EvalRequest
5
 
 
 
 
6
  import logging
7
 
8
  logging.getLogger("openai").setLevel(logging.WARNING)
 
3
 
4
  from src.backend.manage_requests import EvalRequest
5
 
6
+ from src.backend.tasks.xsum.task import XSum
7
+ from src.backend.tasks.cnndm.task import CNNM
8
+
9
  import logging
10
 
11
  logging.getLogger("openai").setLevel(logging.WARNING)
src/backend/tasks/cnndm/task.py CHANGED
@@ -60,7 +60,7 @@ def rouge(refs, preds):
60
 
61
 
62
  @register_task("cnndm")
63
- class CnnDm(Task):
64
  VERSION = 0
65
  DATASET_PATH = "cnn_dailymail"
66
  DATASET_NAME = "3.0.0"
 
60
 
61
 
62
  @register_task("cnndm")
63
+ class CNNDM(Task):
64
  VERSION = 0
65
  DATASET_PATH = "cnn_dailymail"
66
  DATASET_NAME = "3.0.0"
src/backend/tasks/xsum/task.py CHANGED
@@ -131,6 +131,8 @@ class XSum(Task):
131
  def process_results(self, doc, results):
132
  completion = results[0]
133
 
 
 
134
  document = doc["document"]
135
  gold_summary = doc["summary"]
136
 
 
131
  def process_results(self, doc, results):
132
  completion = results[0]
133
 
134
+ # breakpoint()
135
+
136
  document = doc["document"]
137
  gold_summary = doc["summary"]
138