pminervini commited on
Commit
18bd323
1 Parent(s): bb44a0c
Files changed (1) hide show
  1. backend-cli.py +3 -3
backend-cli.py CHANGED
@@ -146,7 +146,7 @@ def process_finished_requests(thr: int) -> bool:
146
  # Check the corresponding result
147
  eval_result: Optional[EvalResult] = result_name_to_result[result_name] if result_name in result_name_to_result else None
148
 
149
- breakpoint()
150
 
151
  task_lst = TASKS_HARNESS.copy()
152
  random.shuffle(task_lst)
@@ -195,7 +195,7 @@ def maybe_refresh_results(thr: int) -> bool:
195
  # Check the corresponding result
196
  eval_result: Optional[EvalResult] = result_name_to_result[result_name] if result_name in result_name_to_result else None
197
 
198
- breakpoint()
199
 
200
  task_lst = TASKS_HARNESS.copy()
201
  random.shuffle(task_lst)
@@ -206,7 +206,7 @@ def maybe_refresh_results(thr: int) -> bool:
206
 
207
  if (eval_result is None or
208
  task_name not in eval_result.results or
209
- any(ss in task_name for ss in ['nq', 'trivia', 'tqa', 'self', 'xsum', 'cnn'])):
210
  eval_request: EvalRequest = result_name_to_request[result_name]
211
 
212
  my_snapshot_download(repo_id=QUEUE_REPO, revision="main", local_dir=EVAL_REQUESTS_PATH_BACKEND, repo_type="dataset", max_workers=60)
 
146
  # Check the corresponding result
147
  eval_result: Optional[EvalResult] = result_name_to_result[result_name] if result_name in result_name_to_result else None
148
 
149
+ # breakpoint()
150
 
151
  task_lst = TASKS_HARNESS.copy()
152
  random.shuffle(task_lst)
 
195
  # Check the corresponding result
196
  eval_result: Optional[EvalResult] = result_name_to_result[result_name] if result_name in result_name_to_result else None
197
 
198
+ # breakpoint()
199
 
200
  task_lst = TASKS_HARNESS.copy()
201
  random.shuffle(task_lst)
 
206
 
207
  if (eval_result is None or
208
  task_name not in eval_result.results or
209
+ any(ss in task_name for ss in ['nq', 'trivia', 'tqa', 'self', 'xsum', 'cnn', 'memo'])):
210
  eval_request: EvalRequest = result_name_to_request[result_name]
211
 
212
  my_snapshot_download(repo_id=QUEUE_REPO, revision="main", local_dir=EVAL_REQUESTS_PATH_BACKEND, repo_type="dataset", max_workers=60)