Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
switch task
Browse files- src/display/about.py +10 -7
src/display/about.py
CHANGED
@@ -10,13 +10,16 @@ class Task:
|
|
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 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
20 |
|
21 |
|
22 |
# Your leaderboard name
|
|
|
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("task_name1", "metric_name", "First task")
|
15 |
+
task1 = Task("task_name2", "metric_name", "Second task")
|
16 |
+
|
17 |
+
# task0 = Task("finance_bench", "accuracy", "FinanceBench")
|
18 |
+
# task1 = Task("legal_confidentiality", "accuracy", "Legal Confidentiality")
|
19 |
+
# task2 = Task("writing-prompts", "coherence", "Writing Prompts")
|
20 |
+
# task3 = Task("customer-support", "engagement", "Customer Support Dialogue")
|
21 |
+
# task4 = Task("toxic-prompts", "toxicity", "Toxic Prompts")
|
22 |
+
# task5 = Task("enterprise-pii", "accuracy", "Enterprise PII")
|
23 |
|
24 |
|
25 |
# Your leaderboard name
|