Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Gregor Betz
commited on
Commit
•
490fdac
1
Parent(s):
aa2a8f6
old demo data
Browse files- src/display/about.py +11 -2
- src/envs.py +6 -2
src/display/about.py
CHANGED
@@ -8,11 +8,20 @@ class Task:
|
|
8 |
col_name: str
|
9 |
|
10 |
|
|
|
|
|
11 |
# Init: to update with your specific keys
|
12 |
class Tasks(Enum):
|
13 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
14 |
-
task0 = Task("
|
15 |
-
task1 = Task("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
#METRICS = list(set([task.value.metric for task in Tasks]))
|
18 |
|
|
|
8 |
col_name: str
|
9 |
|
10 |
|
11 |
+
|
12 |
+
|
13 |
# Init: to update with your specific keys
|
14 |
class Tasks(Enum):
|
15 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
16 |
+
task0 = Task("task_name1", "metric_name", "First task")
|
17 |
+
task1 = Task("task_name2", "metric_name", "Second task")
|
18 |
+
|
19 |
+
|
20 |
+
# Init: to update with your specific keys
|
21 |
+
#class Tasks(Enum):
|
22 |
+
# # task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
23 |
+
# task0 = Task("logiqa", "delta_abs", "LogiQA Δ")
|
24 |
+
# task1 = Task("logiqa2", "delta_abs", "LogiQA2 Δ")
|
25 |
|
26 |
#METRICS = list(set([task.value.metric for task in Tasks]))
|
27 |
|
src/envs.py
CHANGED
@@ -7,8 +7,12 @@ TOKEN = os.environ.get("TOKEN", None)
|
|
7 |
|
8 |
OWNER = "logikon"
|
9 |
REPO_ID = f"{OWNER}/open_cot_leaderboard"
|
10 |
-
QUEUE_REPO = f"{OWNER}/cot-leaderboard-requests"
|
11 |
-
RESULTS_REPO = f"{OWNER}/cot-leaderboard-results"
|
|
|
|
|
|
|
|
|
12 |
|
13 |
CACHE_PATH=os.getenv("HF_HOME", ".")
|
14 |
|
|
|
7 |
|
8 |
OWNER = "logikon"
|
9 |
REPO_ID = f"{OWNER}/open_cot_leaderboard"
|
10 |
+
#QUEUE_REPO = f"{OWNER}/cot-leaderboard-requests"
|
11 |
+
#RESULTS_REPO = f"{OWNER}/cot-leaderboard-results"
|
12 |
+
|
13 |
+
QUEUE_REPO = "demo-leaderboard/requests"
|
14 |
+
RESULTS_REPO = "demo-leaderboard/results"
|
15 |
+
|
16 |
|
17 |
CACHE_PATH=os.getenv("HF_HOME", ".")
|
18 |
|