Dataset · omeryentur
Text-to-PostgreSQL dataset for SQL generation
omeryentur/text-to-postgresql
Dataset for translating English text questions into PostgreSQL queries considering the database schema.
What's inside
Contains pairs of natural language questions, corresponding PostgreSQL queries, and CREATE TABLE schemas in English. The dataset volume is between 10,000 and 100,000 examples.
What you can do with it
- Fine-tuning small and medium language models for text-to-SQL
- Creating assistants for working with PostgreSQL databases
- Testing generative capabilities of models in programming tasks
- Tasks
- Text generation
- Languages
- English
- Size
- 10K–100K rows
- Downloads this month
- 103
- Likes
- 10
Models trained on it
How to load it
from datasets import load_dataset
ds = load_dataset("omeryentur/text-to-postgresql")