parquet-converter commited on
Commit
31c7127
1 Parent(s): c823fa2

Update parquet files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +0 -1173
  2. alignments/exams-full.parquet +3 -0
  3. crosslingual_bg/exams-train.parquet +3 -0
  4. crosslingual_bg/exams-validation.parquet +3 -0
  5. crosslingual_hr/exams-train.parquet +3 -0
  6. crosslingual_hr/exams-validation.parquet +3 -0
  7. crosslingual_hu/exams-train.parquet +3 -0
  8. crosslingual_hu/exams-validation.parquet +3 -0
  9. crosslingual_it/exams-train.parquet +3 -0
  10. crosslingual_it/exams-validation.parquet +3 -0
  11. crosslingual_mk/exams-train.parquet +3 -0
  12. crosslingual_mk/exams-validation.parquet +3 -0
  13. crosslingual_pl/exams-train.parquet +3 -0
  14. crosslingual_pl/exams-validation.parquet +3 -0
  15. crosslingual_pt/exams-train.parquet +3 -0
  16. crosslingual_pt/exams-validation.parquet +3 -0
  17. crosslingual_sq/exams-train.parquet +3 -0
  18. crosslingual_sq/exams-validation.parquet +3 -0
  19. crosslingual_sr/exams-train.parquet +3 -0
  20. crosslingual_sr/exams-validation.parquet +3 -0
  21. crosslingual_test/exams-test.parquet +3 -0
  22. crosslingual_tr/exams-train.parquet +3 -0
  23. crosslingual_tr/exams-validation.parquet +3 -0
  24. crosslingual_vi/exams-train.parquet +3 -0
  25. crosslingual_vi/exams-validation.parquet +3 -0
  26. crosslingual_with_para_bg/exams-train.parquet +3 -0
  27. crosslingual_with_para_bg/exams-validation.parquet +3 -0
  28. crosslingual_with_para_hr/exams-train.parquet +3 -0
  29. crosslingual_with_para_hr/exams-validation.parquet +3 -0
  30. crosslingual_with_para_hu/exams-train.parquet +3 -0
  31. crosslingual_with_para_hu/exams-validation.parquet +3 -0
  32. crosslingual_with_para_it/exams-train.parquet +3 -0
  33. crosslingual_with_para_it/exams-validation.parquet +3 -0
  34. crosslingual_with_para_mk/exams-train.parquet +3 -0
  35. crosslingual_with_para_mk/exams-validation.parquet +3 -0
  36. crosslingual_with_para_pl/exams-train.parquet +3 -0
  37. crosslingual_with_para_pl/exams-validation.parquet +3 -0
  38. crosslingual_with_para_pt/exams-train.parquet +3 -0
  39. crosslingual_with_para_pt/exams-validation.parquet +3 -0
  40. crosslingual_with_para_sq/exams-train.parquet +3 -0
  41. crosslingual_with_para_sq/exams-validation.parquet +3 -0
  42. crosslingual_with_para_sr/exams-train.parquet +3 -0
  43. crosslingual_with_para_sr/exams-validation.parquet +3 -0
  44. crosslingual_with_para_test/exams-test.parquet +3 -0
  45. crosslingual_with_para_tr/exams-train.parquet +3 -0
  46. crosslingual_with_para_tr/exams-validation.parquet +3 -0
  47. crosslingual_with_para_vi/exams-train.parquet +3 -0
  48. crosslingual_with_para_vi/exams-validation.parquet +3 -0
  49. dataset_infos.json +0 -0
  50. exams.py +0 -266
README.md DELETED
@@ -1,1173 +0,0 @@
1
- ---
2
- pretty_name: EXAMS
3
- annotations_creators:
4
- - found
5
- language_creators:
6
- - found
7
- language:
8
- - ar
9
- - bg
10
- - de
11
- - es
12
- - fr
13
- - hr
14
- - hu
15
- - it
16
- - lt
17
- - mk
18
- - pl
19
- - pt
20
- - sq
21
- - sr
22
- - tr
23
- - vi
24
- license:
25
- - cc-by-sa-4.0
26
- multilinguality:
27
- - monolingual
28
- - multilingual
29
- size_categories:
30
- - 10K<n<100K
31
- - 1K<n<10K
32
- - n<1K
33
- source_datasets:
34
- - original
35
- task_categories:
36
- - question-answering
37
- task_ids:
38
- - multiple-choice-qa
39
- paperswithcode_id: exams
40
- configs:
41
- - alignments
42
- - crosslingual_bg
43
- - crosslingual_hr
44
- - crosslingual_hu
45
- - crosslingual_it
46
- - crosslingual_mk
47
- - crosslingual_pl
48
- - crosslingual_pt
49
- - crosslingual_sq
50
- - crosslingual_sr
51
- - crosslingual_test
52
- - crosslingual_tr
53
- - crosslingual_vi
54
- - crosslingual_with_para_bg
55
- - crosslingual_with_para_hr
56
- - crosslingual_with_para_hu
57
- - crosslingual_with_para_it
58
- - crosslingual_with_para_mk
59
- - crosslingual_with_para_pl
60
- - crosslingual_with_para_pt
61
- - crosslingual_with_para_sq
62
- - crosslingual_with_para_sr
63
- - crosslingual_with_para_test
64
- - crosslingual_with_para_tr
65
- - crosslingual_with_para_vi
66
- - multilingual
67
- - multilingual_with_para
68
- dataset_info:
69
- - config_name: alignments
70
- features:
71
- - name: source_id
72
- dtype: string
73
- - name: target_id_list
74
- sequence: string
75
- splits:
76
- - name: full
77
- num_bytes: 1265280
78
- num_examples: 10834
79
- download_size: 169745177
80
- dataset_size: 1265280
81
- - config_name: multilingual
82
- features:
83
- - name: id
84
- dtype: string
85
- - name: question
86
- struct:
87
- - name: stem
88
- dtype: string
89
- - name: choices
90
- sequence:
91
- - name: text
92
- dtype: string
93
- - name: label
94
- dtype: string
95
- - name: para
96
- dtype: string
97
- - name: answerKey
98
- dtype: string
99
- - name: info
100
- struct:
101
- - name: grade
102
- dtype: int32
103
- - name: subject
104
- dtype: string
105
- - name: language
106
- dtype: string
107
- splits:
108
- - name: train
109
- num_bytes: 3385865
110
- num_examples: 7961
111
- - name: validation
112
- num_bytes: 1143067
113
- num_examples: 2672
114
- - name: test
115
- num_bytes: 5753625
116
- num_examples: 13510
117
- download_size: 169745177
118
- dataset_size: 10282557
119
- - config_name: multilingual_with_para
120
- features:
121
- - name: id
122
- dtype: string
123
- - name: question
124
- struct:
125
- - name: stem
126
- dtype: string
127
- - name: choices
128
- sequence:
129
- - name: text
130
- dtype: string
131
- - name: label
132
- dtype: string
133
- - name: para
134
- dtype: string
135
- - name: answerKey
136
- dtype: string
137
- - name: info
138
- struct:
139
- - name: grade
140
- dtype: int32
141
- - name: subject
142
- dtype: string
143
- - name: language
144
- dtype: string
145
- splits:
146
- - name: train
147
- num_bytes: 127298595
148
- num_examples: 7961
149
- - name: validation
150
- num_bytes: 42713069
151
- num_examples: 2672
152
- - name: test
153
- num_bytes: 207981218
154
- num_examples: 13510
155
- download_size: 169745177
156
- dataset_size: 377992882
157
- - config_name: crosslingual_test
158
- features:
159
- - name: id
160
- dtype: string
161
- - name: question
162
- struct:
163
- - name: stem
164
- dtype: string
165
- - name: choices
166
- sequence:
167
- - name: text
168
- dtype: string
169
- - name: label
170
- dtype: string
171
- - name: para
172
- dtype: string
173
- - name: answerKey
174
- dtype: string
175
- - name: info
176
- struct:
177
- - name: grade
178
- dtype: int32
179
- - name: subject
180
- dtype: string
181
- - name: language
182
- dtype: string
183
- splits:
184
- - name: test
185
- num_bytes: 8412531
186
- num_examples: 19736
187
- download_size: 169745177
188
- dataset_size: 8412531
189
- - config_name: crosslingual_with_para_test
190
- features:
191
- - name: id
192
- dtype: string
193
- - name: question
194
- struct:
195
- - name: stem
196
- dtype: string
197
- - name: choices
198
- sequence:
199
- - name: text
200
- dtype: string
201
- - name: label
202
- dtype: string
203
- - name: para
204
- dtype: string
205
- - name: answerKey
206
- dtype: string
207
- - name: info
208
- struct:
209
- - name: grade
210
- dtype: int32
211
- - name: subject
212
- dtype: string
213
- - name: language
214
- dtype: string
215
- splits:
216
- - name: test
217
- num_bytes: 207981218
218
- num_examples: 13510
219
- download_size: 169745177
220
- dataset_size: 207981218
221
- - config_name: crosslingual_bg
222
- features:
223
- - name: id
224
- dtype: string
225
- - name: question
226
- struct:
227
- - name: stem
228
- dtype: string
229
- - name: choices
230
- sequence:
231
- - name: text
232
- dtype: string
233
- - name: label
234
- dtype: string
235
- - name: para
236
- dtype: string
237
- - name: answerKey
238
- dtype: string
239
- - name: info
240
- struct:
241
- - name: grade
242
- dtype: int32
243
- - name: subject
244
- dtype: string
245
- - name: language
246
- dtype: string
247
- splits:
248
- - name: train
249
- num_bytes: 1078545
250
- num_examples: 2344
251
- - name: validation
252
- num_bytes: 282115
253
- num_examples: 593
254
- download_size: 169745177
255
- dataset_size: 1360660
256
- - config_name: crosslingual_with_para_bg
257
- features:
258
- - name: id
259
- dtype: string
260
- - name: question
261
- struct:
262
- - name: stem
263
- dtype: string
264
- - name: choices
265
- sequence:
266
- - name: text
267
- dtype: string
268
- - name: label
269
- dtype: string
270
- - name: para
271
- dtype: string
272
- - name: answerKey
273
- dtype: string
274
- - name: info
275
- struct:
276
- - name: grade
277
- dtype: int32
278
- - name: subject
279
- dtype: string
280
- - name: language
281
- dtype: string
282
- splits:
283
- - name: train
284
- num_bytes: 47068024
285
- num_examples: 2344
286
- - name: validation
287
- num_bytes: 11916370
288
- num_examples: 593
289
- download_size: 169745177
290
- dataset_size: 58984394
291
- - config_name: crosslingual_hr
292
- features:
293
- - name: id
294
- dtype: string
295
- - name: question
296
- struct:
297
- - name: stem
298
- dtype: string
299
- - name: choices
300
- sequence:
301
- - name: text
302
- dtype: string
303
- - name: label
304
- dtype: string
305
- - name: para
306
- dtype: string
307
- - name: answerKey
308
- dtype: string
309
- - name: info
310
- struct:
311
- - name: grade
312
- dtype: int32
313
- - name: subject
314
- dtype: string
315
- - name: language
316
- dtype: string
317
- splits:
318
- - name: train
319
- num_bytes: 808320
320
- num_examples: 2341
321
- - name: validation
322
- num_bytes: 176910
323
- num_examples: 538
324
- download_size: 169745177
325
- dataset_size: 985230
326
- - config_name: crosslingual_with_para_hr
327
- features:
328
- - name: id
329
- dtype: string
330
- - name: question
331
- struct:
332
- - name: stem
333
- dtype: string
334
- - name: choices
335
- sequence:
336
- - name: text
337
- dtype: string
338
- - name: label
339
- dtype: string
340
- - name: para
341
- dtype: string
342
- - name: answerKey
343
- dtype: string
344
- - name: info
345
- struct:
346
- - name: grade
347
- dtype: int32
348
- - name: subject
349
- dtype: string
350
- - name: language
351
- dtype: string
352
- splits:
353
- - name: train
354
- num_bytes: 24890820
355
- num_examples: 2341
356
- - name: validation
357
- num_bytes: 5695382
358
- num_examples: 538
359
- download_size: 169745177
360
- dataset_size: 30586202
361
- - config_name: crosslingual_hu
362
- features:
363
- - name: id
364
- dtype: string
365
- - name: question
366
- struct:
367
- - name: stem
368
- dtype: string
369
- - name: choices
370
- sequence:
371
- - name: text
372
- dtype: string
373
- - name: label
374
- dtype: string
375
- - name: para
376
- dtype: string
377
- - name: answerKey
378
- dtype: string
379
- - name: info
380
- struct:
381
- - name: grade
382
- dtype: int32
383
- - name: subject
384
- dtype: string
385
- - name: language
386
- dtype: string
387
- splits:
388
- - name: train
389
- num_bytes: 678447
390
- num_examples: 1731
391
- - name: validation
392
- num_bytes: 202324
393
- num_examples: 536
394
- download_size: 169745177
395
- dataset_size: 880771
396
- - config_name: crosslingual_with_para_hu
397
- features:
398
- - name: id
399
- dtype: string
400
- - name: question
401
- struct:
402
- - name: stem
403
- dtype: string
404
- - name: choices
405
- sequence:
406
- - name: text
407
- dtype: string
408
- - name: label
409
- dtype: string
410
- - name: para
411
- dtype: string
412
- - name: answerKey
413
- dtype: string
414
- - name: info
415
- struct:
416
- - name: grade
417
- dtype: int32
418
- - name: subject
419
- dtype: string
420
- - name: language
421
- dtype: string
422
- splits:
423
- - name: train
424
- num_bytes: 19036575
425
- num_examples: 1731
426
- - name: validation
427
- num_bytes: 6043577
428
- num_examples: 536
429
- download_size: 169745177
430
- dataset_size: 25080152
431
- - config_name: crosslingual_it
432
- features:
433
- - name: id
434
- dtype: string
435
- - name: question
436
- struct:
437
- - name: stem
438
- dtype: string
439
- - name: choices
440
- sequence:
441
- - name: text
442
- dtype: string
443
- - name: label
444
- dtype: string
445
- - name: para
446
- dtype: string
447
- - name: answerKey
448
- dtype: string
449
- - name: info
450
- struct:
451
- - name: grade
452
- dtype: int32
453
- - name: subject
454
- dtype: string
455
- - name: language
456
- dtype: string
457
- splits:
458
- - name: train
459
- num_bytes: 399864
460
- num_examples: 1010
461
- - name: validation
462
- num_bytes: 93343
463
- num_examples: 246
464
- download_size: 169745177
465
- dataset_size: 493207
466
- - config_name: crosslingual_with_para_it
467
- features:
468
- - name: id
469
- dtype: string
470
- - name: question
471
- struct:
472
- - name: stem
473
- dtype: string
474
- - name: choices
475
- sequence:
476
- - name: text
477
- dtype: string
478
- - name: label
479
- dtype: string
480
- - name: para
481
- dtype: string
482
- - name: answerKey
483
- dtype: string
484
- - name: info
485
- struct:
486
- - name: grade
487
- dtype: int32
488
- - name: subject
489
- dtype: string
490
- - name: language
491
- dtype: string
492
- splits:
493
- - name: train
494
- num_bytes: 16409787
495
- num_examples: 1010
496
- - name: validation
497
- num_bytes: 4018497
498
- num_examples: 246
499
- download_size: 169745177
500
- dataset_size: 20428284
501
- - config_name: crosslingual_mk
502
- features:
503
- - name: id
504
- dtype: string
505
- - name: question
506
- struct:
507
- - name: stem
508
- dtype: string
509
- - name: choices
510
- sequence:
511
- - name: text
512
- dtype: string
513
- - name: label
514
- dtype: string
515
- - name: para
516
- dtype: string
517
- - name: answerKey
518
- dtype: string
519
- - name: info
520
- struct:
521
- - name: grade
522
- dtype: int32
523
- - name: subject
524
- dtype: string
525
- - name: language
526
- dtype: string
527
- splits:
528
- - name: train
529
- num_bytes: 826582
530
- num_examples: 1665
531
- - name: validation
532
- num_bytes: 204570
533
- num_examples: 410
534
- download_size: 169745177
535
- dataset_size: 1031152
536
- - config_name: crosslingual_with_para_mk
537
- features:
538
- - name: id
539
- dtype: string
540
- - name: question
541
- struct:
542
- - name: stem
543
- dtype: string
544
- - name: choices
545
- sequence:
546
- - name: text
547
- dtype: string
548
- - name: label
549
- dtype: string
550
- - name: para
551
- dtype: string
552
- - name: answerKey
553
- dtype: string
554
- - name: info
555
- struct:
556
- - name: grade
557
- dtype: int32
558
- - name: subject
559
- dtype: string
560
- - name: language
561
- dtype: string
562
- splits:
563
- - name: train
564
- num_bytes: 38446774
565
- num_examples: 1665
566
- - name: validation
567
- num_bytes: 9673826
568
- num_examples: 410
569
- download_size: 169745177
570
- dataset_size: 48120600
571
- - config_name: crosslingual_pl
572
- features:
573
- - name: id
574
- dtype: string
575
- - name: question
576
- struct:
577
- - name: stem
578
- dtype: string
579
- - name: choices
580
- sequence:
581
- - name: text
582
- dtype: string
583
- - name: label
584
- dtype: string
585
- - name: para
586
- dtype: string
587
- - name: answerKey
588
- dtype: string
589
- - name: info
590
- struct:
591
- - name: grade
592
- dtype: int32
593
- - name: subject
594
- dtype: string
595
- - name: language
596
- dtype: string
597
- splits:
598
- - name: train
599
- num_bytes: 574246
600
- num_examples: 1577
601
- - name: validation
602
- num_bytes: 141877
603
- num_examples: 394
604
- download_size: 169745177
605
- dataset_size: 716123
606
- - config_name: crosslingual_with_para_pl
607
- features:
608
- - name: id
609
- dtype: string
610
- - name: question
611
- struct:
612
- - name: stem
613
- dtype: string
614
- - name: choices
615
- sequence:
616
- - name: text
617
- dtype: string
618
- - name: label
619
- dtype: string
620
- - name: para
621
- dtype: string
622
- - name: answerKey
623
- dtype: string
624
- - name: info
625
- struct:
626
- - name: grade
627
- dtype: int32
628
- - name: subject
629
- dtype: string
630
- - name: language
631
- dtype: string
632
- splits:
633
- - name: train
634
- num_bytes: 16374617
635
- num_examples: 1577
636
- - name: validation
637
- num_bytes: 4159076
638
- num_examples: 394
639
- download_size: 169745177
640
- dataset_size: 20533693
641
- - config_name: crosslingual_pt
642
- features:
643
- - name: id
644
- dtype: string
645
- - name: question
646
- struct:
647
- - name: stem
648
- dtype: string
649
- - name: choices
650
- sequence:
651
- - name: text
652
- dtype: string
653
- - name: label
654
- dtype: string
655
- - name: para
656
- dtype: string
657
- - name: answerKey
658
- dtype: string
659
- - name: info
660
- struct:
661
- - name: grade
662
- dtype: int32
663
- - name: subject
664
- dtype: string
665
- - name: language
666
- dtype: string
667
- splits:
668
- - name: train
669
- num_bytes: 375214
670
- num_examples: 740
671
- - name: validation
672
- num_bytes: 87850
673
- num_examples: 184
674
- download_size: 169745177
675
- dataset_size: 463064
676
- - config_name: crosslingual_with_para_pt
677
- features:
678
- - name: id
679
- dtype: string
680
- - name: question
681
- struct:
682
- - name: stem
683
- dtype: string
684
- - name: choices
685
- sequence:
686
- - name: text
687
- dtype: string
688
- - name: label
689
- dtype: string
690
- - name: para
691
- dtype: string
692
- - name: answerKey
693
- dtype: string
694
- - name: info
695
- struct:
696
- - name: grade
697
- dtype: int32
698
- - name: subject
699
- dtype: string
700
- - name: language
701
- dtype: string
702
- splits:
703
- - name: train
704
- num_bytes: 12185799
705
- num_examples: 740
706
- - name: validation
707
- num_bytes: 3093848
708
- num_examples: 184
709
- download_size: 169745177
710
- dataset_size: 15279647
711
- - config_name: crosslingual_sq
712
- features:
713
- - name: id
714
- dtype: string
715
- - name: question
716
- struct:
717
- - name: stem
718
- dtype: string
719
- - name: choices
720
- sequence:
721
- - name: text
722
- dtype: string
723
- - name: label
724
- dtype: string
725
- - name: para
726
- dtype: string
727
- - name: answerKey
728
- dtype: string
729
- - name: info
730
- struct:
731
- - name: grade
732
- dtype: int32
733
- - name: subject
734
- dtype: string
735
- - name: language
736
- dtype: string
737
- splits:
738
- - name: train
739
- num_bytes: 424388
740
- num_examples: 1194
741
- - name: validation
742
- num_bytes: 110293
743
- num_examples: 311
744
- download_size: 169745177
745
- dataset_size: 534681
746
- - config_name: crosslingual_with_para_sq
747
- features:
748
- - name: id
749
- dtype: string
750
- - name: question
751
- struct:
752
- - name: stem
753
- dtype: string
754
- - name: choices
755
- sequence:
756
- - name: text
757
- dtype: string
758
- - name: label
759
- dtype: string
760
- - name: para
761
- dtype: string
762
- - name: answerKey
763
- dtype: string
764
- - name: info
765
- struct:
766
- - name: grade
767
- dtype: int32
768
- - name: subject
769
- dtype: string
770
- - name: language
771
- dtype: string
772
- splits:
773
- - name: train
774
- num_bytes: 17341921
775
- num_examples: 1194
776
- - name: validation
777
- num_bytes: 4450152
778
- num_examples: 311
779
- download_size: 169745177
780
- dataset_size: 21792073
781
- - config_name: crosslingual_sr
782
- features:
783
- - name: id
784
- dtype: string
785
- - name: question
786
- struct:
787
- - name: stem
788
- dtype: string
789
- - name: choices
790
- sequence:
791
- - name: text
792
- dtype: string
793
- - name: label
794
- dtype: string
795
- - name: para
796
- dtype: string
797
- - name: answerKey
798
- dtype: string
799
- - name: info
800
- struct:
801
- - name: grade
802
- dtype: int32
803
- - name: subject
804
- dtype: string
805
- - name: language
806
- dtype: string
807
- splits:
808
- - name: train
809
- num_bytes: 650268
810
- num_examples: 1323
811
- - name: validation
812
- num_bytes: 145928
813
- num_examples: 314
814
- download_size: 169745177
815
- dataset_size: 796196
816
- - config_name: crosslingual_with_para_sr
817
- features:
818
- - name: id
819
- dtype: string
820
- - name: question
821
- struct:
822
- - name: stem
823
- dtype: string
824
- - name: choices
825
- sequence:
826
- - name: text
827
- dtype: string
828
- - name: label
829
- dtype: string
830
- - name: para
831
- dtype: string
832
- - name: answerKey
833
- dtype: string
834
- - name: info
835
- struct:
836
- - name: grade
837
- dtype: int32
838
- - name: subject
839
- dtype: string
840
- - name: language
841
- dtype: string
842
- splits:
843
- - name: train
844
- num_bytes: 24576553
845
- num_examples: 1323
846
- - name: validation
847
- num_bytes: 5772713
848
- num_examples: 314
849
- download_size: 169745177
850
- dataset_size: 30349266
851
- - config_name: crosslingual_tr
852
- features:
853
- - name: id
854
- dtype: string
855
- - name: question
856
- struct:
857
- - name: stem
858
- dtype: string
859
- - name: choices
860
- sequence:
861
- - name: text
862
- dtype: string
863
- - name: label
864
- dtype: string
865
- - name: para
866
- dtype: string
867
- - name: answerKey
868
- dtype: string
869
- - name: info
870
- struct:
871
- - name: grade
872
- dtype: int32
873
- - name: subject
874
- dtype: string
875
- - name: language
876
- dtype: string
877
- splits:
878
- - name: train
879
- num_bytes: 718431
880
- num_examples: 1571
881
- - name: validation
882
- num_bytes: 182974
883
- num_examples: 393
884
- download_size: 169745177
885
- dataset_size: 901405
886
- - config_name: crosslingual_with_para_tr
887
- features:
888
- - name: id
889
- dtype: string
890
- - name: question
891
- struct:
892
- - name: stem
893
- dtype: string
894
- - name: choices
895
- sequence:
896
- - name: text
897
- dtype: string
898
- - name: label
899
- dtype: string
900
- - name: para
901
- dtype: string
902
- - name: answerKey
903
- dtype: string
904
- - name: info
905
- struct:
906
- - name: grade
907
- dtype: int32
908
- - name: subject
909
- dtype: string
910
- - name: language
911
- dtype: string
912
- splits:
913
- - name: train
914
- num_bytes: 18597963
915
- num_examples: 1571
916
- - name: validation
917
- num_bytes: 4763341
918
- num_examples: 393
919
- download_size: 169745177
920
- dataset_size: 23361304
921
- - config_name: crosslingual_vi
922
- features:
923
- - name: id
924
- dtype: string
925
- - name: question
926
- struct:
927
- - name: stem
928
- dtype: string
929
- - name: choices
930
- sequence:
931
- - name: text
932
- dtype: string
933
- - name: label
934
- dtype: string
935
- - name: para
936
- dtype: string
937
- - name: answerKey
938
- dtype: string
939
- - name: info
940
- struct:
941
- - name: grade
942
- dtype: int32
943
- - name: subject
944
- dtype: string
945
- - name: language
946
- dtype: string
947
- splits:
948
- - name: train
949
- num_bytes: 954191
950
- num_examples: 1955
951
- - name: validation
952
- num_bytes: 232264
953
- num_examples: 488
954
- download_size: 169745177
955
- dataset_size: 1186455
956
- - config_name: crosslingual_with_para_vi
957
- features:
958
- - name: id
959
- dtype: string
960
- - name: question
961
- struct:
962
- - name: stem
963
- dtype: string
964
- - name: choices
965
- sequence:
966
- - name: text
967
- dtype: string
968
- - name: label
969
- dtype: string
970
- - name: para
971
- dtype: string
972
- - name: answerKey
973
- dtype: string
974
- - name: info
975
- struct:
976
- - name: grade
977
- dtype: int32
978
- - name: subject
979
- dtype: string
980
- - name: language
981
- dtype: string
982
- splits:
983
- - name: train
984
- num_bytes: 40884023
985
- num_examples: 1955
986
- - name: validation
987
- num_bytes: 10260662
988
- num_examples: 488
989
- download_size: 169745177
990
- dataset_size: 51144685
991
- ---
992
-
993
- # Dataset Card for [Dataset Name]
994
-
995
- ## Table of Contents
996
- - [Dataset Description](#dataset-description)
997
- - [Dataset Summary](#dataset-summary)
998
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
999
- - [Languages](#languages)
1000
- - [Dataset Structure](#dataset-structure)
1001
- - [Data Instances](#data-instances)
1002
- - [Data Fields](#data-fields)
1003
- - [Data Splits](#data-splits)
1004
- - [Dataset Creation](#dataset-creation)
1005
- - [Curation Rationale](#curation-rationale)
1006
- - [Source Data](#source-data)
1007
- - [Annotations](#annotations)
1008
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
1009
- - [Considerations for Using the Data](#considerations-for-using-the-data)
1010
- - [Social Impact of Dataset](#social-impact-of-dataset)
1011
- - [Discussion of Biases](#discussion-of-biases)
1012
- - [Other Known Limitations](#other-known-limitations)
1013
- - [Additional Information](#additional-information)
1014
- - [Dataset Curators](#dataset-curators)
1015
- - [Licensing Information](#licensing-information)
1016
- - [Citation Information](#citation-information)
1017
- - [Contributions](#contributions)
1018
-
1019
- ## Dataset Description
1020
-
1021
- - **Repository:** https://github.com/mhardalov/exams-qa
1022
- - **Paper:** [EXAMS: A Multi-Subject High School Examinations Dataset for Cross-Lingual and Multilingual Question Answering](https://arxiv.org/abs/2011.03080)
1023
- - **Point of Contact:** [hardalov@@fmi.uni-sofia.bg](hardalov@@fmi.uni-sofia.bg)
1024
-
1025
- ### Dataset Summary
1026
-
1027
- EXAMS is a benchmark dataset for multilingual and cross-lingual question answering from high school examinations. It consists of more than 24,000 high-quality high school exam questions in 16 languages, covering 8 language families and 24 school subjects from Natural Sciences and Social Sciences, among others.
1028
-
1029
- ### Supported Tasks and Leaderboards
1030
-
1031
- [More Information Needed]
1032
-
1033
- ### Languages
1034
-
1035
- The languages in the dataset are:
1036
- - ar
1037
- - bg
1038
- - de
1039
- - es
1040
- - fr
1041
- - hr
1042
- - hu
1043
- - it
1044
- - lt
1045
- - mk
1046
- - pl
1047
- - pt
1048
- - sq
1049
- - sr
1050
- - tr
1051
- - vi
1052
-
1053
- ## Dataset Structure
1054
-
1055
- ### Data Instances
1056
-
1057
- An example of a data instance (with support paragraphs, in Bulgarian) is:
1058
- ```
1059
- {'answerKey': 'C',
1060
- 'id': '35dd6b52-7e71-11ea-9eb1-54bef70b159e',
1061
- 'info': {'grade': 12, 'language': 'Bulgarian', 'subject': 'Biology'},
1062
- 'question': {'choices': {'label': ['A', 'B', 'C', 'D'],
1063
- 'para': ['Това води до наследствени изменения между организмите. Мирновременните вождове са наследствени. Черният, сивият и кафявият цвят на оцветяване на тялото се определя от пигмента меланин и възниква в резултат на наследствени изменения. Тези различия, според Монтескьо, не са наследствени. Те са и важни наследствени вещи в клана. Те са били наследствени архонти и управляват демократично. Реликвите са исторически, религиозни, семейни (наследствени) и технически. Общо са направени 800 изменения. Не всички наследствени аномалии на хемоглобина са вредни, т.е. Моногенните наследствени болести, които водят до мигрена, са редки. Няма наследствени владетели. Повечето от тях са наследствени и се предават на потомството. Всичките синове са ерцхерцози на всичките наследствени земи и претенденти. През 1509 г. Фраунбергите са издигнати на наследствени имперски графове. Фамилията Валдбург заради постиженията са номинирани на „наследствени имперски трушсеси“. Фамилията Валдбург заради постиженията са номинирани на „наследствени имперски трушсеси“. Описани са единични наследствени случаи, но по-често липсва фамилна обремененост. Позициите им са наследствени и се предават в рамките на клана. Внесени са изменения в конструкцията на веригите. и са направени изменения в ходовата част. На храма са правени лоши архитектурни изменения. Изменения са предприети и вътре в двореца. Имало двама наследствени вождове. Имало двама наследствени вождове. Годишният календар, „компасът“ и биологичния часовник са наследствени и при много бозайници.',
1064
- 'Постепенно задълбочаващите се функционални изменения довеждат и до структурни изменения. Те се дължат както на растягането на кожата, така и на въздействието на хормоналните изменения върху кожната тъкан. тези изменения се долавят по-ясно. Впоследствие, той претъ��пява изменения. Ширината остава без изменения. След тяхното издаване се налагат изменения в първоначалния Кодекс, защото не е съобразен с направените в Дигестите изменения. Еволюционният преход се характеризира със следните изменения: Наблюдават се и сезонни изменения в теглото. Приемат се изменения и допълнения към Устава. Тук се размножават и предизвикват възпалителни изменения. Общо са направени 800 изменения. Бронирането не претърпява съществени изменения. При животните се откриват изменения при злокачествената форма. Срещат се и дегенеративни изменения в семенните каналчета. ТАВКР „Баку“ се строи по изменения проект 1143.4. Трансът се съпровожда с определени изменения на мозъчната дейност. На изменения е подложен и Светия Синод. Внесени са изменения в конструкцията на веригите. На храма са правени лоши архитектурни изменения. Оттогава стиховете претърпяват изменения няколко пъти. Настъпват съществени изменения в музикалната култура. По-късно той претърпява леки изменения. Настъпват съществени изменения в музикалната култура. Претърпява сериозни изменения само носовата надстройка. Хоризонталното брониране е оставено без изменения.',
1065
- 'Модификациите са обратими. Тези реакции са обратими. В началните стадии тези натрупвания са обратими. Всички такива ефекти са временни и обратими. Много от реакциите са обратими и идентични с тези при гликолизата. Ако в обращение има книжни пари, те са обратими в злато при поискване . Общо са направени 800 изменения. Непоследователността е представена от принципа на "симетрия", при който взаимоотношенията са разглеждани като симетрични или обратими. Откакто формулите в клетките на електронната таблица не са обратими, тази техника е с ограничена стойност. Ефектът на Пелтие-Зеебек и ефектът Томсън са обратими (ефектът на Пелтие е обратен на ефекта на Зеебек). Плазмолизата протича в три етапа, в зависимост от силата и продължителността на въздействието:\n\nПървите два етапа са обратими. Внесени са изменения в конструкцията на веригите. и са направени изменения в ходовата част. На храма са правени лоши архитектурни изменения. Изменения са предприети и вътре в двореца. Оттогава насетне екипите не са претърпявали съществени изменения. Изменения са направени и в колесника на машината. Тези изменения са обявени през октомври 1878 година. Последните изменения са внесени през януари 2009 година. В процеса на последващото проектиране са внесени някои изменения. Сериозните изменения са в края на Втората световна война. Внесени са изменения в конструкцията на погребите и подемниците. Внесени са изменения в конструкцията на погребите и подемниците. Внесени са изменения в конструкцията на погребите и подемниците. Постепенно задълбочаващите се функционални изменения довеждат и до структурни изменения.',
1066
- 'Ерозионни процеси ��т масов характер липсват. Обновлението в редиците на партията приема масов характер. Тя обаче няма масов характер поради спецификата на формата. Движението против десятъка придобива масов характер и в Балчишка околия. Понякога екзекутирането на „обсебените от Сатана“ взимало невероятно масов характер. Укриването на дължими като наряд продукти в селата придобива масов характер. Периодичните миграции са в повечето случаи с масов характер и са свързани със сезонните изменения в природата, а непериодичните са премествания на животни, които настъпват след пожари, замърсяване на средата, висока численост и др. Имат необратим характер. Именно по време на двувековните походи на западните рицари използването на гербовете придобива масов характер. След присъединяването на Южен Кавказ към Русия, изселването на азербайджанци от Грузия придобива масов характер. Те имат нормативен характер. Те имат установителен характер. Освобождаването на работна сила обикновено има масов характер, защото обхваща големи контингенти от носителите на труд. Валежите имат подчертано континентален характер. Имат най-често издънков характер. Приливите имат предимно полуденонощен характер. Някои от тях имат мистериален характер. Тези сведения имат случаен, епизодичен характер. Те имат сезонен или годишен характер. Временните обезпечителни мерки имат временен характер. Други имат пожелателен характер (Здравко, Слава). Ловът и събирачеството имат спомагателен характер. Фактически успяват само малко да усилят бронирането на артилерийските погреби, другите изменения носят само частен характер. Някои карикатури имат само развлекателен характер, докато други имат политически нюанси. Поемите на Хезиод имат по-приложен характер.'],
1067
- 'text': ['дължат се на фенотипни изменения',
1068
- 'имат масов характер',
1069
- 'са наследствени',
1070
- 'са обратими']},
1071
- 'stem': 'Мутационите изменения:'}}
1072
- ```
1073
-
1074
- ### Data Fields
1075
-
1076
- A data instance contains the following fields:
1077
- - `id`: A question ID, unique across the dataset
1078
- - `question`: the question contains the following:
1079
- - `stem`: a stemmed representation of the question textual
1080
- - `choices`: a set of 3 to 5 candidate answers, which each have:
1081
- - `text`: the text of the answers
1082
- - `label`: a label in `['A', 'B', 'C', 'D', 'E']` used to match to the `answerKey`
1083
- - `para`: (optional) a supported paragraph from Wikipedia in the same language as the question and answer
1084
- - `answerKey`: the key corresponding to the right answer's `label`
1085
- - `info`: some additional information on the question including:
1086
- - `grade`: the school grade for the exam this question was taken from
1087
- - `subject`: a free text description of the academic subject
1088
- - `language`: the English name of the language for this question
1089
-
1090
- ### Data Splits
1091
-
1092
- Depending on the configuration, the dataset have different splits:
1093
- - "alignments": a single "full" split
1094
- - "multilingual" and "multilingual_with_para": "train", "validation" and "test" splits
1095
- - "crosslingual_test" and "crosslingual_with_para_test": a single "test" split
1096
- - the rest of crosslingual configurations: "train" and "validation" splits
1097
-
1098
- ## Dataset Creation
1099
-
1100
- ### Curation Rationale
1101
-
1102
- [More Information Needed]
1103
-
1104
- ### Source Data
1105
-
1106
- #### Initial Data Collection and Normalization
1107
-
1108
- Eχαµs was collected from official state exams prepared by the ministries of education of various countries. These exams are taken by students graduating from high school, and often require knowledge learned through the entire course.
1109
-
1110
- The questions cover a large variety of subjects and material based on the country’s education system. They cover major school subjects such as Biology, Chemistry, Geography, History, and Physics, but we also highly specialized ones such as Agriculture, Geology, Informatics, as well as some applied and profiled studies.
1111
-
1112
- Some countries allow students to take official examinations in several languages. This dataset provides 9,857 parallel question pairs spread across seven languages coming from Croatia (Croatian, Serbian, Italian, Hungarian), Hungary (Hungarian, German, French, Spanish, Croatian, Serbian, Italian), and North Macedonia (Macedonian, Albanian, Turkish).
1113
-
1114
- For all languages in the dataset, the first step in the process of data collection was to download the PDF files per year, per subject, and per language (when parallel languages were available in the same source), convert the PDF files to text, and select those that were well formatted and followed the document structure.
1115
-
1116
- Then, Regular Expressions (RegEx) were used to parse the questions, their corresponding choices and the correct answer choice. In order to ensure that all our questions are answerable using textual input only, questions that contained visual information were removed, as selected by using curated list of words such as map, table, picture, graph, etc., in the corresponding language.
1117
-
1118
- #### Who are the source language producers?
1119
-
1120
- [More Information Needed]
1121
-
1122
- ### Annotations
1123
-
1124
- #### Annotation process
1125
-
1126
- [More Information Needed]
1127
-
1128
- #### Who are the annotators?
1129
-
1130
- [More Information Needed]
1131
-
1132
- ### Personal and Sensitive Information
1133
-
1134
- [More Information Needed]
1135
-
1136
- ## Considerations for Using the Data
1137
-
1138
- ### Social Impact of Dataset
1139
-
1140
- [More Information Needed]
1141
-
1142
- ### Discussion of Biases
1143
-
1144
- [More Information Needed]
1145
-
1146
- ### Other Known Limitations
1147
-
1148
- [More Information Needed]
1149
-
1150
- ## Additional Information
1151
-
1152
- ### Dataset Curators
1153
-
1154
- [More Information Needed]
1155
-
1156
- ### Licensing Information
1157
-
1158
- The dataset, which contains paragraphs from Wikipedia, is licensed under CC-BY-SA 4.0. The code in this repository is licensed according the [LICENSE file](https://raw.githubusercontent.com/mhardalov/exams-qa/main/LICENSE).
1159
-
1160
- ### Citation Information
1161
-
1162
- ```
1163
- @article{hardalov2020exams,
1164
- title={EXAMS: A Multi-subject High School Examinations Dataset for Cross-lingual and Multilingual Question Answering},
1165
- author={Hardalov, Momchil and Mihaylov, Todor and Dimitrina Zlatkova and Yoan Dinkov and Ivan Koychev and Preslav Nvakov},
1166
- journal={arXiv preprint arXiv:2011.03080},
1167
- year={2020}
1168
- }
1169
- ```
1170
-
1171
- ### Contributions
1172
-
1173
- Thanks to [@yjernite](https://github.com/yjernite) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
alignments/exams-full.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ff075f86e04c10f96ad566decb982f6bf9e56a5c1e6a3798457abe37f95ff63
3
+ size 184095
crosslingual_bg/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93d8c479a505b6012a742d14d5b6bf78092a668f6dd4a21673fb50c5fb1bea66
3
+ size 403501
crosslingual_bg/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6daa42497c960233ad2267a5ab437c20949a1bbd9ea131cf99c69444384f94f4
3
+ size 111419
crosslingual_hr/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf7ab449fd3ae3731c5f5f0e4812e8fc1498746e47693595904d7a4a616b2593
3
+ size 365782
crosslingual_hr/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e12a3887983bd8f854217454c54ed5e53acbb384d1dbfabd6391357d473ef39c
3
+ size 84306
crosslingual_hu/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afb1962e137a78496c96d9b86c616a690c9563e62a80eb72c8b22bfeb73fb5d0
3
+ size 305803
crosslingual_hu/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbde2e2a9a92ac651725a56b03a2018832cbce095a3806bcc338d58b361161f4
3
+ size 95650
crosslingual_it/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21b2c7770a349d03a19981edbe5df835b1c566b033b1b2bde7380d541c7613fd
3
+ size 178660
crosslingual_it/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b754552a27d641d41f1a5ce4eed31b3d6f518d4faa09b94febfa2d5904c23ee
3
+ size 47714
crosslingual_mk/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae75a2a5465c1bb3eaec4bbb2c046e041110b367f9a5759e81b7f49a262ed5c8
3
+ size 310558
crosslingual_mk/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63117bdba50eb00d0c786f5f49495f59975632433969786d7f3666aaf61da2e5
3
+ size 83988
crosslingual_pl/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b25e56688d664643dfb67009b492ae3184d56b77f197f8d461f4ccf9569a61e7
3
+ size 271309
crosslingual_pl/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9da3598a665616d6ef02c018dd2570d754a24aef446db6a8c6b6c0955fe0113
3
+ size 70614
crosslingual_pt/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94479d0321e3604748b9b8a4dc27d8ea2667ad8fad845d9bf4d403ce0ef6ab7a
3
+ size 163194
crosslingual_pt/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4159876989e37c7be7211ad5f2228184083d8a2420a8a6fb755095820f82ec6
3
+ size 44825
crosslingual_sq/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0185ee1431be0e3e2edb947f6cdbf25b156f37c3d1d08a64778a19932a84f4f8
3
+ size 191270
crosslingual_sq/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48342804f8cbd29994a492878232dd05c4fb6d632127255f0225fd59bdc84e93
3
+ size 55780
crosslingual_sr/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:183c057e922a7bf782c849568dfb4ff34677c9c581b27e65fa14ad8a86534c70
3
+ size 262334
crosslingual_sr/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23d4567b039f1ef74d644b90148de1cea617cee8fdc4c455ccb79a86f87744d9
3
+ size 65130
crosslingual_test/exams-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04bcfef2f4570b339effd7b8d6012f4ef9b608f043e895c67f51fd0eaaf05d6b
3
+ size 3438525
crosslingual_tr/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a71ce9945b9df3184c07dc7e15aa9a64de95918e11947724286392df874d8aa3
3
+ size 346492
crosslingual_tr/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd88d1afad1a867352c4863cccf3565b257960ace414e779ddd538515e46ac56
3
+ size 94420
crosslingual_vi/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b376b22097629f6f66f91b04b2e83257e6168a345eb1b6003d4554ab2b701039
3
+ size 366030
crosslingual_vi/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c8666cbea40065c515be2b7c76699b4d00489c9f58f5ca143bfdd33490de58c
3
+ size 96908
crosslingual_with_para_bg/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d81ee13daf202b308cdd369f7bae6f430e70266bfc82f3f8a070039410f5e9a
3
+ size 12606674
crosslingual_with_para_bg/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e39e2d4172299a9f5a54f8aa6bb8d39112b0d71237963d9a671c8b9413b5dabd
3
+ size 3187935
crosslingual_with_para_hr/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a373c86917f7ee0b809ff931926c362c0082a0a94550ad714c831c9e7b6c1e32
3
+ size 8021777
crosslingual_with_para_hr/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a63ec5f892fbab8b779456a45f38324974b61c82d545bde741d94001d35de70
3
+ size 1817673
crosslingual_with_para_hu/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:febcb90824f230b93270f83415a1498e9942f0b8ac1e5504dd9ee45bae6f45ef
3
+ size 7064583
crosslingual_with_para_hu/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9aad1ff7d2e35f271f9e5363438bcd693cc771627f479d4bd1aa548bacf66463
3
+ size 2199040
crosslingual_with_para_it/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aa3f63d296a53afb55357a6862fad9b8d8bf6b970f9f31f61b72735566aa65f
3
+ size 5572125
crosslingual_with_para_it/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5750bdc53258673d55d56cce56af670048d797453fa82a5b55dd1e0ff5e65b92
3
+ size 1335490
crosslingual_with_para_mk/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:808cdba0d67ade3794324e8df204bcfc85ef399f7a9a47c256858716cc315059
3
+ size 10283647
crosslingual_with_para_mk/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5a3be8f78019877cab7dcaae7e11e93583489a621957de2ed7f550a2ddbf0fb
3
+ size 2594825
crosslingual_with_para_pl/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1234476f5faa344967ede7b00407b5fddec4b893bbcca0e46c5d856614bcff2c
3
+ size 5225950
crosslingual_with_para_pl/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef2af6c570302be2280c81a24b2f9e19ae6fce830c5b8e990c59171ab6127e7c
3
+ size 1313220
crosslingual_with_para_pt/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f967eba03a10efc48bb24ec7658df9f291de5fa75792b7a53150a57fb1f9145c
3
+ size 3961123
crosslingual_with_para_pt/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66691fc3c044d2c97f03f8b8dc3d2520de521487c35729a0e44226f1132e909d
3
+ size 995844
crosslingual_with_para_sq/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ea1132a163da39b1bc772d3870008b2423c8eb9d93c9a9ffe6a6266e1a71a5a
3
+ size 5623572
crosslingual_with_para_sq/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:368a555f13abd4c6afa3335d3ef3e24fa1fb21082c9dcd352b181565b57f2ab4
3
+ size 1488662
crosslingual_with_para_sr/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1aa400a5cbf7b8fb5b219d7d90c1a5a8829d3eb4d390f70b77771bed192593c
3
+ size 6526993
crosslingual_with_para_sr/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aca93544ec48f0c24e8fc0d7b404ed3fc33ca7559a924b088ebfe85e9dc8d22e
3
+ size 1508420
crosslingual_with_para_test/exams-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b095b083a2f820709a6ce59029307f57e9b7eff5dcc6202c2e4f25b1b53630d6
3
+ size 62878028
crosslingual_with_para_tr/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:351fe6e0e5142af2005b64d8e5452fe2184bc7c47f75667930b4c56ec9edec6b
3
+ size 5832097
crosslingual_with_para_tr/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6c554967be3e4df975cbf2f27f5cc9d6679ac5a9d818c6fdb675b565dffc4f8
3
+ size 1514559
crosslingual_with_para_vi/exams-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc125930b53300eef0dbbf818df3b488ecdd4ecd13a61e4dcfe33b0f5df5fb85
3
+ size 10473198
crosslingual_with_para_vi/exams-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8144e83634f88778db8fd3c04d7156d5bc0c470ec7db31cac2d499dc28e33e4f
3
+ size 2554878
dataset_infos.json DELETED
The diff for this file is too large to render. See raw diff
 
exams.py DELETED
@@ -1,266 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- """EXAMS: a benchmark dataset for multilingual and cross-lingual question answering"""
16
-
17
-
18
- import json
19
-
20
- import datasets
21
-
22
-
23
- _CITATION = """\
24
- @article{hardalov2020exams,
25
- title={EXAMS: A Multi-subject High School Examinations Dataset for Cross-lingual and Multilingual Question Answering},
26
- author={Hardalov, Momchil and Mihaylov, Todor and Dimitrina Zlatkova and Yoan Dinkov and Ivan Koychev and Preslav Nvakov},
27
- journal={arXiv preprint arXiv:2011.03080},
28
- year={2020}
29
- }
30
- """
31
-
32
- _DESCRIPTION = """\
33
- EXAMS is a benchmark dataset for multilingual and cross-lingual question answering from high school examinations.
34
- It consists of more than 24,000 high-quality high school exam questions in 16 languages,
35
- covering 8 language families and 24 school subjects from Natural Sciences and Social Sciences, among others.
36
- """
37
-
38
- _HOMEPAGE = "https://github.com/mhardalov/exams-qa"
39
-
40
- _LICENSE = "CC-BY-SA-4.0"
41
-
42
- _URLS_LIST = [
43
- ("alignments", "https://github.com/mhardalov/exams-qa/raw/main/data/exams/parallel_questions.jsonl"),
44
- ]
45
- _URLS_LIST += [
46
- (
47
- "multilingual_train",
48
- "https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/train.jsonl.tar.gz",
49
- ),
50
- ("multilingual_dev", "https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/dev.jsonl.tar.gz"),
51
- ("multilingual_test", "https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/test.jsonl.tar.gz"),
52
- (
53
- "multilingual_with_para_train",
54
- "https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/with_paragraphs/train_with_para.jsonl.tar.gz",
55
- ),
56
- (
57
- "multilingual_with_para_dev",
58
- "https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/with_paragraphs/dev_with_para.jsonl.tar.gz",
59
- ),
60
- (
61
- "multilingual_with_para_test",
62
- "https://github.com/mhardalov/exams-qa/raw/main/data/exams/multilingual/with_paragraphs/test_with_para.jsonl.tar.gz",
63
- ),
64
- ]
65
-
66
- _CROSS_LANGUAGES = ["bg", "hr", "hu", "it", "mk", "pl", "pt", "sq", "sr", "tr", "vi"]
67
- _URLS_LIST += [
68
- ("crosslingual_test", "https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/test.jsonl.tar.gz"),
69
- (
70
- "crosslingual_with_para_test",
71
- "https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/test_with_para.jsonl.tar.gz",
72
- ),
73
- ]
74
- for ln in _CROSS_LANGUAGES:
75
- _URLS_LIST += [
76
- (
77
- f"crosslingual_{ln}_train",
78
- f"https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/train_{ln}.jsonl.tar.gz",
79
- ),
80
- (
81
- f"crosslingual_with_para_{ln}_train",
82
- f"https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/train_{ln}_with_para.jsonl.tar.gz",
83
- ),
84
- (
85
- f"crosslingual_{ln}_dev",
86
- f"https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/dev_{ln}.jsonl.tar.gz",
87
- ),
88
- (
89
- f"crosslingual_with_para_{ln}_dev",
90
- f"https://github.com/mhardalov/exams-qa/raw/main/data/exams/cross-lingual/with_paragraphs/dev_{ln}_with_para.jsonl.tar.gz",
91
- ),
92
- ]
93
- _URLs = dict(_URLS_LIST)
94
-
95
-
96
- class ExamsConfig(datasets.BuilderConfig):
97
- def __init__(self, lang, with_para, **kwargs):
98
- super(ExamsConfig, self).__init__(version=datasets.Version("1.0.0", ""), **kwargs)
99
- self.lang = lang
100
- self.with_para = "_with_para" if with_para else ""
101
-
102
-
103
- class Exams(datasets.GeneratorBasedBuilder):
104
- """Exams dataset"""
105
-
106
- VERSION = datasets.Version("1.0.0")
107
- BUILDER_CONFIG_CLASS = ExamsConfig
108
- BUILDER_CONFIGS = [
109
- ExamsConfig(
110
- lang="",
111
- with_para=False,
112
- name="alignments",
113
- description="loads the alignment between question IDs across languages",
114
- ),
115
- ExamsConfig(
116
- lang="all",
117
- with_para=False,
118
- name="multilingual",
119
- description="Loads the unified multilingual train/dev/test split",
120
- ),
121
- ExamsConfig(
122
- lang="all",
123
- with_para=True,
124
- name="multilingual_with_para",
125
- description="Loads the unified multilingual train/dev/test split with Wikipedia support paragraphs",
126
- ),
127
- ExamsConfig(
128
- lang="all", with_para=False, name="crosslingual_test", description="Loads crosslingual test set only"
129
- ),
130
- ExamsConfig(
131
- lang="all",
132
- with_para=True,
133
- name="crosslingual_with_para_test",
134
- description="Loads crosslingual test set only with Wikipedia support paragraphs",
135
- ),
136
- ]
137
- for ln in _CROSS_LANGUAGES:
138
- BUILDER_CONFIGS += [
139
- ExamsConfig(
140
- lang=ln,
141
- with_para=False,
142
- name=f"crosslingual_{ln}",
143
- description=f"Loads crosslingual train and dev set for {ln}",
144
- ),
145
- ExamsConfig(
146
- lang=ln,
147
- with_para=True,
148
- name=f"crosslingual_with_para_{ln}",
149
- description=f"Loads crosslingual train and dev set for {ln} with Wikipedia support paragraphs",
150
- ),
151
- ]
152
-
153
- DEFAULT_CONFIG_NAME = (
154
- "multilingual_with_para" # It's not mandatory to have a default configuration. Just use one if it make sense.
155
- )
156
-
157
- def _info(self):
158
- if self.config.name == "alignments": # This is the name of the configuration selected in BUILDER_CONFIGS above
159
- features = datasets.Features(
160
- {
161
- "source_id": datasets.Value("string"),
162
- "target_id_list": datasets.Sequence(datasets.Value("string")),
163
- }
164
- )
165
- else: # This is an example to show how to have different features for "first_domain" and "second_domain"
166
- features = datasets.Features(
167
- {
168
- "id": datasets.Value("string"),
169
- "question": {
170
- "stem": datasets.Value("string"),
171
- "choices": datasets.Sequence(
172
- {
173
- "text": datasets.Value("string"),
174
- "label": datasets.Value("string"),
175
- "para": datasets.Value("string"),
176
- }
177
- ),
178
- },
179
- "answerKey": datasets.Value("string"),
180
- "info": {
181
- "grade": datasets.Value("int32"),
182
- "subject": datasets.Value("string"),
183
- "language": datasets.Value("string"),
184
- },
185
- }
186
- )
187
- return datasets.DatasetInfo(
188
- description=_DESCRIPTION,
189
- features=features, # Here we define them above because they are different between the two configurations
190
- supervised_keys=None,
191
- homepage=_HOMEPAGE,
192
- license=_LICENSE,
193
- citation=_CITATION,
194
- )
195
-
196
- def _split_generators(self, dl_manager):
197
- """Returns SplitGenerators."""
198
- archives = dl_manager.download(_URLs)
199
- if self.config.name == "alignments":
200
- return [
201
- datasets.SplitGenerator(
202
- name="full",
203
- gen_kwargs={"filepath": archives["alignments"]},
204
- ),
205
- ]
206
- elif self.config.name in ["multilingual", "multilingual_with_para"]:
207
- return [
208
- datasets.SplitGenerator(
209
- name=spl_enum,
210
- gen_kwargs={
211
- "filepath": f"{spl}{self.config.with_para}.jsonl",
212
- "files": dl_manager.iter_archive(archives[f"{self.config.name}_{spl}"]),
213
- },
214
- )
215
- for spl, spl_enum in [
216
- ("train", datasets.Split.TRAIN),
217
- ("dev", datasets.Split.VALIDATION),
218
- ("test", datasets.Split.TEST),
219
- ]
220
- ]
221
- elif self.config.name in ["crosslingual_test", "crosslingual_with_para_test"]:
222
- return [
223
- datasets.SplitGenerator(
224
- name=datasets.Split.TEST,
225
- gen_kwargs={
226
- "filepath": f"test{self.config.with_para}.jsonl",
227
- "files": dl_manager.iter_archive(archives[self.config.name]),
228
- },
229
- ),
230
- ]
231
- else:
232
- return [
233
- datasets.SplitGenerator(
234
- name=spl_enum,
235
- gen_kwargs={
236
- "filepath": f"{spl}_{self.config.lang}{self.config.with_para}.jsonl",
237
- "files": dl_manager.iter_archive(archives[f"{self.config.name}_{spl}"]),
238
- },
239
- )
240
- for spl, spl_enum in [
241
- ("train", datasets.Split.TRAIN),
242
- ("dev", datasets.Split.VALIDATION),
243
- ]
244
- ]
245
-
246
- def _generate_examples(self, filepath, files=None):
247
- if self.config.name == "alignments":
248
- with open(filepath, encoding="utf-8") as f:
249
- for id_, line in enumerate(f):
250
- line_dict = json.loads(line.strip())
251
- in_id, out_list = list(line_dict.items())[0]
252
- yield id_, {"source_id": in_id, "target_id_list": out_list}
253
- else:
254
- for path, f in files:
255
- if path == filepath:
256
- for id_, line in enumerate(f):
257
- line_dict = json.loads(line.strip())
258
- for choice in line_dict["question"]["choices"]:
259
- choice["para"] = choice.get("para", "")
260
- yield id_, {
261
- "id": line_dict["id"],
262
- "question": line_dict["question"],
263
- "answerKey": line_dict["answerKey"],
264
- "info": line_dict["info"],
265
- }
266
- break