Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
remove trust remote code
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -56,6 +56,8 @@ class EvalResult:
|
|
56 |
org_and_model=org_and_model.replace("models/hf_v7_e2", "APT3-1B-Instruct-e2")
|
57 |
|
58 |
org_and_model = re.sub(r"^pretrained=", "", org_and_model)
|
|
|
|
|
59 |
org_and_model = org_and_model.split("/", 1)
|
60 |
|
61 |
if len(org_and_model) == 1:
|
|
|
56 |
org_and_model=org_and_model.replace("models/hf_v7_e2", "APT3-1B-Instruct-e2")
|
57 |
|
58 |
org_and_model = re.sub(r"^pretrained=", "", org_and_model)
|
59 |
+
org_and_model = org_and_model.replace(",trust_remote_code=True", "")
|
60 |
+
|
61 |
org_and_model = org_and_model.split("/", 1)
|
62 |
|
63 |
if len(org_and_model) == 1:
|