Datasets:

Languages:
English
ArXiv:
License:
system HF Staff commited on
Commit
fae9484
·
1 Parent(s): 4979160

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 +177 -0
README.md ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ ---
3
+
4
+ # Dataset Card for "wikisql"
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/salesforce/WikiSQL](https://github.com/salesforce/WikiSQL)
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:** 24.95 MB
37
+ - **Size of the generated dataset:** 147.57 MB
38
+ - **Total amount of disk used:** 172.52 MB
39
+
40
+ ### [Dataset Summary](#dataset-summary)
41
+
42
+ A large crowd-sourced dataset for developing natural language interfaces for relational databases
43
+
44
+ ### [Supported Tasks](#supported-tasks)
45
+
46
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
47
+
48
+ ### [Languages](#languages)
49
+
50
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
51
+
52
+ ## [Dataset Structure](#dataset-structure)
53
+
54
+ We show detailed information for up to 5 configurations of the dataset.
55
+
56
+ ### [Data Instances](#data-instances)
57
+
58
+ #### default
59
+
60
+ - **Size of downloaded dataset files:** 24.95 MB
61
+ - **Size of the generated dataset:** 147.57 MB
62
+ - **Total amount of disk used:** 172.52 MB
63
+
64
+ An example of 'validation' looks as follows.
65
+ ```
66
+ This example was too long and was cropped:
67
+
68
+ {
69
+ "phase": 1,
70
+ "question": "How would you answer a second test question?",
71
+ "sql": {
72
+ "agg": 0,
73
+ "conds": {
74
+ "column_index": [2],
75
+ "condition": ["Some Entity"],
76
+ "operator_index": [0]
77
+ },
78
+ "human_readable": "SELECT Header1 FROM table WHERE Another Header = Some Entity",
79
+ "sel": 0
80
+ },
81
+ "table": "{\"caption\": \"L\", \"header\": [\"Header1\", \"Header 2\", \"Another Header\"], \"id\": \"1-10015132-9\", \"name\": \"table_10015132_11\", \"page_i..."
82
+ }
83
+ ```
84
+
85
+ ### [Data Fields](#data-fields)
86
+
87
+ The data fields are the same among all splits.
88
+
89
+ #### default
90
+ - `phase`: a `int32` feature.
91
+ - `question`: a `string` feature.
92
+ - `header`: a `list` of `string` features.
93
+ - `page_title`: a `string` feature.
94
+ - `page_id`: a `string` feature.
95
+ - `types`: a `list` of `string` features.
96
+ - `id`: a `string` feature.
97
+ - `section_title`: a `string` feature.
98
+ - `caption`: a `string` feature.
99
+ - `rows`: a dictionary feature containing:
100
+ - `feature`: a `string` feature.
101
+ - `name`: a `string` feature.
102
+ - `human_readable`: a `string` feature.
103
+ - `sel`: a `int32` feature.
104
+ - `agg`: a `int32` feature.
105
+ - `conds`: a dictionary feature containing:
106
+ - `column_index`: a `int32` feature.
107
+ - `operator_index`: a `int32` feature.
108
+ - `condition`: a `string` feature.
109
+
110
+ ### [Data Splits Sample Size](#data-splits-sample-size)
111
+
112
+ | name |train|validation|test |
113
+ |-------|----:|---------:|----:|
114
+ |default|56355| 8421|15878|
115
+
116
+ ## [Dataset Creation](#dataset-creation)
117
+
118
+ ### [Curation Rationale](#curation-rationale)
119
+
120
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
121
+
122
+ ### [Source Data](#source-data)
123
+
124
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
125
+
126
+ ### [Annotations](#annotations)
127
+
128
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
129
+
130
+ ### [Personal and Sensitive Information](#personal-and-sensitive-information)
131
+
132
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
133
+
134
+ ## [Considerations for Using the Data](#considerations-for-using-the-data)
135
+
136
+ ### [Social Impact of Dataset](#social-impact-of-dataset)
137
+
138
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
139
+
140
+ ### [Discussion of Biases](#discussion-of-biases)
141
+
142
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
143
+
144
+ ### [Other Known Limitations](#other-known-limitations)
145
+
146
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
147
+
148
+ ## [Additional Information](#additional-information)
149
+
150
+ ### [Dataset Curators](#dataset-curators)
151
+
152
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
153
+
154
+ ### [Licensing Information](#licensing-information)
155
+
156
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
157
+
158
+ ### [Citation Information](#citation-information)
159
+
160
+ ```
161
+ @article{zhongSeq2SQL2017,
162
+ author = {Victor Zhong and
163
+ Caiming Xiong and
164
+ Richard Socher},
165
+ title = {Seq2SQL: Generating Structured Queries from Natural Language using
166
+ Reinforcement Learning},
167
+ journal = {CoRR},
168
+ volume = {abs/1709.00103},
169
+ year = {2017}
170
+ }
171
+
172
+ ```
173
+
174
+
175
+ ### Contributions
176
+
177
+ Thanks to [@lewtun](https://github.com/lewtun), [@ghomasHudson](https://github.com/ghomasHudson), [@thomwolf](https://github.com/thomwolf) for adding this dataset.