not-lain commited on
Commit
a8bf9ff
·
1 Parent(s): 5a67fd8

reorder fields

Browse files
Files changed (1) hide show
  1. src/about.py +7 -6
src/about.py CHANGED
@@ -12,14 +12,15 @@ 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("rouge1", "score", "ROUGE-unigrams")
16
- task1 = Task("rouge2", "score", "ROUGE-bigrams")
17
- task2 = Task("rougeL", "score", "ROUGE-Longest Common Subsequence")
18
- task3 = Task("rougeLsum", "score", "ROUGE-Lsum")
19
- task4 = Task("bleu", "score", "Bleu")
20
- # task5 = Task("precisions", "score", "Precision")
21
  task6 = Task("brevity_penalty", "score", "Brevity Penalty")
22
  task7 = Task("hf", "score", "LLM JUDGE")
 
23
 
24
  NUM_FEWSHOT = 0 # Change with your few shot
25
  # ---------------------------------------------------
 
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("hf", "score", "LLM JUDGE")
16
+ task1 = Task("rouge1", "score", "ROUGE-unigrams")
17
+ task2 = Task("rouge2", "score", "ROUGE-bigrams")
18
+ task3 = Task("rougeL", "score", "ROUGE-Longest Common Subsequence")
19
+ task4 = Task("rougeLsum", "score", "ROUGE-Lsum")
20
+ task5 = Task("bleu", "score", "Bleu")
21
  task6 = Task("brevity_penalty", "score", "Brevity Penalty")
22
  task7 = Task("hf", "score", "LLM JUDGE")
23
+ # task = Task("precisions", "score", "Precision")
24
 
25
  NUM_FEWSHOT = 0 # Change with your few shot
26
  # ---------------------------------------------------