Spaces:
Runtime error
Runtime error
Add IL-Facts task
Browse files- src/about.py +29 -0
src/about.py
CHANGED
@@ -17,6 +17,7 @@ class Tasks(Enum):
|
|
17 |
task2 = Task("custom|sentiment-acc|0", "sentiment_acc", "Sentiment Acc (Mafat)")
|
18 |
task3 = Task("custom|winograd-acc|0", "winograd_acc", "Winograd (Binary) Acc (V. Schwartz)")
|
19 |
task4 = Task("custom|he-en-trans-bleu|0", "sentence_bleu", "Translation BLEU")
|
|
|
20 |
|
21 |
NUM_FEWSHOT = 0 # Change with your few shot
|
22 |
# ---------------------------------------------------
|
@@ -210,6 +211,34 @@ Hebrew:
|
|
210 |
</p>
|
211 |
</blockquote>
|
212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
"""
|
214 |
|
215 |
EVALUATION_QUEUE_TEXT = """
|
|
|
17 |
task2 = Task("custom|sentiment-acc|0", "sentiment_acc", "Sentiment Acc (Mafat)")
|
18 |
task3 = Task("custom|winograd-acc|0", "winograd_acc", "Winograd (Binary) Acc (V. Schwartz)")
|
19 |
task4 = Task("custom|he-en-trans-bleu|0", "sentence_bleu", "Translation BLEU")
|
20 |
+
task5 = Task("custom|ilfacts-acc|0", "ilfacts_acc", "Israeli Trivia")
|
21 |
|
22 |
NUM_FEWSHOT = 0 # Change with your few shot
|
23 |
# ---------------------------------------------------
|
|
|
211 |
</p>
|
212 |
</blockquote>
|
213 |
|
214 |
+
|
215 |
+
6. Israeli Trivia
|
216 |
+
|
217 |
+
- **Source**: We use a corpus of several hundred trivia questions about general world knowledge, specifically on Israel-related facts. We extend immense gratitude to Avraham Elitzur for helping us curate this dataset.
|
218 |
+
|
219 |
+
- **Scoring**: We provide in the prompt multiple-choice answers, and compute the accuracy score.
|
220 |
+
|
221 |
+
- **Number of examples**: 300 examples.
|
222 |
+
|
223 |
+
- **Few-Shot Format**: For every prompt, we provide 5 few-shot examples, and then the question at hand. Each example is formatted with the question, the possible answers, and the expected answer.
|
224 |
+
|
225 |
+
For example:
|
226 |
+
|
227 |
+
|
228 |
+
<blockquote dir="rtl" style="background-color: #f0f0f0;">
|
229 |
+
<p>
|
230 |
+
砖讗诇讛: 讘讗讬讝讜 注讬专 谞注专讻讛 讛讻专讝转 讛诪讚讬谞讛 讛专砖诪讬转 注诇 讬讚讬 讚讜讚 讘谉 讙讜专讬讜谉?<br/>
|
231 |
+
讗驻砖专讜讬讜转: "讬专讜砖诇讬诐" / "讗砖拽诇讜谉" / "转诇 讗讘讬讘" / "爪驻转"<br/>
|
232 |
+
转砖讜讘讛: 转诇 讗讘讬讘 <br/>
|
233 |
+
|
234 |
+
...
|
235 |
+
|
236 |
+
砖讗诇讛: 砖讗诇讛 讞讚砖讛<br/>
|
237 |
+
讗驻砖专讜讬讜转: "讗驻砖专讜转 讗" / "讗驻砖专讜转 讘" ...<br/>
|
238 |
+
转砖讜讘讛:
|
239 |
+
</blockquote>
|
240 |
+
|
241 |
+
|
242 |
"""
|
243 |
|
244 |
EVALUATION_QUEUE_TEXT = """
|