datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
nl2sql-deduplicated
NL2SQL Deduplicated Training Dataset
A curated and deduplicated Text-to-SQL training dataset with 683,015 unique examples from 4 high-quality sources.
📊 Dataset Summary
Total Examples: 683,015 unique question-SQL pairs
Sources: Spider, SQaLe, Gretel Synthetic, SQL-Create-Context
Deduplication Strategy: Input-only (question-based) with conflict resolution via quality priority
Conflicts Resolved: 2,238 cases where same question had different SQL
SQL Dialect: Standard SQL… See the full description on the dataset page: https://huggingface.co/datasets/AsadIsmail/nl2sql-deduplicated.spider2-nl2sql
Dataset Details
Dataset Description
This dataset consists of data for the purpose of training a model to generate SQL code in response to a natural language prompt.
The qa.csv table consists of these pairs, while the <dbms>_ddl.csv tables consist of the DDLs and sample data needed to verify the validity of generated SQL queries.
Dataset Sources: Spider2
Repository
Paper
