Spaces:
Runtime error
Runtime error
Nikhil Raghavan commited on
Commit Β·
351b7d7
1
Parent(s): 304343a
fix
Browse files
src/leaderboard/read_evals.py
CHANGED
|
@@ -52,7 +52,7 @@ def get_raw_eval_results(results_path: str, requests_path: str = None) -> list[E
|
|
| 52 |
|
| 53 |
for root, _, files in os.walk(results_path):
|
| 54 |
for f in files:
|
| 55 |
-
if f.endswith(".json"):
|
| 56 |
model_result_filepaths.append(os.path.join(root, f))
|
| 57 |
|
| 58 |
eval_results = {}
|
|
|
|
| 52 |
|
| 53 |
for root, _, files in os.walk(results_path):
|
| 54 |
for f in files:
|
| 55 |
+
if f.endswith("_report.json"):
|
| 56 |
model_result_filepaths.append(os.path.join(root, f))
|
| 57 |
|
| 58 |
eval_results = {}
|