Spaces:
AIR-Bench
/
Running on CPU Upgrade

hanhainebula commited on
Commit
05cd94e
1 Parent(s): 158e42c

Loading all results files

Browse files
Files changed (1) hide show
  1. src/read_evals.py +1 -1
src/read_evals.py CHANGED
@@ -153,7 +153,7 @@ def get_raw_eval_results(results_path: str) -> List[FullEvalResult]:
153
 
154
  # select the latest results
155
  for file in files:
156
- if file != "results.json":
157
  print(f'skip {file}')
158
  continue
159
  model_result_filepaths.append(os.path.join(root, file))
 
153
 
154
  # select the latest results
155
  for file in files:
156
+ if not (file.startswith("results_") and file.endswith(".json")):
157
  print(f'skip {file}')
158
  continue
159
  model_result_filepaths.append(os.path.join(root, file))