pminervini commited on
Commit
ffffef3
1 Parent(s): a16057d
Files changed (1) hide show
  1. backend-cli.py +2 -9
backend-cli.py CHANGED
@@ -270,20 +270,13 @@ if __name__ == "__main__":
270
  hard_task_lst = None # ['nq', 'trivia', 'tqa']
271
 
272
  if wait:
273
- time.sleep(60 * random.randint(5, 10))
274
 
275
  res = False
276
 
277
- if res is False:
278
- if random.randint(0, 5) == 0:
279
- res = maybe_refresh_results(100, hard_task_lst=hard_task_lst)
280
- else:
281
- res = process_finished_requests(100, hard_task_lst=hard_task_lst)
282
-
283
- time.sleep(60)
284
-
285
  if res is False:
286
  if random.randint(0, 5) == 0:
287
  res = maybe_refresh_results(0, hard_task_lst=hard_task_lst)
288
  else:
289
  res = process_finished_requests(0, hard_task_lst=hard_task_lst)
 
 
270
  hard_task_lst = None # ['nq', 'trivia', 'tqa']
271
 
272
  if wait:
273
+ time.sleep(60 * random.randint(2, 5))
274
 
275
  res = False
276
 
 
 
 
 
 
 
 
 
277
  if res is False:
278
  if random.randint(0, 5) == 0:
279
  res = maybe_refresh_results(0, hard_task_lst=hard_task_lst)
280
  else:
281
  res = process_finished_requests(0, hard_task_lst=hard_task_lst)
282
+