Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -171,7 +171,6 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
171 |
|
172 |
for file in files:
|
173 |
model_result_filepaths.append(os.path.join(root, file))
|
174 |
-
print(model_result_filepaths)
|
175 |
eval_results = {}
|
176 |
for model_result_filepath in model_result_filepaths:
|
177 |
# Creation of result
|
@@ -184,7 +183,6 @@ def get_raw_eval_results(results_path: str, requests_path: str) -> list[EvalResu
|
|
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 |
results = []
|
189 |
for v in eval_results.values():
|
190 |
try:
|
|
|
171 |
|
172 |
for file in files:
|
173 |
model_result_filepaths.append(os.path.join(root, file))
|
|
|
174 |
eval_results = {}
|
175 |
for model_result_filepath in model_result_filepaths:
|
176 |
# Creation of result
|
|
|
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 |
results = []
|
187 |
for v in eval_results.values():
|
188 |
try:
|