Spaces:
Running
Running
[email protected]
commited on
Commit
·
4d1c934
1
Parent(s):
bc2b80d
updates
Browse files- src/about.py +3 -2
- src/envs.py +0 -1
src/about.py
CHANGED
@@ -12,8 +12,9 @@ class Task:
|
|
12 |
# ---------------------------------------------------
|
13 |
class Tasks(Enum):
|
14 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
15 |
-
task0 = Task("
|
16 |
-
task1 = Task("
|
|
|
17 |
|
18 |
NUM_FEWSHOT = 0 # Change with your few shot
|
19 |
# ---------------------------------------------------
|
|
|
12 |
# ---------------------------------------------------
|
13 |
class Tasks(Enum):
|
14 |
# task_key in the json file, metric_key in the json file, name to display in the leaderboard
|
15 |
+
task0 = Task("failuresensor_mcqa", "acc_sel", "Acc_Sel")
|
16 |
+
task1 = Task("failuresensor_mcqa", "acc_el", "Acc_Elim")
|
17 |
+
# task1 = Task("logiqa", "acc_norm", "LogiQA")
|
18 |
|
19 |
NUM_FEWSHOT = 0 # Change with your few shot
|
20 |
# ---------------------------------------------------
|
src/envs.py
CHANGED
@@ -5,7 +5,6 @@ from huggingface_hub import HfApi
|
|
5 |
# Info to change for your repository
|
6 |
# ----------------------------------
|
7 |
TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
|
8 |
-
print(TOKEN)
|
9 |
OWNER = "cc4718" # Change to your org - don't forget to create a results and request dataset, with the correct format!
|
10 |
# ----------------------------------
|
11 |
|
|
|
5 |
# Info to change for your repository
|
6 |
# ----------------------------------
|
7 |
TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
|
|
|
8 |
OWNER = "cc4718" # Change to your org - don't forget to create a results and request dataset, with the correct format!
|
9 |
# ----------------------------------
|
10 |
|