meg-huggingface commited on
Commit
6bf0543
1 Parent(s): ad4daaa

all_tasks not all_tasks()

Browse files
src/backend/run_eval_suite_harness.py CHANGED
@@ -37,7 +37,7 @@ def run_evaluation(eval_request: EvalRequest, task_names: list, num_fewshot: int
37
  try:
38
  all_tasks = tasks.ALL_TASKS
39
  except AttributeError:
40
- all_tasks = tasks.all_tasks()
41
  task_names = utils.pattern_match(task_names, all_tasks)
42
 
43
  logger.info(f"Selected Tasks: {task_names}")
 
37
  try:
38
  all_tasks = tasks.ALL_TASKS
39
  except AttributeError:
40
+ all_tasks = tasks.all_tasks
41
  task_names = utils.pattern_match(task_names, all_tasks)
42
 
43
  logger.info(f"Selected Tasks: {task_names}")