danielz02
commited on
Fix concatenation errors in logging
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -98,7 +98,8 @@ class EvalResult:
|
|
98 |
try:
|
99 |
with open(request_file, "r") as f:
|
100 |
request = json.load(f)
|
101 |
-
print(f"Read Request from {request_file}"
|
|
|
102 |
self.model_type = ModelType.from_str(request.get("model_type", ""))
|
103 |
self.weight_type = WeightType[request.get("weight_type", "Original")]
|
104 |
self.license = request.get("license", "?")
|
|
|
98 |
try:
|
99 |
with open(request_file, "r") as f:
|
100 |
request = json.load(f)
|
101 |
+
print(f"Read Request from {request_file}")
|
102 |
+
print(request)
|
103 |
self.model_type = ModelType.from_str(request.get("model_type", ""))
|
104 |
self.weight_type = WeightType[request.get("weight_type", "Original")]
|
105 |
self.license = request.get("license", "?")
|