Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
danielz02
commited on
Log the paths of the request files it tries to open
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -96,7 +96,7 @@ class EvalResult:
|
|
96 |
try:
|
97 |
with open(request_file, "r") as f:
|
98 |
request = json.load(f)
|
99 |
-
print("Read Request"
|
100 |
self.model_type = ModelType.from_str(request.get("model_type", ""))
|
101 |
self.weight_type = WeightType[request.get("weight_type", "Original")]
|
102 |
self.license = request.get("license", "?")
|
|
|
96 |
try:
|
97 |
with open(request_file, "r") as f:
|
98 |
request = json.load(f)
|
99 |
+
print(f"Read Request from {request_file}" + "\n" + request)
|
100 |
self.model_type = ModelType.from_str(request.get("model_type", ""))
|
101 |
self.weight_type = WeightType[request.get("weight_type", "Original")]
|
102 |
self.license = request.get("license", "?")
|