CoolFace
Datasetpublic

beatsprom/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.

sourceHugging Facecc-by-4.0updated 1mo agoView on Hugging Face
0likes20downloads
Dataset Card

๐Ÿ’Ž Enterprise SQL, Text-to-DB & Schema-Aware Query Architect SFT/DPO Dataset (2026)

![Open In Colab](https://beatsprom.gumroad.com/l/enterprise-sql-text-to-db-sft-dpo-2026) ![License: CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) ![Dialects](https://beatsprom.gumroad.com/l/enterprise-sql-text-to-db-sft-dpo-2026) ![Gumroad Suite](https://beatsprom.gumroad.com/l/enterprise-sql-text-to-db-sft-dpo-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 Native Engines): PostgreSQL 16, Snowflake SQL, ClickHouse (OLAP), MySQL 8.0, Google BigQuery.
  • โ€”Enterprise Schemas (5 Domains): Fintech & Core Banking, SaaS Analytics, E-Commerce Retail, Healthcare EMR, and Logistics & Supply Chain.
  • โ€”Preference Optimization (DPO): 2,500 curated Chosen vs Rejected pairs with automated failure critiques (Cartesian product prevention, timezone traps, indexability).
  • โ€”Colab Support: Bundled 1-Click Unsloth Google Colab Notebook (1_CLICK_UNSLOTH_SQL_FINE_TUNING_COLAB.ipynb) for fast LoRA training on free T4 GPU.

๐Ÿš€ Quick Start with Hugging Face datasets

python
from datasets import load_dataset

# Load from Parquet
dataset = load_dataset("parquet", data_files="ENTERPRISE_SQL_TEXT_TO_DB_2026_100_SAMPLE.parquet", split="train")

print(f"Loaded {len(dataset)} sample SQL training instances!")
print("Sample Query:", dataset[0]["sql_query_clean"])

๐Ÿ‘‘ Get the Complete 10,000 SFT + 2,500 DPO Enterprise Suite

Need the complete production-grade package with 10,000 SFT pairs, 2,500 DPO pairs, full 41.8 MB SQLite DB, and commercial enterprise deployment rights?

๐Ÿ‘‰ [Get Complete 10,000 SFT/DPO Suite on Gumroad](https://beatsprom.gumroad.com/l/enterprise-sql-text-to-db-sft-dpo-2026)