Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -70,7 +70,15 @@ class EvalResult:
|
|
70 |
# org_and_model = config.get("model_name", config.get("offline_inference").get("model_name", None))
|
71 |
org_and_model = config.get("model_name", config.get("offline_inference", {}).get("model_name", "Unknown"))
|
72 |
org_and_model = org_and_model.split("/", 1)
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
if len(org_and_model) == 1:
|
76 |
org = None
|
|
|
70 |
# org_and_model = config.get("model_name", config.get("offline_inference").get("model_name", None))
|
71 |
org_and_model = config.get("model_name", config.get("offline_inference", {}).get("model_name", "Unknown"))
|
72 |
org_and_model = org_and_model.split("/", 1)
|
73 |
+
|
74 |
+
# org_and_modelがリストの場合、"/"で結合
|
75 |
+
if isinstance(org_and_model, list):
|
76 |
+
full_model = "/".join(org_and_model)
|
77 |
+
else:
|
78 |
+
full_model = org_and_model
|
79 |
+
|
80 |
+
print(f"Final Model name (full): {full_model}")
|
81 |
+
|
82 |
|
83 |
if len(org_and_model) == 1:
|
84 |
org = None
|