Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -46,12 +46,14 @@ class EvalResult:
|
|
46 |
# Get model type from metainfo
|
47 |
model_type_str = metainfo.get("model_type", "")
|
48 |
model_type = ModelType.from_str(model_type_str)
|
|
|
49 |
|
50 |
# Get num_few_shots from metainfo
|
51 |
num_few_shots = metainfo.get("num_few_shots", 0)
|
52 |
|
53 |
# Precision
|
54 |
precision = Precision.from_str(config.get("model_dtype"))
|
|
|
55 |
|
56 |
# Get model and org
|
57 |
org_and_model = config.get("model_name", config.get("model").get("model", None))
|
|
|
46 |
# Get model type from metainfo
|
47 |
model_type_str = metainfo.get("model_type", "")
|
48 |
model_type = ModelType.from_str(model_type_str)
|
49 |
+
print("model_type", model_type)
|
50 |
|
51 |
# Get num_few_shots from metainfo
|
52 |
num_few_shots = metainfo.get("num_few_shots", 0)
|
53 |
|
54 |
# Precision
|
55 |
precision = Precision.from_str(config.get("model_dtype"))
|
56 |
+
print("precision", precision)
|
57 |
|
58 |
# Get model and org
|
59 |
org_and_model = config.get("model_name", config.get("model").get("model", None))
|