Datasets:

Languages:
Turkish
License:
e-budur commited on
Commit
d85a449
·
1 Parent(s): 5cf6fa6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +213 -1
README.md CHANGED
@@ -1,3 +1,215 @@
1
  ---
2
- license: cc-by-sa-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - tr
4
+ license:
5
+ - cc-by-sa-4.0
6
+ annotations_creators:
7
+ - machine-generated
8
+ language_creators:
9
+ - machine-generated
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: SQuAD-TR
13
+ size_categories:
14
+ - 100K<n<1M
15
+ source_datasets:
16
+ - extended|squad
17
+ task_categories:
18
+ - question-answering
19
+ task_ids:
20
+ - open-domain-qa
21
+ - extractive-qa
22
+ paperswithcode_id: squad-tr
23
+ configs:
24
+ - default
25
+ - excluded
26
+ - openqa
27
+
28
+ dataset_info:
29
+ - config_name: default
30
+ features:
31
+ - name: id
32
+ dtype: string
33
+ - name: title
34
+ dtype: string
35
+ - name: context
36
+ dtype: string
37
+ - name: question
38
+ dtype: string
39
+ - name: answers
40
+ sequence:
41
+ - name: text
42
+ dtype: string
43
+ - name: answer_start
44
+ dtype: int32
45
+ splits:
46
+ - name: train
47
+ num_bytes: 95795325
48
+ num_examples: 104791
49
+ - name: validation
50
+ num_bytes: 8287109
51
+ num_examples: 8291
52
+ download_size: 9425486
53
+ dataset_size: 104082434
54
+ - config_name: excluded
55
+ features:
56
+ - name: id
57
+ dtype: string
58
+ - name: title
59
+ dtype: string
60
+ - name: context
61
+ dtype: string
62
+ - name: question
63
+ dtype: string
64
+ - name: answers
65
+ sequence:
66
+ - name: text
67
+ dtype: string
68
+ splits:
69
+ - name: train
70
+ num_bytes: 24130226
71
+ num_examples: 25528
72
+ - name: validation
73
+ num_bytes: 3427513
74
+ num_examples: 3582
75
+ download_size: 5270628
76
+ dataset_size: 27557739
77
+ - config_name: openqa
78
+ features:
79
+ - name: id
80
+ dtype: string
81
+ - name: title
82
+ dtype: string
83
+ - name: context
84
+ dtype: string
85
+ - name: question
86
+ dtype: string
87
+ - name: answers
88
+ sequence:
89
+ - name: text
90
+ dtype: string
91
+ splits:
92
+ - name: train
93
+ num_bytes: 119261215
94
+ num_examples: 130319
95
+ - name: validation
96
+ num_bytes: 11649046
97
+ num_examples: 11873
98
+ download_size: 14696114
99
+ dataset_size: 130910261
100
  ---
101
+ # Dataset Card for SQuAD-TR
102
+
103
+ ## Table of Contents
104
+ - [Dataset Description](#dataset-description)
105
+ - [Dataset Summary](#dataset-summary)
106
+ - [Dataset Structure](#dataset-structure)
107
+ - [Data Instances](#data-instances)
108
+ - [Data Fields](#data-fields)
109
+ - [Data Splits](#data-splits)
110
+ - [Dataset Creation](#dataset-creation)
111
+ - [Curation Rationale](#curation-rationale)
112
+ - [Source Data](#source-data)
113
+ - [Additional Information](#additional-information)
114
+ - [Licensing Information](#licensing-information)
115
+ - [Citation Information](#citation-information)
116
+
117
+ ## Dataset Description
118
+
119
+ - **Repository:** [SQuAD-TR GitHub Repository](https://github.com/boun-tabi/SQuAD2.0-TR)
120
+ - **Paper:** Building Efficient and Effective OpenQA Systems for Low-Resource Languages
121
+ - **Point of Contact:** [Emrah Budur](mailto:emrah.budur@boun.edu.tr)
122
+
123
+ ### Dataset Summary
124
+
125
+ SQuAD-TR is a machine translated version of the original SQuAD2.0 dataset into Turkish, using "Amazon Translate".
126
+
127
+ ## Dataset Structure
128
+
129
+ ### Data Instances
130
+
131
+ Our data instances follow that of the original SQuAD2.0 dataset.
132
+ Shared below is an example instance from the default train dataset.
133
+
134
+ ```
135
+ {
136
+ "id": "56be85543aeaaa14008c9063",
137
+ "title": "Beyonce",
138
+ "context": "Beyoncé Giselle Knowles-Carter (d. 4 Eylül 1981), ABD'li şarkıcı, söz yazarı, prodüktör ve aktris. Houston, Teksas'ta doğup büyüdü, çocukken çeşitli şarkı ve dans yarışmalarında sahne aldı ve 1990'ların sonlarında R&B kız grubu Destiny's Child'ın solisti olarak ün kazandı. Babası Mathew Knowles tarafından yönetilen grup tüm zamanların en çok satan kız gruplarından biri oldu. Beyoncé'nin ilk albümü Dangerously in Love'ın (2003) yayınlanmasını izlemiştir ve beş Grammy Ödülü kazanmış ve Billboard Hot 100 bir numaralı single'ları “Crazy in Love” ve “Baby Boy\"un yer aldığı Beyoncé'nin ilk albümü Dangerously in Love (2003) yayınlandı.",
139
+ "question": "Beyonce ne zaman popüler olmaya başladı?",
140
+ "answers": [
141
+ {
142
+ "text": "1990'ların sonlarında",
143
+ "answer_start": 192
144
+ }
145
+ ]
146
+ }
147
+
148
+ ```
149
+ Notes:
150
+ - The training split we get by `openqa` parameter will not include `answer_start` field as it is not required for the training phase of the OpenQA formulation.
151
+ - The split we get by `excluded` parameter is also missing `answer_start` field as we could not identify the starting index of the answers for these examples from the context after the translation.
152
+
153
+ ### Data Fields
154
+
155
+ The data fields with `*` prefix are the same for all splits. The splits we get by `openqa` and `excluded` parameters are missing `answer_start` field.
156
+
157
+ - `*id`: a string feature.
158
+ - `*title`: a string feature.
159
+ - `*context`: a string feature.
160
+ - `*question`: a string feature.
161
+ - `*answers`: a dictionary feature containing:
162
+ - `*text`: a string feature.
163
+ - `answer_start`: a int32 feature.
164
+
165
+ ### Data Splits
166
+
167
+ The SQuAD2.0 TR dataset has 2 splits: _train_ and _validation_. Below are the statistics for the most recent version of the dataset in the default configuration.
168
+
169
+ | Split | Articles | Paragraphs | Answerable Questions | Unanswerable Questions | Total |
170
+ | ---------- | -------- | ---------- | -------------------- | ---------------------- | ------- |
171
+ | train | 442 | 18776 | 61293 | 43498 | 104,791 |
172
+ | validation | 35 | 1204 | 2346 | 5945 | 8291 |
173
+
174
+ In addition to the default configuration, we also include a different view of train split specifically for openqa setting. In this setting, we only provide question-answer pairs along with their contexts.
175
+
176
+ | Split | Articles | Paragraphs | Questions w/ answers | Total |
177
+ | ---------- | -------- | ---------- | -------------------- | ------- |
178
+ | openqa | 442 | 18776 | 86821 | 86821 |
179
+
180
+
181
+
182
+ ## Dataset Creation
183
+
184
+ ### Curation Rationale
185
+
186
+ We translated the titles, context paragraphs, questions and answer spans from the original SQuAD2.0 dataset using "Amazon Translate" - requiring us to remap the starting positions of the answer spans, since their positions were changed due to the automatic translation.
187
+ We performed an automatic post-processing step to populate the start positions for the answer spans.
188
+ To do so, we have first looked at whether there was an exact match for the translated answer span in the translated context paragraph and if so, we kept the answer text along with this start position found.
189
+ If no exact match was found, we looked for approximate matches using a character-level edit distance algorithm.
190
+ We have excluded the question-answer pairs from the original dataset where neither an exact nor an approximate match was found in the translated version.
191
+ Our "default" configuration corresponds to this version.
192
+ We have put the "excluded" examples in our "excluded" configuration.
193
+ As a result, the datasets in these two configurations are mutually exclusive.
194
+
195
+ | Split | Articles | Paragraphs | Questions wo/ answers | Total |
196
+ | ------- | -------- | ---------- | --------------------- | ------- |
197
+ | train | ? | ? | 25528 | 25528 |
198
+ | dev | ? | ? | ? | ? |
199
+
200
+
201
+ More information on our translation strategy can be found in our linked paper.
202
+
203
+ ### Source Data
204
+
205
+ This dataset used the original SQuAD2.0 dataset as its source data.
206
+
207
+ ### Licensing Information
208
+
209
+ The SQuAD-TR is released under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) in accordance with the license of SQuAD-2.0.
210
+
211
+ ### Citation Information
212
+
213
+ ```
214
+ @article{[TODO Emrah]}
215
+ ```