system HF staff commited on
Commit
e2ab56d
1 Parent(s): 84b19af

Update files from the datasets library (from 1.3.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.3.0

Files changed (1) hide show
  1. README.md +231 -0
README.md ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ ---
3
+
4
+ # Dataset Card for "cfq"
5
+
6
+ ## Table of Contents
7
+ - [Dataset Description](#dataset-description)
8
+ - [Dataset Summary](#dataset-summary)
9
+ - [Supported Tasks](#supported-tasks)
10
+ - [Languages](#languages)
11
+ - [Dataset Structure](#dataset-structure)
12
+ - [Data Instances](#data-instances)
13
+ - [Data Fields](#data-fields)
14
+ - [Data Splits Sample Size](#data-splits-sample-size)
15
+ - [Dataset Creation](#dataset-creation)
16
+ - [Curation Rationale](#curation-rationale)
17
+ - [Source Data](#source-data)
18
+ - [Annotations](#annotations)
19
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
20
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
21
+ - [Social Impact of Dataset](#social-impact-of-dataset)
22
+ - [Discussion of Biases](#discussion-of-biases)
23
+ - [Other Known Limitations](#other-known-limitations)
24
+ - [Additional Information](#additional-information)
25
+ - [Dataset Curators](#dataset-curators)
26
+ - [Licensing Information](#licensing-information)
27
+ - [Citation Information](#citation-information)
28
+ - [Contributions](#contributions)
29
+
30
+ ## [Dataset Description](#dataset-description)
31
+
32
+ - **Homepage:** [https://github.com/google-research/google-research/tree/master/cfq](https://github.com/google-research/google-research/tree/master/cfq)
33
+ - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
34
+ - **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
35
+ - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
36
+ - **Size of downloaded dataset files:** 2041.62 MB
37
+ - **Size of the generated dataset:** 345.30 MB
38
+ - **Total amount of disk used:** 2386.92 MB
39
+
40
+ ### [Dataset Summary](#dataset-summary)
41
+
42
+ The CFQ dataset (and it's splits) for measuring compositional generalization.
43
+
44
+ See https://arxiv.org/abs/1912.09713.pdf for background.
45
+
46
+ Example usage:
47
+ data = datasets.load_dataset('cfq/mcd1')
48
+
49
+ ### [Supported Tasks](#supported-tasks)
50
+
51
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
52
+
53
+ ### [Languages](#languages)
54
+
55
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
56
+
57
+ ## [Dataset Structure](#dataset-structure)
58
+
59
+ We show detailed information for up to 5 configurations of the dataset.
60
+
61
+ ### [Data Instances](#data-instances)
62
+
63
+ #### mcd1
64
+
65
+ - **Size of downloaded dataset files:** 255.20 MB
66
+ - **Size of the generated dataset:** 40.91 MB
67
+ - **Total amount of disk used:** 296.11 MB
68
+
69
+ An example of 'train' looks as follows.
70
+ ```
71
+ {
72
+ "query": "SELECT /producer M0 . /director M0 . ",
73
+ "question": "Who produced and directed M0?"
74
+ }
75
+ ```
76
+
77
+ #### mcd2
78
+
79
+ - **Size of downloaded dataset files:** 255.20 MB
80
+ - **Size of the generated dataset:** 42.70 MB
81
+ - **Total amount of disk used:** 297.91 MB
82
+
83
+ An example of 'train' looks as follows.
84
+ ```
85
+ {
86
+ "query": "SELECT /producer M0 . /director M0 . ",
87
+ "question": "Who produced and directed M0?"
88
+ }
89
+ ```
90
+
91
+ #### mcd3
92
+
93
+ - **Size of downloaded dataset files:** 255.20 MB
94
+ - **Size of the generated dataset:** 41.58 MB
95
+ - **Total amount of disk used:** 296.78 MB
96
+
97
+ An example of 'train' looks as follows.
98
+ ```
99
+ {
100
+ "query": "SELECT /producer M0 . /director M0 . ",
101
+ "question": "Who produced and directed M0?"
102
+ }
103
+ ```
104
+
105
+ #### query_complexity_split
106
+
107
+ - **Size of downloaded dataset files:** 255.20 MB
108
+ - **Size of the generated dataset:** 43.82 MB
109
+ - **Total amount of disk used:** 299.02 MB
110
+
111
+ An example of 'train' looks as follows.
112
+ ```
113
+ {
114
+ "query": "SELECT /producer M0 . /director M0 . ",
115
+ "question": "Who produced and directed M0?"
116
+ }
117
+ ```
118
+
119
+ #### query_pattern_split
120
+
121
+ - **Size of downloaded dataset files:** 255.20 MB
122
+ - **Size of the generated dataset:** 43.98 MB
123
+ - **Total amount of disk used:** 299.19 MB
124
+
125
+ An example of 'train' looks as follows.
126
+ ```
127
+ {
128
+ "query": "SELECT /producer M0 . /director M0 . ",
129
+ "question": "Who produced and directed M0?"
130
+ }
131
+ ```
132
+
133
+ ### [Data Fields](#data-fields)
134
+
135
+ The data fields are the same among all splits.
136
+
137
+ #### mcd1
138
+ - `question`: a `string` feature.
139
+ - `query`: a `string` feature.
140
+
141
+ #### mcd2
142
+ - `question`: a `string` feature.
143
+ - `query`: a `string` feature.
144
+
145
+ #### mcd3
146
+ - `question`: a `string` feature.
147
+ - `query`: a `string` feature.
148
+
149
+ #### query_complexity_split
150
+ - `question`: a `string` feature.
151
+ - `query`: a `string` feature.
152
+
153
+ #### query_pattern_split
154
+ - `question`: a `string` feature.
155
+ - `query`: a `string` feature.
156
+
157
+ ### [Data Splits Sample Size](#data-splits-sample-size)
158
+
159
+ | name |train |test |
160
+ |----------------------|-----:|----:|
161
+ |mcd1 | 95743|11968|
162
+ |mcd2 | 95743|11968|
163
+ |mcd3 | 95743|11968|
164
+ |query_complexity_split|100654| 9512|
165
+ |query_pattern_split | 94600|12589|
166
+
167
+ ## [Dataset Creation](#dataset-creation)
168
+
169
+ ### [Curation Rationale](#curation-rationale)
170
+
171
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
172
+
173
+ ### [Source Data](#source-data)
174
+
175
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
176
+
177
+ ### [Annotations](#annotations)
178
+
179
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
180
+
181
+ ### [Personal and Sensitive Information](#personal-and-sensitive-information)
182
+
183
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
184
+
185
+ ## [Considerations for Using the Data](#considerations-for-using-the-data)
186
+
187
+ ### [Social Impact of Dataset](#social-impact-of-dataset)
188
+
189
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
190
+
191
+ ### [Discussion of Biases](#discussion-of-biases)
192
+
193
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
194
+
195
+ ### [Other Known Limitations](#other-known-limitations)
196
+
197
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
198
+
199
+ ## [Additional Information](#additional-information)
200
+
201
+ ### [Dataset Curators](#dataset-curators)
202
+
203
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
204
+
205
+ ### [Licensing Information](#licensing-information)
206
+
207
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
208
+
209
+ ### [Citation Information](#citation-information)
210
+
211
+ ```
212
+
213
+ @inproceedings{Keysers2020,
214
+ title={Measuring Compositional Generalization: A Comprehensive Method on
215
+ Realistic Data},
216
+ author={Daniel Keysers and Nathanael Sch"{a}rli and Nathan Scales and
217
+ Hylke Buisman and Daniel Furrer and Sergii Kashubin and
218
+ Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and
219
+ Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and
220
+ Olivier Bousquet},
221
+ booktitle={ICLR},
222
+ year={2020},
223
+ url={https://arxiv.org/abs/1912.09713.pdf},
224
+ }
225
+
226
+ ```
227
+
228
+
229
+ ### Contributions
230
+
231
+ Thanks to [@thomwolf](https://github.com/thomwolf), [@patrickvonplaten](https://github.com/patrickvonplaten), [@lewtun](https://github.com/lewtun), [@brainshawn](https://github.com/brainshawn) for adding this dataset.