Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
json
Languages:
English
Size:
1K - 10K
Tags:
schema-summarization
Update README.md
Browse files
README.md
CHANGED
@@ -30,6 +30,11 @@ As the `xlangai/spider` and `richardr1126/spider-schema` are only labelled in en
|
|
30 |
- **schema** : The full schema
|
31 |
- **summarized-schema** : A subset of the full schema to answer the question
|
32 |
### Data Splits
|
|
|
|
|
33 |
## Dataset Creation
|
34 |
### Process
|
|
|
|
|
|
|
35 |
### Source Data
|
|
|
30 |
- **schema** : The full schema
|
31 |
- **summarized-schema** : A subset of the full schema to answer the question
|
32 |
### Data Splits
|
33 |
+
- **train** : 7000 questions, schema and summarized-schema tuples
|
34 |
+
- **validation** : 1034 questions, schema and summarized-schema tuples
|
35 |
## Dataset Creation
|
36 |
### Process
|
37 |
+
So in order to create the summarized schema we proceded into several steps.
|
38 |
+
First we go through every words in the orginal SQL query and see if it matches any column names in the original schema. And we add every column that we find this way.
|
39 |
+
In order to leverage the "*" wildcard we automatically include the primary key of each table that is within the original SQL query
|
40 |
### Source Data
|