Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
json
Languages:
English
Size:
1K - 10K
Tags:
schema-summarization
Update README.md
Browse files
README.md
CHANGED
@@ -14,9 +14,20 @@ modalities:
|
|
14 |
# Dataset Card for schema-summarization_spider
|
15 |
## Dataset Description
|
16 |
### Dataset Summary
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
### Languages
|
|
|
18 |
## Dataset Structure
|
19 |
### Data Fields
|
|
|
|
|
|
|
|
|
20 |
### Data Splits
|
21 |
## Dataset Creation
|
22 |
### Process
|
|
|
14 |
# Dataset Card for schema-summarization_spider
|
15 |
## Dataset Description
|
16 |
### Dataset Summary
|
17 |
+
This dataset has been built to train and benchmark models uppon the schema-summarization task. This task aims to generate the smallest schema needed to answer a NL question with the help of the original database schema.
|
18 |
+
This dataset has been build by crossing these two datasets :
|
19 |
+
- `xlangai/spider`
|
20 |
+
- `richardr1126/spider-schema`
|
21 |
+
With the first dataset we take the natural language question and the SQL query. With the second dataset we take the associated schema of the databse id used to answer the question. We then generate the summarized-schema with the help of the SQL query
|
22 |
+
|
23 |
### Languages
|
24 |
+
As the `xlangai/spider` and `richardr1126/spider-schema` are only labelled in english, this dataset is also labelled in english
|
25 |
## Dataset Structure
|
26 |
### Data Fields
|
27 |
+
- ** db_id ** : The Database name
|
28 |
+
- ** question ** : The natural language question
|
29 |
+
- ** schema ** : The full schema
|
30 |
+
- ** summarized-schema ** : A subset of the full schema to answer the question
|
31 |
### Data Splits
|
32 |
## Dataset Creation
|
33 |
### Process
|