update name.
Browse files
src/leaderboard/read_evals.py
CHANGED
|
@@ -73,7 +73,7 @@ class EvalResult:
|
|
| 73 |
if local:
|
| 74 |
org_and_model = config.get("model_name").split("/")
|
| 75 |
# temporary "local"
|
| 76 |
-
org_and_model = ["
|
| 77 |
quant_type = QuantType.autoround
|
| 78 |
|
| 79 |
if len(org_and_model) == 1:
|
|
|
|
| 73 |
if local:
|
| 74 |
org_and_model = config.get("model_name").split("/")
|
| 75 |
# temporary "local"
|
| 76 |
+
org_and_model = ["local", org_and_model[-1]]
|
| 77 |
quant_type = QuantType.autoround
|
| 78 |
|
| 79 |
if len(org_and_model) == 1:
|
src/submission/check_validity.py
CHANGED
|
@@ -196,7 +196,7 @@ def already_submitted_models(requested_models_dir: str) -> set[str]:
|
|
| 196 |
organisation, _ = info["model"].split("/")
|
| 197 |
except:
|
| 198 |
print(info["model"])
|
| 199 |
-
organisation = "
|
| 200 |
users_to_submission_dates[organisation].append(info["submitted_time"])
|
| 201 |
|
| 202 |
return set(file_names), users_to_submission_dates
|
|
|
|
| 196 |
organisation, _ = info["model"].split("/")
|
| 197 |
except:
|
| 198 |
print(info["model"])
|
| 199 |
+
organisation = "local" # temporary "local"
|
| 200 |
users_to_submission_dates[organisation].append(info["submitted_time"])
|
| 201 |
|
| 202 |
return set(file_names), users_to_submission_dates
|