pminervini commited on
Commit
45d14f4
1 Parent(s): dd8cf92
Files changed (1) hide show
  1. backend-cli.py +1 -0
backend-cli.py CHANGED
@@ -42,6 +42,7 @@ def sanity_checks():
42
 
43
  # pull the eval dataset from the hub and parse any eval requests
44
  # check completed evals and set them to finished
 
45
  check_completed_evals(api=API, checked_status=RUNNING_STATUS, completed_status=FINISHED_STATUS,
46
  failed_status=FAILED_STATUS, hf_repo=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH_BACKEND,
47
  hf_repo_results=RESULTS_REPO, local_dir_results=EVAL_RESULTS_PATH_BACKEND)
 
42
 
43
  # pull the eval dataset from the hub and parse any eval requests
44
  # check completed evals and set them to finished
45
+ snapshot_download(repo_id=QUEUE_REPO, revision="main", local_dir=EVAL_REQUESTS_PATH_BACKEND, repo_type="dataset", max_workers=60)
46
  check_completed_evals(api=API, checked_status=RUNNING_STATUS, completed_status=FINISHED_STATUS,
47
  failed_status=FAILED_STATUS, hf_repo=QUEUE_REPO, local_dir=EVAL_REQUESTS_PATH_BACKEND,
48
  hf_repo_results=RESULTS_REPO, local_dir_results=EVAL_RESULTS_PATH_BACKEND)