ycy commited on
Commit
07af1fc
·
1 Parent(s): e269bd9
Files changed (2) hide show
  1. src/about.py +2 -2
  2. src/envs.py +1 -1
src/about.py CHANGED
@@ -13,8 +13,8 @@ class Task:
13
  #TODO 指标
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("anli_r1", "acc", "ANLI")
17
- task1 = Task("logiqa", "acc_norm", "LogiQA")
18
 
19
  NUM_FEWSHOT = 0 # Change with your few shot
20
  # ---------------------------------------------------
 
13
  #TODO 指标
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("accuracy", "acc", "ACC")
17
+ task1 = Task("f1_score", "acc_norm", "F1")
18
 
19
  NUM_FEWSHOT = 0 # Change with your few shot
20
  # ---------------------------------------------------
src/envs.py CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import HfApi
6
  # ----------------------------------
7
  TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
8
 
9
- OWNER = "yan111222" # Change to your org - don't forget to create a results and request dataset, with the correct format!
10
  # ----------------------------------
11
 
12
  REPO_ID = f"{OWNER}/CapArena_Auto_1"
 
6
  # ----------------------------------
7
  TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
8
 
9
+ OWNER = "yan111222" # Change to your org - don't forget to create a results and request dataset, with the correct format! “demo-leaderboard-backend”
10
  # ----------------------------------
11
 
12
  REPO_ID = f"{OWNER}/CapArena_Auto_1"