levi166 parquet-converter commited on
Commit
6fb2d02
·
0 Parent(s):

Duplicate from google-research-datasets/nq_open

Browse files

Co-authored-by: Parquet-converter (BOT) <parquet-converter@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 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
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - other
6
+ language:
7
+ - en
8
+ license:
9
+ - cc-by-sa-3.0
10
+ multilinguality:
11
+ - monolingual
12
+ size_categories:
13
+ - 10K<n<100K
14
+ source_datasets:
15
+ - extended|natural_questions
16
+ task_categories:
17
+ - question-answering
18
+ task_ids:
19
+ - open-domain-qa
20
+ pretty_name: NQ-Open
21
+ dataset_info:
22
+ config_name: nq_open
23
+ features:
24
+ - name: question
25
+ dtype: string
26
+ - name: answer
27
+ sequence: string
28
+ splits:
29
+ - name: train
30
+ num_bytes: 6651236
31
+ num_examples: 87925
32
+ - name: validation
33
+ num_bytes: 313829
34
+ num_examples: 3610
35
+ download_size: 4678245
36
+ dataset_size: 6965065
37
+ configs:
38
+ - config_name: nq_open
39
+ data_files:
40
+ - split: train
41
+ path: nq_open/train-*
42
+ - split: validation
43
+ path: nq_open/validation-*
44
+ default: true
45
+ ---
46
+
47
+ # Dataset Card for nq_open
48
+
49
+ ## Table of Contents
50
+ - [Dataset Description](#dataset-description)
51
+ - [Dataset Summary](#dataset-summary)
52
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
53
+ - [Languages](#languages)
54
+ - [Dataset Structure](#dataset-structure)
55
+ - [Data Instances](#data-instances)
56
+ - [Data Fields](#data-fields)
57
+ - [Data Splits](#data-splits)
58
+ - [Dataset Creation](#dataset-creation)
59
+ - [Curation Rationale](#curation-rationale)
60
+ - [Source Data](#source-data)
61
+ - [Annotations](#annotations)
62
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
63
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
64
+ - [Social Impact of Dataset](#social-impact-of-dataset)
65
+ - [Discussion of Biases](#discussion-of-biases)
66
+ - [Other Known Limitations](#other-known-limitations)
67
+ - [Additional Information](#additional-information)
68
+ - [Dataset Curators](#dataset-curators)
69
+ - [Licensing Information](#licensing-information)
70
+ - [Citation Information](#citation-information)
71
+ - [Contributions](#contributions)
72
+
73
+ ## Dataset Description
74
+
75
+ - **Homepage:** https://efficientqa.github.io/
76
+ - **Repository:** https://github.com/google-research-datasets/natural-questions/tree/master/nq_open
77
+ - **Paper:** https://www.aclweb.org/anthology/P19-1612.pdf
78
+ - **Leaderboard:** https://ai.google.com/research/NaturalQuestions/efficientqa
79
+ - **Point of Contact:** [Mailing List](efficientqa@googlegroups.com)
80
+
81
+ ### Dataset Summary
82
+
83
+ The NQ-Open task, introduced by Lee et.al. 2019,
84
+ is an open domain question answering benchmark that is derived from Natural Questions.
85
+ The goal is to predict an English answer string for an input English question.
86
+ All questions can be answered using the contents of English Wikipedia.
87
+
88
+ ### Supported Tasks and Leaderboards
89
+
90
+ Open Domain Question-Answering,
91
+ EfficientQA Leaderboard: https://ai.google.com/research/NaturalQuestions/efficientqa
92
+
93
+ ### Languages
94
+
95
+ English (`en`)
96
+
97
+ ## Dataset Structure
98
+
99
+ ### Data Instances
100
+
101
+ ```
102
+ {
103
+ "question": "names of the metropolitan municipalities in south africa",
104
+ "answer": [
105
+ "Mangaung Metropolitan Municipality",
106
+ "Nelson Mandela Bay Metropolitan Municipality",
107
+ "eThekwini Metropolitan Municipality",
108
+ "City of Tshwane Metropolitan Municipality",
109
+ "City of Johannesburg Metropolitan Municipality",
110
+ "Buffalo City Metropolitan Municipality",
111
+ "City of Ekurhuleni Metropolitan Municipality"
112
+ ]
113
+ }
114
+ ```
115
+
116
+ ### Data Fields
117
+
118
+ - `question` - Input open domain question.
119
+ - `answer` - List of possible answers to the question
120
+
121
+ ### Data Splits
122
+
123
+ - Train : 87925
124
+ - validation : 3610
125
+
126
+ ## Dataset Creation
127
+
128
+ ### Curation Rationale
129
+
130
+ [Needs More Information]
131
+
132
+ ### Source Data
133
+
134
+ #### Initial Data Collection and Normalization
135
+
136
+ Natural Questions contains question from aggregated queries to Google Search (Kwiatkowski et al., 2019). To gather an open version of this dataset, we only keep questions with short answers and discard the given evidence document. Answers with many tokens often resemble extractive snippets rather than canonical answers, so we discard answers with more than 5 tokens.
137
+
138
+ #### Who are the source language producers?
139
+
140
+ [Needs More Information]
141
+
142
+ ### Annotations
143
+
144
+ #### Annotation process
145
+
146
+ [Needs More Information]
147
+
148
+ #### Who are the annotators?
149
+
150
+ [Needs More Information]
151
+
152
+ ### Personal and Sensitive Information
153
+
154
+ [Needs More Information]
155
+
156
+ ## Considerations for Using the Data
157
+
158
+ ### Social Impact of Dataset
159
+
160
+ [Needs More Information]
161
+
162
+ ### Discussion of Biases
163
+
164
+ Evaluating on this diverse set of question-answer pairs is crucial, because all existing datasets have inherent biases that are problematic for open domain QA systems with learned retrieval.
165
+ In the Natural Questions dataset the question askers do not already know the answer. This accurately reflects a distribution of genuine information-seeking questions.
166
+ However, annotators must separately find correct answers, which requires assistance from automatic tools and can introduce a moderate bias towards results from the tool.
167
+
168
+ ### Other Known Limitations
169
+
170
+ [Needs More Information]
171
+
172
+ ## Additional Information
173
+
174
+ ### Dataset Curators
175
+
176
+ [Needs More Information]
177
+
178
+ ### Licensing Information
179
+
180
+ All of the Natural Questions data is released under the
181
+ [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) license.
182
+
183
+ ### Citation Information
184
+
185
+ ```
186
+ @article{doi:10.1162/tacl\_a\_00276,
187
+ author = {Kwiatkowski, Tom and Palomaki, Jennimaria and Redfield, Olivia and Collins, Michael and Parikh, Ankur and Alberti, Chris and Epstein, Danielle and Polosukhin, Illia and Devlin, Jacob and Lee, Kenton and Toutanova, Kristina and Jones, Llion and Kelcey, Matthew and Chang, Ming-Wei and Dai, Andrew M. and Uszkoreit, Jakob and Le, Quoc and Petrov, Slav},
188
+ title = {Natural Questions: A Benchmark for Question Answering Research},
189
+ journal = {Transactions of the Association for Computational Linguistics},
190
+ volume = {7},
191
+ number = {},
192
+ pages = {453-466},
193
+ year = {2019},
194
+ doi = {10.1162/tacl\_a\_00276},
195
+ URL = {
196
+ https://doi.org/10.1162/tacl_a_00276
197
+ },
198
+ eprint = {
199
+ https://doi.org/10.1162/tacl_a_00276
200
+
201
+ },
202
+ abstract = { We present the Natural Questions corpus, a question answering data set. Questions consist of real anonymized, aggregated queries issued to the Google search engine. An annotator is presented with a question along with a Wikipedia page from the top 5 search results, and annotates a long answer (typically a paragraph) and a short answer (one or more entities) if present on the page, or marks null if no long/short answer is present. The public release consists of 307,373 training examples with single annotations; 7,830 examples with 5-way annotations for development data; and a further 7,842 examples with 5-way annotated sequestered as test data. We present experiments validating quality of the data. We also describe analysis of 25-way annotations on 302 examples, giving insights into human variability on the annotation task. We introduce robust metrics for the purposes of evaluating question answering systems; demonstrate high human upper bounds on these metrics; and establish baseline results using competitive methods drawn from related literature. }
203
+ }
204
+
205
+ @inproceedings{lee-etal-2019-latent,
206
+ title = "Latent Retrieval for Weakly Supervised Open Domain Question Answering",
207
+ author = "Lee, Kenton and
208
+ Chang, Ming-Wei and
209
+ Toutanova, Kristina",
210
+ booktitle = "Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics",
211
+ month = jul,
212
+ year = "2019",
213
+ address = "Florence, Italy",
214
+ publisher = "Association for Computational Linguistics",
215
+ url = "https://www.aclweb.org/anthology/P19-1612",
216
+ doi = "10.18653/v1/P19-1612",
217
+ pages = "6086--6096",
218
+ abstract = "Recent work on open domain question answering (QA) assumes strong supervision of the supporting evidence and/or assumes a blackbox information retrieval (IR) system to retrieve evidence candidates. We argue that both are suboptimal, since gold evidence is not always available, and QA is fundamentally different from IR. We show for the first time that it is possible to jointly learn the retriever and reader from question-answer string pairs and without any IR system. In this setting, evidence retrieval from all of Wikipedia is treated as a latent variable. Since this is impractical to learn from scratch, we pre-train the retriever with an Inverse Cloze Task. We evaluate on open versions of five QA datasets. On datasets where the questioner already knows the answer, a traditional IR system such as BM25 is sufficient. On datasets where a user is genuinely seeking an answer, we show that learned retrieval is crucial, outperforming BM25 by up to 19 points in exact match.",
219
+ }
220
+ ```
221
+
222
+ ### Contributions
223
+
224
+ Thanks to [@Nilanshrajput](https://github.com/Nilanshrajput) for adding this dataset.
nq_open/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25d3a544324f900b31ebc05a3a5686bdd5b9b42738133500675c3f20eee7d83a
3
+ size 4464642
nq_open/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b074bed0bccb56fa1551a8ac1c9c51ce89bc11c7fbb6a9c713b2c33a98531e12
3
+ size 213603