This dataset is a combined and cleaned version of Spider, BIRD, and Gretel datasets, formatted specifically for Instruction Fine-Tuning of Small Language Models (SLMs).
instruction: The task description.
input: The Database Schema and the Natural Language Question.
output: The canonicalized SQL query.
metadata: A dictionary containing dataset source and db_id.
from datasets import load_dataset… See the full description on the dataset page:
https://huggingface.co/datasets/rupal02/text2sql.