File size: 1,244 Bytes
29a4e15
 
faeb0e2
29a4e15
 
 
 
cbd928f
 
faeb0e2
 
b6f4e63
 
9ebfd1f
 
 
b7e32c0
 
 
 
7611eab
b7e32c0
 
9ebfd1f
b7e32c0
9ebfd1f
 
21e4c99
 
 
 
9ebfd1f
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
task_categories:
- text2text-generation
language:
- en
size_categories:
- 1K<n<10K
tags:
- schema-summarization
modalities:
- Text
---

# Dataset Card for schema-summarization_spider
## Dataset Description
### Dataset Summary
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.
This dataset has been build by crossing these two datasets :
- `xlangai/spider`
- `richardr1126/spider-schema`

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

### Languages
As the `xlangai/spider` and `richardr1126/spider-schema` are only labelled in english, this dataset is also labelled in english
## Dataset Structure
### Data Fields
- **db_id** : The Database name
- **question** : The natural language question
- **schema** : The full schema
- **summarized-schema** : A subset of the full schema to answer the question
### Data Splits
## Dataset Creation
### Process
### Source Data