giux78 commited on
Commit
48da382
1 Parent(s): 1358bcc

first release

Browse files
Files changed (2) hide show
  1. src/about.py +8 -2
  2. src/envs.py +4 -4
src/about.py CHANGED
@@ -12,8 +12,14 @@ 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("anli_r1", "acc", "ANLI")
16
- task1 = Task("logiqa", "acc_norm", "LogiQA")
 
 
 
 
 
 
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("pinocchio_it_generale", "acc", "generale")
16
+ task1 = Task("pinocchio_it_logica", "acc", "logica")
17
+ task2 = Task("pinocchio_it_lingua_straniera", "acc", "lingua straniera")
18
+ task3 = Task("pinocchio_it_matematica_e_scienze", "acc", "matematica e scienze")
19
+ task4 = Task("pinocchio_it_diritto", "acc", "diritto")
20
+ task5 = Task("pinocchio_it_cultura", "acc", "cultura")
21
+
22
+
23
 
24
  NUM_FEWSHOT = 0 # Change with your few shot
25
  # ---------------------------------------------------
src/envs.py CHANGED
@@ -6,12 +6,12 @@ from huggingface_hub import HfApi
6
  # ----------------------------------
7
  TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
8
 
9
- OWNER = "demo-leaderboard-backend" # 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}/leaderboard"
13
- QUEUE_REPO = f"{OWNER}/requests"
14
- RESULTS_REPO = f"{OWNER}/results"
15
 
16
  # If you setup a cache later, just change HF_HOME
17
  CACHE_PATH=os.getenv("HF_HOME", ".")
 
6
  # ----------------------------------
7
  TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
8
 
9
+ OWNER = "giux78" # 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}/pinocchio-ita-leaderboard"
13
+ QUEUE_REPO = f"{OWNER}/pinocchio-requests"
14
+ RESULTS_REPO = f"{OWNER}/pinocchio-results"
15
 
16
  # If you setup a cache later, just change HF_HOME
17
  CACHE_PATH=os.getenv("HF_HOME", ".")