Spaces:
Sleeping
Sleeping
Clémentine
commited on
Commit
•
ee8ce53
1
Parent(s):
d54df1a
debug
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -170,6 +170,7 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
170 |
|
171 |
for file in files:
|
172 |
model_result_filepaths.append(os.path.join(root, file))
|
|
|
173 |
|
174 |
eval_results = {}
|
175 |
for model_result_filepath in model_result_filepaths:
|
@@ -183,6 +184,7 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
183 |
eval_results[eval_name].results.update({k: v for k, v in eval_result.results.items() if v is not None})
|
184 |
else:
|
185 |
eval_results[eval_name] = eval_result
|
|
|
186 |
|
187 |
results = []
|
188 |
for v in eval_results.values():
|
|
|
170 |
|
171 |
for file in files:
|
172 |
model_result_filepaths.append(os.path.join(root, file))
|
173 |
+
print(model_result_filepaths)
|
174 |
|
175 |
eval_results = {}
|
176 |
for model_result_filepath in model_result_filepaths:
|
|
|
184 |
eval_results[eval_name].results.update({k: v for k, v in eval_result.results.items() if v is not None})
|
185 |
else:
|
186 |
eval_results[eval_name] = eval_result
|
187 |
+
print(eval_results)
|
188 |
|
189 |
results = []
|
190 |
for v in eval_results.values():
|