Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -121,6 +121,7 @@ class EvalResult:
|
|
121 |
def update_with_request_file(self, requests_path):
|
122 |
"""Finds the relevant request file for the current model and updates info with it"""
|
123 |
request_file = get_request_file_for_model(requests_path, self.full_model, self.precision)
|
|
|
124 |
|
125 |
try:
|
126 |
with open(request_file, "r") as f:
|
@@ -185,7 +186,6 @@ def get_request_file_for_model(requests_path, model_name, precision):
|
|
185 |
and req_content["precision"] == precision.split(".")[-1]
|
186 |
):
|
187 |
request_file = tmp_request_file
|
188 |
-
print(f"Request file used: {request_file}")
|
189 |
return request_file
|
190 |
|
191 |
|
|
|
121 |
def update_with_request_file(self, requests_path):
|
122 |
"""Finds the relevant request file for the current model and updates info with it"""
|
123 |
request_file = get_request_file_for_model(requests_path, self.full_model, self.precision)
|
124 |
+
print(f"Request file used: {request_file}")
|
125 |
|
126 |
try:
|
127 |
with open(request_file, "r") as f:
|
|
|
186 |
and req_content["precision"] == precision.split(".")[-1]
|
187 |
):
|
188 |
request_file = tmp_request_file
|
|
|
189 |
return request_file
|
190 |
|
191 |
|