Shaltiel commited on
Commit
17d3a0d
โ€ข
1 Parent(s): c600f36

Add IL-Facts task

Browse files
Files changed (1) hide show
  1. 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 = """