Skip to content

Dataset · NumbersStation

NSText2SQL Text-to-SQL Pairs

NumbersStation/NSText2SQL

About 290k English text-to-SQL pairs from over 20 open sources.

What's inside

A dataset for training text-to-SQL conversion models. Collected from over 20 public sources with permissive licenses, it contains text-to-SQL pairs. The authors applied cleaning, table schema expansion, SQL cleaning, and instruction generation using LLMs, totaling about 290k English examples.

What you can do with it

  • Training the NSQL text-to-SQL model
  • Performing fine-tuning for SQL query generation models
  • Evaluating the accuracy of text-to-SQL systems
Languages
English
Size
100K–1M rows
Downloads this month
297
Likes
91

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("NumbersStation/NSText2SQL")