Spaces:
Runtime error
Runtime error
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -165,7 +165,8 @@ class EvalResult:
|
|
165 |
self.model_type = ModelType.from_str(request.get("model_type", ""))
|
166 |
self.weight_type = WeightType[request.get("weight_type", "Original")]
|
167 |
self.license = request.get("license", "?")
|
168 |
-
self.likes = likes_for_model.get(full_model, request.get("likes", 0)) # blz
|
|
|
169 |
# self.likes = request.get("likes", 0) blz
|
170 |
self.num_params = request.get("params", 0)
|
171 |
self.date = request.get("submitted_time", "")
|
|
|
165 |
self.model_type = ModelType.from_str(request.get("model_type", ""))
|
166 |
self.weight_type = WeightType[request.get("weight_type", "Original")]
|
167 |
self.license = request.get("license", "?")
|
168 |
+
self.likes = likes_for_model.get(full_model, request.get("likes", 0)) # blz
|
169 |
+
print(full_model, self.likes)
|
170 |
# self.likes = request.get("likes", 0) blz
|
171 |
self.num_params = request.get("params", 0)
|
172 |
self.date = request.get("submitted_time", "")
|