Spaces:
Runtime error
Runtime error
Update src/about.py
Browse files- src/about.py +6 -3
src/about.py
CHANGED
|
@@ -12,9 +12,12 @@ 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 |
|
| 19 |
NUM_FEWSHOT = 0 # Change with your few shot
|
| 20 |
# ---------------------------------------------------
|
|
|
|
| 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_persian = Task("0-shot-persian", "acc", "0-shot-persian")
|
| 16 |
+
task1_persian = Task("1-shot-persian", "acc", "1-shot-persian")
|
| 17 |
+
task5_persian = Task("5-shot-persian", "acc", "5-shot-persian")
|
| 18 |
+
task0_english = Task("0-shot-english", "acc", "0-shot-english")
|
| 19 |
+
task1_english = Task("1-shot-english", "acc", "1-shot-english")
|
| 20 |
+
task5_english = Task("5-shot-english", "acc", "5-shot-english")
|
| 21 |
|
| 22 |
NUM_FEWSHOT = 0 # Change with your few shot
|
| 23 |
# ---------------------------------------------------
|