avinot's picture
Update README.md
7611eab verified
|
raw
history blame
1.24 kB
metadata
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