Upload 8 files
Browse files- .gitattributes +3 -55
- MSA_test.json +0 -0
- MSA_train.json +3 -0
- MSA_val.json +3 -0
- README.md +76 -106
- spoken_test.json +0 -0
- spoken_train.json +3 -0
- spoken_val.json +0 -0
.gitattributes
CHANGED
@@ -1,55 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
27 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
36 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
37 |
-
# Audio files - uncompressed
|
38 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
39 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
40 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
41 |
-
# Audio files - compressed
|
42 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
43 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
44 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
45 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
46 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
47 |
-
# Image files - uncompressed
|
48 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
49 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
50 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
51 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
52 |
-
# Image files - compressed
|
53 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
+
MSA_train.json filter=lfs diff=lfs merge=lfs -text
|
2 |
+
spoken_train.json filter=lfs diff=lfs merge=lfs -text
|
3 |
+
MSA_val.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MSA_test.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
MSA_train.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3bd005333678f5b57ecdb29a24fe4f2391f4dfd380cb856667963a5080ef45f
|
3 |
+
size 134
|
MSA_val.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8b50bc8af01148989819d153074647690e0b30fc0edb1121bbe816933647599
|
3 |
+
size 12654174
|
README.md
CHANGED
@@ -1,106 +1,76 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
ืืืืจ 2: ืื, ืฉืจื ืืืืคื ืืงืฆืืขื)
|
78 |
-
|
79 |
-
Rejected:
|
80 |
-
ืฉืืื: ูู
ูู ุตุจุงุญ ูุฎูุฑุ (ืืื ืืืงืจ ืืื?)
|
81 |
-
ืชืฉืืื: ููุฌู
ูุน (ืืืืื)
|
82 |
-
ืงืื ืืงืกื: ุตุจุงุญ ุงูุฎูุฑ ููุฌู
ูุน (ืืืงืจ ืืื ืืืืื)
|
83 |
-
|
84 |
-
ืืืื ืืืืง
|
85 |
-
ืืกืืฃ ืฉืื ืืืืกืืฃ ื ืืืื ืืงืจืืืช ืืืืืื-ืกื ื-330 ืฉืืืืช ืืชืฉืืืืช. ืืกื ืื ืืื ืฉืืืฉ ืืืขืจืืช ืืืืืช ืืืืื-ืกื, ืืฉืจ ื ืืืื ืืืืฆืขืืช ืฉื ื ืคืจืืืจืื ืฉื ืงืืขื ืืจืืฉ:
|
86 |
-
ื. ืืืื ืฉืืืืช ืืชืฉืืืืช ืชืงืื ืืช (ืืื ืืชืฉืืื X ืืื ืขืื ื ืืฉืืื Y ืืืื ืชื ืคืกืงืช ืืงืื ืืงืกื Z): ื-92% ืืืฉืืืืช ืฉื ืืืื ืืฆืืจื ืืืืืงื ื ืืฆืื ืชืงืื ืืช.
|
87 |
-
ื. ืืืื ืชืฉืืืืช ืืขืืืช ืืืื ืชืฉืืื ืชืงืื ืืชืื ืืฉืืืืช ืฉื ืืฆืื ืชืงืื ืืช (ืืืื ืชืฉืืื ืชืงืื ืืืืืจ ืืชืืจ ืืืืืช ืืืงืกื ืืืื ืืืืืช ืืคืกืงื ืฉืืกืคืงืช ืชืฉืืื ืืฉืืื): ื-97% ืืืฉืืืืช ืืชืงืื ืืช ืืื ืืขืืืช ืืืื ืชืฉืืื ืืื ืืืื.
|
88 |
-
ืืชืื ืืฉืืืืช ืืืชืฉืืืืช ืฉื ืืืื ืืืืืงื ืื, ื-71% ืืื ืืืืืช (good), ื-17% ืขืืจื ืกืฃ (verified), ื-4% ืืื ืืขืืืืช (gold) ืื-8% ื ืคืกืื (rejected).
|
89 |
-
|
90 |
-
ื ืืงืื ืืืืื
|
91 |
-
ืืกืืื ืฉืื ืืืืกืืฃ ื ืขืจืื ืืกืคืจ ืคืขืืืืช ื ืืงืื ืขื ืืืืื: ื ืคืกืื ืฉืืืืช ืืืืช, ื ืืืงื ืจืืืืื ืืืืชืจืื ืืกืืฃ ืื ืืชืืืืช ืฉืืื, ื ืืกืฃ ืกืืื ืฉืืื ืืฉืืืืช ืฉืืื ืืื ืืกืจ, ื ืืงื ืชืืืื ืืืืชืจืื ืืืฉืืืืช ืืืชืฉืืืืช, ืชืืงื ื ืฉืืืืช ืืื ืืืืช ืฉืืื, ืชืืงื ื ืชืฉืืืืช ืฉื ืืชืื ืืืืฆืข, ืืขืื. ืืฉืื ืืฆืืื ืฉืืชืืงืื ืื ืฉื ืขืฉื ืืื ืฉื ืืืจืื ืฉืืืื ืืืจืงืืืคืงืืื ืืื ืืื ืฉืขืืืืื ืืืคืจืืข ืืืืื. ืชืืคืขืืช ืืืขืืืช, ืืื ืฉืืืืืช ืืชืื ืืฉืืืืช, ืื ืชืืงื ื.
|
92 |
-
|
93 |
-
ืืืืงื ืืกืืื
|
94 |
-
ืืืืจ ืฉืื ืืืืกืืฃ, ืืืืง ืืืืื-ืกื ืืฉืืืฉื ืกืืื: ืกื ืืืืื (90%), ืกื ืืืืืฆืื (5%) ืืกื ืืืื (5%). ืืืืืงื ืฉื ืืฉืืืืช ืืกืืื ืืืืชื ืืงืจืืืช-ื ืฉืืืช, ืืืฉืจ ืืกืคืจ ืืืืืฆืื ืขื ืืืชืคืืืืช ื ืงืืขื ืืจืืฉ:
|
95 |
-
ื. ืื ืืฉืืืืช ืฉื ืฉืืื ืขื ืืืชื ื"ืขืจื" (ืืชืื ืืืฉืืชืืช ืืกืคืจืืชืืช ืื ืคืกืงื ืืชืื ืชืืืื ืืืืืืจืช) ืืืงืฆื ืืืืชื ืกื, ืขื ืื ืช ืืืืื ืข ืืืืืื ืืืืื ืขื ืืืืจ ืฉืืืื ืืกื ืืืืื ("ืืืืืช ืืืืข").
|
96 |
-
ื. ืจืื ืืฉืืืืช ืฉืงืืืื ืชืืืืช ืืืืืช "gold" ืืืืื ืืงืจืช ืืืืืืช ืืืงืฆื ืืชืชื-ืืกืืื ืฉื ืืืืืืืฆืื ืืืืืื (ืืืืชื ืืืืื ืืขืจืืื ืฉืืืืื ืืืชื ืืฉืืืืชื). ืคืจืืืจ ืื ืชืืจื ืืืืืืชื ืฉื ืชืชื-ืกืืื ืืื.
|
97 |
-
ืืื ืฉืืืฉืช ืืกืืื ื ืฉืืจ ืืืก ืงืืืข ืืื ืื ืืชื ืืื ืฉืืืืช ืคืชืืจืืช ืืืืชื ืคืชืืจืืช, ืขื ืื ืช ืื ืืชืช ืืฉืงื ืขืืืฃ ืืกืื ืืกืืื ืฉื ืฉืืื ืืืื ืืกืืื.
|
98 |
-
ืืืืจ ืืืืืงื, ืกื ืืืืื ืืกื ืืืืืืืฆืื ืขืืจื ืขืืืื ื ืืกืฃ:
|
99 |
-
ื. ืืงืจื ืืจืืืืช ืฉื ืืืืืช ืืฉืืืืช ืืืืื ืฉืืืืช ืืืืคื ืืื ื ืืืืืช ืืฆืืจื (ืื ืฉืืื ืืกืืื ืืื ืฉืืืืช ืื ืชืงืื ืืช).
|
100 |
-
ื. ืกืืืื ืชืฉืืืืช ื ืืกืคืืช: ืืืงืจืื ืฉืืื ืืช ืืชืฉืืื ืืฉืืื ื ืืชื ืืกืื ืืืืืื ืืจืืื ื ืืื ืืช, ื ืืกืคื ืืคืฉืจืืืืช ืกืืืื ื ืืกืคืืช ืืื ืืื ืืืคืื ืืช ืืกืืื ืืจืืืกืืืื ืืืชืจ.
|
101 |
-
ืืืืืื: ืื ืืชืฉืืื ื ืชืื ื ืืชืื ืืจืืืืช, ืืื ืขืฉืืื ืืืืื ืื ืฉืื ืืืืื ืืช ืืืจืืืืช (ืืขืืืื ืชืืื ื ืืื ื); ืชืฉืืืืช ืขืฉืืืืช ืืืืื ืื ืฉืื ืืืืื ืืืืืช ืืืก ืืืงืืืืืช ืืช ืชืืื ืืชืฉืืื (ื-, ืขื-) ืื ืจืืืื ืชืืืจื ("ืื"ืจ ืืืื ืกืขืื" ืื "ืืืื ืกืขืื") ืืื'. ืืื ืฉืืื ืคืชืืจื ื ืืกืคื ืืื 0 ื-3 ืืคืฉืจืืืืช ื ืืกืคืืช ืืกืืืื ืชืฉืืื.
|
102 |
-
|
103 |
-
ืกืืืื
|
104 |
-
ArQ ืืื ืืืื-ืกื ืืืื ืืืืืืชื ืืกืื Question Answering ืืืืื 32,625 ืฉืืืืช ืืชืฉืืืืช ืืขืจืืืช ืืืืืจืช ืฉื ืืืืจ ืืืื ื ืืืขืจืืืช ืกืคืจืืชืืช ืืืืจื ืืช ืกืื ืืจืืืช (MSA). ืื ื ืชืงืืื ืฉ-ArQ ืืชืจืื ืืงืืืืช ื-NLP, ืืืฆื ืืืืฆืื ื ืืกืคืื ืฉื ืขืฉืื ืืืกืืจืช ืชืืื ืืช ื-NLP ืืืืืืืช, ืืืคืฉืจ ืืชืจืื ืืืืฆืื ืฉื ืขืจืืืช ืืืืืจืช ืฉื ืืืืจ ืืืื ื ืืชืืื ื-NLP. ืื ื ืืงืืืื ืฉืืืืื-ืกื ืืฉืืฉ ืืงืืืื ืชืฉืชืืืช ืืืื ืืืืืืืช ืืขืืืื ืืืื ืช ืืฉืคื ืืขืจืืืช, ืขืืืื ื ืืชื ืืืื ืืืกืก ืืืฉืืืื ืืชืงืืืื ืฉื ืขืืืื ืฉืคื ืืืขืืช (ืื ืืขื ืืืคืืฉ, ืฆ'ืืืืืื, ืืืื"ื). ืื ืืกืฃ, ืื ืื ื ืืงืืืื ืฉืืืืื-ืกื ืฉืืฆืจื ื, ืืื ืขื ืืืืข ืืืืืื ืฉืฉืืชืคื ื, ืืชืจืื ืืืืงืจ ืืชืืื ื-NLP, ืืืื ืืฉืจืื ืืืกืืืขื ืืืฆืืจืช ืืืื-ืกืืื ืืืฉืื.
|
105 |
-
|
106 |
-
ืชืืืืช ืืื ืืฉืืชืคืื ืฉืงืฆืจื ืืืจืืขื ืืืืืื ืืช ืืืื ืืคืจืืืืงื ืืฉืื ืื
|
|
|
1 |
+
# ArQ: Arabic Question Answering Dataset
|
2 |
+
## Summary
|
3 |
+
ArQ is a question answering dataset in Levantine Spoken Arabic and Modern Standard Arabic (MSA), consisting of 32,625 triplets (context-question-answer).
|
4 |
+
|
5 |
+
## Introduction
|
6 |
+
The dataset follows the format and methodology of HeQ (<a href="https://github.com/NNLP-IL/Hebrew-Question-Answering-Dataset">Hebrew Questions and Answers Dataset</a>). A team of annotators were given random context paragraphs in either spoken Arabic or MSA, and were asked to write relevant questions and mark the correct answers. The answer to each question was segment of text (span) included in the relevant paragraph.
|
7 |
+
|
8 |
+
Paragraphs were sourced using two types of sources: (1) for MSA we used short news articles from an online Israeli-Arabic weekly newspaper, and (2) for spoken Arabic we used transcriptions of short videos and recorded interviews in Levantine Arabic.
|
9 |
+
|
10 |
+
**Questions on both sources were written in Levantine Spoken Arabic (no MSA questions were written)**.
|
11 |
+
|
12 |
+
## Question Features
|
13 |
+
__Two types of questions were collected:__
|
14 |
+
|
15 |
+
Answerable questions (24,124; 74%): Questions for which a single correct answer is present in the paragraph.
|
16 |
+
|
17 |
+
Unanswerable questions (8,501; 26%): Questions related to the paragraph's content, where a correct answer is not present in the paragraph, but the paragraph provides a "plausible" incorrect answer in terms of logic.
|
18 |
+
|
19 |
+
## Quality Labels
|
20 |
+
As part of ongoing quality control during the collection process, and additional checks on the test and validation sets, approximately 12% of the final data was manually chekced for quality.
|
21 |
+
|
22 |
+
Triplets received one of the following quality labels:
|
23 |
+
|
24 |
+
*Verified*: Questions that passed the threshold and were relatively easy, with wording exactly or similar to the relevant sentence in the paragraph, or very common questions.
|
25 |
+
|
26 |
+
*Good*: Questions with wording that was significantly different (lexically or syntactically) from the wording of the relevant sentence in the paragraph.
|
27 |
+
|
28 |
+
*Gold*: Questions that involve more complex inference-making.
|
29 |
+
|
30 |
+
*Rejected*: Questions that did not pass the threshold and therefore not indcluded in the published data.
|
31 |
+
|
32 |
+
## Additional Answers
|
33 |
+
After splitting the data, the test and validation subsets underwent additional processing. In cases where there were multiple correct answer spans for an answerable question, the additional possible answer spans were added by annotators to both subsets to enhance robustness.
|
34 |
+
|
35 |
+
For example, if the answer appears in quotation marks, another possible answer could be the same answer without the quotation marks. Another example involves answers that may or may not include prepositions preceding the content or appositions. Each answerable question in the test and validation sets received 0 to 3 additional possible answers.
|
36 |
+
|
37 |
+
## Dataset Statistics
|
38 |
+
The table below shows the number of answerable and unanswerable questions, by source:
|
39 |
+
|
40 |
+
| | MSA | Spoken | Total |
|
41 |
+
|-----------|-------|--------|--------|
|
42 |
+
| Answerable| 12421 | 11703 | 24124 (74%) |
|
43 |
+
| Unanswerable| 4425 | 4076 | 8501 (26%) |
|
44 |
+
|
45 |
+
The table below shows the number of triplets, by sub-set:
|
46 |
+
|
47 |
+
| | MSA | Spoken | Total |
|
48 |
+
|-----------|-------|--------|--------|
|
49 |
+
| Train | 15080 | 14197 | 29277 (90%) |
|
50 |
+
| Val | 928 | 745 | 1673 (5%) |
|
51 |
+
| Test | 838 | 837 | 1675 (5%) |
|
52 |
+
|
53 |
+
The table below shows the number of unique questions and paragraphs, by source:
|
54 |
+
|
55 |
+
| | MSA | Spoken |
|
56 |
+
|-----------|-------|--------|
|
57 |
+
| Questions | 16846 (52%) | 15779 (48%) |
|
58 |
+
| Unique Paragraphs | 1016 | 1024 |
|
59 |
+
|
60 |
+
The table below shows the question word distribution in the dataset:
|
61 |
+
|
62 |
+
| What | Who | How Much/Many | Which | Where | When | How | Why |
|
63 |
+
|-------|-----|---------------|-------|-------|------|-----|-----|
|
64 |
+
| 11517 (34%) | 7323 (22%) | 4451 (13%) | 4103 (12%) | 3293 (10%) | 1351 (4%) | 880 (3%) | 700 (2%) |
|
65 |
+
|
66 |
+
## Code
|
67 |
+
upcoming.
|
68 |
+
|
69 |
+
## Model
|
70 |
+
upcoming.
|
71 |
+
|
72 |
+
## Contributors
|
73 |
+
ArQ was annotated by Webiks for MAFAT, as part of <a href="https://github.com/NNLP-IL">NNLP-IL</a>, the Israeli national initiative in the field of NLP in Hebrew and Arabic.
|
74 |
+
|
75 |
+
Contributors: Amir Shufaniya (Webiks), Carinne Cherf (Webiks) and Yossy Eizenrouah (MAFAT).
|
76 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spoken_test.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
spoken_train.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb20a36986c27d87485248935b0d46d02917b7999f98465669b9b75b5f3f922d
|
3 |
+
size 133
|
spoken_val.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|