richardr1126
commited on
Commit
•
4eaea4c
1
Parent(s):
1abc35b
Update README.md
Browse files
README.md
CHANGED
@@ -1,50 +1,16 @@
|
|
1 |
---
|
2 |
-
annotations_creators:
|
3 |
-
- expert-generated
|
4 |
-
language_creators:
|
5 |
-
- expert-generated
|
6 |
-
- machine-generated
|
7 |
language:
|
8 |
- en
|
9 |
license:
|
10 |
- cc-by-4.0
|
11 |
multilinguality:
|
12 |
- monolingual
|
13 |
-
size_categories:
|
14 |
-
- 1K<n<10K
|
15 |
source_datasets:
|
16 |
-
-
|
17 |
-
task_categories:
|
18 |
-
- text2text-generation
|
19 |
-
task_ids: []
|
20 |
paperswithcode_id: spider-1
|
21 |
-
pretty_name: Spider
|
22 |
tags:
|
23 |
- text-to-sql
|
24 |
-
dataset_info:
|
25 |
-
features:
|
26 |
-
- name: db_id
|
27 |
-
dtype: string
|
28 |
-
- name: query
|
29 |
-
dtype: string
|
30 |
-
- name: question
|
31 |
-
dtype: string
|
32 |
-
- name: query_toks
|
33 |
-
sequence: string
|
34 |
-
- name: query_toks_no_value
|
35 |
-
sequence: string
|
36 |
-
- name: question_toks
|
37 |
-
sequence: string
|
38 |
-
config_name: spider
|
39 |
-
splits:
|
40 |
-
- name: train
|
41 |
-
num_bytes: 4743786
|
42 |
-
num_examples: 7000
|
43 |
-
- name: validation
|
44 |
-
num_bytes: 682090
|
45 |
-
num_examples: 1034
|
46 |
-
download_size: 99736136
|
47 |
-
dataset_size: 5425876
|
48 |
---
|
49 |
|
50 |
|
@@ -94,36 +60,6 @@ The leaderboard can be seen at https://yale-lily.github.io/spider
|
|
94 |
|
95 |
The text in the dataset is in English.
|
96 |
|
97 |
-
## Dataset Structure
|
98 |
-
|
99 |
-
### Data Instances
|
100 |
-
|
101 |
-
**What do the instances that comprise the dataset represent?**
|
102 |
-
|
103 |
-
Each instance is natural language question and the equivalent SQL query
|
104 |
-
|
105 |
-
**How many instances are there in total?**
|
106 |
-
|
107 |
-
**What data does each instance consist of?**
|
108 |
-
|
109 |
-
[More Information Needed]
|
110 |
-
|
111 |
-
### Data Fields
|
112 |
-
|
113 |
-
* **db_id**: Database name
|
114 |
-
* **question**: Natural language to interpret into SQL
|
115 |
-
* **query**: Target SQL query
|
116 |
-
* **query_toks**: List of tokens for the query
|
117 |
-
* **query_toks_no_value**: List of tokens for the query
|
118 |
-
* **question_toks**: List of tokens for the question
|
119 |
-
|
120 |
-
### Data Splits
|
121 |
-
|
122 |
-
**train**: 7000 questions and SQL query pairs
|
123 |
-
**dev**: 1034 question and SQL query pairs
|
124 |
-
|
125 |
-
[More Information Needed]
|
126 |
-
|
127 |
## Dataset Creation
|
128 |
|
129 |
### Curation Rationale
|
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
2 |
language:
|
3 |
- en
|
4 |
license:
|
5 |
- cc-by-4.0
|
6 |
multilinguality:
|
7 |
- monolingual
|
|
|
|
|
8 |
source_datasets:
|
9 |
+
- spider
|
|
|
|
|
|
|
10 |
paperswithcode_id: spider-1
|
11 |
+
pretty_name: Spider Schema
|
12 |
tags:
|
13 |
- text-to-sql
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
---
|
15 |
|
16 |
|
|
|
60 |
|
61 |
The text in the dataset is in English.
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
## Dataset Creation
|
64 |
|
65 |
### Curation Rationale
|