Andrea Seveso commited on
Commit
6aa8d26
·
1 Parent(s): a9db4df

Rename categories

Browse files
Files changed (1) hide show
  1. src/about.py +14 -15
src/about.py CHANGED
@@ -13,22 +13,21 @@ class Task:
13
  # ---------------------------------------------------
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("art", "acc", "ART")
17
- task1 = Task("civic", "acc", "CIVIC")
18
- task2 = Task("eve", "acc", "CURRENT EVENTS")
19
- task3 = Task("geo", "acc", "GEOGRAPHY")
20
- task4 = Task("his", "acc", "HISTORY")
21
- task5 = Task("lit", "acc", "LITERATURE")
22
- task6 = Task("tou", "acc", "TOURISM")
23
- # ---------------------------------------------------
24
- task7 = Task("lex", "acc", "LEXICAL")
25
- task8 = Task("morp", "acc", "MORPHOLOGY")
26
- task9 = Task("orth", "acc", "ORTHOGRAPHY")
27
- task10 = Task("sci", "acc", "SYNONYMS")
28
- task11 = Task("syn", "acc", "SYNTACTIC")
29
  # ---------------------------------------------------
30
- task12 = Task("tot", "acc", "TOTAL")
31
-
 
 
 
 
 
 
 
 
 
 
 
32
 
33
 
34
  NUM_FEWSHOT = 0 # Change with your few shot
 
13
  # ---------------------------------------------------
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("tot", "acc", "Total")
 
 
 
 
 
 
 
 
 
 
 
 
17
  # ---------------------------------------------------
18
+ task1 = Task("art", "acc", "Art")
19
+ task2 = Task("civic", "acc", "Civic Education")
20
+ task3 = Task("eve", "acc", "Current Events")
21
+ task4 = Task("geo", "acc", "Geography")
22
+ task5 = Task("his", "acc", "History")
23
+ task6 = Task("lit", "acc", "Literature")
24
+ task7 = Task("tou", "acc", "Tourism")
25
+ # ---------------------------------------------------
26
+ task8 = Task("lex", "acc", "Lexicon")
27
+ task9 = Task("morp", "acc", "Morphology")
28
+ task10 = Task("orth", "acc", "Orthography")
29
+ task11 = Task("syno", "acc", "Synonyms and Antonyms")
30
+ task12 = Task("synt", "acc", "Syntax")
31
 
32
 
33
  NUM_FEWSHOT = 0 # Change with your few shot