Spaces:
Runtime error
Runtime error
Update src/about.py
Browse files- src/about.py +12 -3
src/about.py
CHANGED
@@ -12,8 +12,16 @@ 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 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
NUM_FEWSHOT = 0 # Change with your few shot
|
19 |
# ---------------------------------------------------
|
@@ -21,7 +29,8 @@ NUM_FEWSHOT = 0 # Change with your few shot
|
|
21 |
|
22 |
|
23 |
# Your leaderboard name
|
24 |
-
TITLE = """<
|
|
|
25 |
|
26 |
# What does your leaderboard evaluate?
|
27 |
INTRODUCTION_TEXT = """
|
|
|
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 |
+
task1 = Task("QoK (Accuracy)", "acc", "Quiz of Kings")
|
16 |
+
task2 = Task("khayyam_challenge (Accuracy)", "acc", "Khayyam Challenge")
|
17 |
+
task3 = Task("matina_MC (Accuracy)", "acc", "Matina MCQA")
|
18 |
+
task4 = Task("matina_shortanswer (Basic_exact_match)", "acc", "Matina Short Answer (Exact Match)")
|
19 |
+
task5 = Task("matina_shortanswer (Rouge)", "acc", "Matina Short Answer (Rouge)")
|
20 |
+
task6 = Task("parsinlu_mc (Accuracy)", "acc", "ParsiNLU MCQA")
|
21 |
+
task7 = Task("parsinlu_nli (Accuracy)", "acc", "ParsiNLU NLI")
|
22 |
+
task8 = Task("parsinlu_qqp (Accuracy)", "acc", "ParsiNLU QQP")
|
23 |
+
task9 = Task("persian_ARC (Accuracy)", "acc", "Persian ARC")
|
24 |
+
task10 = Task("persian_winogrande (Accuracy)", "acc", "Persian Winogrande")
|
25 |
|
26 |
NUM_FEWSHOT = 0 # Change with your few shot
|
27 |
# ---------------------------------------------------
|
|
|
29 |
|
30 |
|
31 |
# Your leaderboard name
|
32 |
+
TITLE = """<img src="https://huggingface.co/spaces/MatinaLLM/leaderboard/resolve/main/leaderboard_banner.png" style="width:70%;display:block;margin-left:auto;margin-right:auto">"""
|
33 |
+
|
34 |
|
35 |
# What does your leaderboard evaluate?
|
36 |
INTRODUCTION_TEXT = """
|