datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
synthetic_text_to_sql
Image generated by DALL-E. See prompt for more details
synthetic_text_to_sql
gretelai/synthetic_text_to_sql is a rich dataset of high quality synthetic Text-to-SQL samples,
designed and generated using Gretel Navigator, and released under Apache 2.0.
Please see our release blogpost for more details.
The dataset includes:
105,851 records partitioned into 100,000 train and 5,851 test records
~23M total tokens, including ~12M SQL tokens
Coverage across 100 distinct… See the full description on the dataset page: https://huggingface.co/datasets/gretelai/synthetic_text_to_sql.SQaLe-text-to-SQL-dataset
🧮 SQALE: A Large-Scale Semi-Synthetic Dataset
SQALE is a large-scale, semi-synthetic Text-to-SQL dataset grounded in real-world database schemas.
It was designed to push the boundaries of natural language to SQL generation, combining realistic schema diversity, complex query structures, and linguistically varied natural language questions.
The dataset was introduced in the paper SQaLe: A Large Text-to-SQL Corpus Grounded in Real Schemas. The code for the generation pipeline of this… See the full description on the dataset page: https://huggingface.co/datasets/trl-lab/SQaLe-text-to-SQL-dataset.100000_text_to_sqlgretel-synthetic-text-to-sql
Fork of gretelai/synthetic_text_to_sql
The gretelai/synthetic_text_to_sql dataset is a large, Apache 2.0 licensed, synthetic Text-to-SQL dataset consisting of 105,851 high-quality records across 100 diverse domains, designed for training language models. It includes comprehensive SQL tasks with varying complexities, database contexts, natural language explanations, and contextual tags, outperforming existing datasets in SQL correctness and standards compliance.
bird_text_to_sql
Dataset Card for "bird_text_to_sql"
More Information needed
spider-text-to-sql
Spider Text-to-SQL with LLM-Judge Labels
This dataset extends Spider 1.0 with SQL predictions from gpt-5.4-mini and two correctness labels per example: a hybrid ground truth label and an LLM judge label from gpt-5.4.
Files
File
Description
spider_dataset.parquet
Full dataset with predictions and labels
scripts/
Reproduction scripts (see below)
Dataset statistics
Source: Spider 1.0 training split (train_spider.json)
Databases: the… See the full description on the dataset page: https://huggingface.co/datasets/Glide-py/spider-text-to-sql.spider_text_to_sql
Dataset Card for "spider_text_to_sql"
More Information needed
bird_spider_train_text_to_sql
Dataset Card for "bird_spider_train_text_to_sql"
More Information needed
text-to-sql-spider-dataset
Text-to-SQL Dataset
A curated dataset for training text-to-SQL models. This dataset contains natural language questions paired with corresponding SQL queries, formatted for instruction fine-tuning.
📊 Dataset Summary
Total Samples: 20000
Format: Chat template (system/user/assistant messages)
Task: Text-to-SQL generation
Language: English
License: apache-2.0
📁 Dataset Structure
Data Format
Each example contains a conversation with three roles:… See the full description on the dataset page: https://huggingface.co/datasets/chrisjcc/text-to-sql-spider-dataset.spider-clean-text-to-sqlText-to-sql-query-generationspider-clean-text-to-sql-2enterprise-text-to-sql-verified
Verified Multi-Dialect Enterprise Text-to-SQL Dataset
This dataset contains 100% deterministically verified Text-to-SQL instruction pairs across multiple cloud warehouse dialects (DuckDB, PostgreSQL, Snowflake, BigQuery).
Features
Deterministic Execution: Every query executed and verified in DuckDB memory before ingestion.
Multi-Dialect Translation: Native PostgreSQL, Snowflake, and BigQuery transpiled variants included.
ShareGPT Structured: Formatted for direct… See the full description on the dataset page: https://huggingface.co/datasets/Zeknichov/enterprise-text-to-sql-verified.enterprise-sql-text-to-db-sft-dpo-2026
💎 Enterprise SQL, Text-to-DB & Schema-Aware Query Architect SFT/DPO Dataset (2026)
High-precision instruction tuning and preference optimization dataset with step-by-step Chain-of-Thought (<thought>) reasoning chains for fine-tuning LLMs (Llama-3.3, Qwen-2.5-Coder, DeepSeek-R1-Distill, Mistral, Phi-4) into Senior Enterprise Database Architects.
📊 Dataset Overview
Format: OpenAI ChatML & ShareGPT format with <thought> reasoning tokens.
Dialect Coverage (5… See the full description on the dataset page: https://huggingface.co/datasets/beatsprom/enterprise-sql-text-to-db-sft-dpo-2026.text-to-sql-wip-100kspider-clean-text-to-sql-4text-to-sql-mix-v1
Text-to-SQL Training Mix v1
A curated, deduplicated and quality-filtered mix of six high-quality
text-to-SQL datasets from HuggingFace, designed for fine-tuning code LLMs
(Qwen 2.5 Coder, DeepSeek Coder, Llama-3, etc.) on SQL generation.
This dataset powers the SQL Generator in the SQL Agent LLMOps project.
Schema
Field
Type
Description
id
string
Stable hash-based identifier
instruction
string
Natural language question / instruction
schema_context
string… See the full description on the dataset page: https://huggingface.co/datasets/DanielRegaladoCardoso/text-to-sql-mix-v1.synthetic_text_to_sql_format_chatML_gemma
dataset base.
gretelai/synthetic_text_to_sql
dataset = load_dataset("NickyNicky/synthetic_text_to_sql_format_chatML_gemma")
<bos><start_of_turn>system
You are a helpful AI assistant.
you are a sql expert who responds in json format.<end_of_turn>
<start_of_turn>user
## prompt:
What is the total gold production by 'Site B' in the 'production' table?
## sql context:
CREATE TABLE production (id INT, site VARCHAR(50), year INT, gold_production INT, silver_production… See the full description on the dataset page: https://huggingface.co/datasets/NickyNicky/synthetic_text_to_sql_format_chatML_gemma.synthetic_chat_text_to_sqlsynthetic_text_to_sql_formattedgretelai___synthetic_text_to_sql-15kgretelai___synthetic_text_to_sql-20ktext-to-sql-validationsynthetic_text_to_sql-qwen2.5-instruct-curatedspider-clean-text-to-sql-3text_to_sql_finetune
Dataset Card for "text_to_sql_finetune"
More Information needed
text-to-sql-fullaihub_text_to_sql_SFTsynthetic_text_to_sql_en_es
Dataset basado en la versión de GretelAI - SyntheticSQL
synthetic_text_to_sql_en_es
Se trata de una expansión mediante la traducción al español de la columna 'sql_prompt'.
Se ha añadido una columna extra 'sql_prompt_es' que contiene el prompt original de inglés traducido al español.
Para obtener estas traducciones, se utilizó few-shot prompting + CoT mediante el modelo Qwen/Qwen2.5-32B-Instruct-AWQ
Actualización 6/27/25
En la versión pasada se encontraron… See the full description on the dataset page: https://huggingface.co/datasets/TafcoMetawireless/synthetic_text_to_sql_en_es.synthetic_text_to_sql
