Spaces:
Runtime error
Runtime error
pminervini
commited on
Commit
•
632dd72
1
Parent(s):
9c03520
update
Browse files- src/display/utils.py +1 -0
- submit-cli.py +1 -1
src/display/utils.py
CHANGED
@@ -25,6 +25,7 @@ class Tasks(Enum):
|
|
25 |
# drop = Task("drop", "f1", "DROP")
|
26 |
nqopen = Task("nq_open", "em", "NQ Open")
|
27 |
triviaqa = Task("triviaqa", "em", "TriviaQA")
|
|
|
28 |
#truthfulqa_mc1 = Task("truthfulqa_mc1", "acc", "TruthfulQA MC1")
|
29 |
#truthfulqa_mc2 = Task("truthfulqa_mc2", "acc", "TruthfulQA MC2")
|
30 |
|
|
|
25 |
# drop = Task("drop", "f1", "DROP")
|
26 |
nqopen = Task("nq_open", "em", "NQ Open")
|
27 |
triviaqa = Task("triviaqa", "em", "TriviaQA")
|
28 |
+
truthfulqa = Task("truthfulqa_mc1", "acc", "TruthfulQA MC1")
|
29 |
#truthfulqa_mc1 = Task("truthfulqa_mc1", "acc", "TruthfulQA MC1")
|
30 |
#truthfulqa_mc2 = Task("truthfulqa_mc2", "acc", "TruthfulQA MC2")
|
31 |
|
submit-cli.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
from datetime import datetime, timezone
|
7 |
|
8 |
from src.envs import API, EVAL_REQUESTS_PATH, H4_TOKEN, QUEUE_REPO
|
9 |
-
from src.submission.check_validity import already_submitted_models,
|
10 |
|
11 |
|
12 |
def add_new_eval(model: str, base_model: str, revision: str, precision: str, private: bool, weight_type: str, model_type: str):
|
|
|
6 |
from datetime import datetime, timezone
|
7 |
|
8 |
from src.envs import API, EVAL_REQUESTS_PATH, H4_TOKEN, QUEUE_REPO
|
9 |
+
from src.submission.check_validity import already_submitted_models, get_model_size, is_model_on_hub
|
10 |
|
11 |
|
12 |
def add_new_eval(model: str, base_model: str, revision: str, precision: str, private: bool, weight_type: str, model_type: str):
|