English to developer DSL (-smith models)
Collection
Focused LoRA fine-tunes that turn plain English into a developer DSL, each with a real benchmark. Shellsmith -> shell commands; Querysmith -> SQL. • 4 items • Updated
messages listlengths 3 3 |
|---|
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Episode (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Categorie... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE course (\... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE IF NOT EX... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Categorie... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE businesse... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE state (\n... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\ncreate table Student (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys=OF... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE instituti... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\ncreate table Allergy_T... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE address_s... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Air Carri... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\ncreate table Student (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE all_preva... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE businesse... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Ingredien... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE film_text... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE current (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE playstore... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE customer ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE \"Rooms\"... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE \"Campuse... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Author (\... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\n-- LINK: https://en.wi... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\ncreate table Allergy_T... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Attribute... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Dish (\n ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE course (\... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE app_all (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\n-- phpMyAdmin SQL Dump... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Attribute... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE country (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE \"Rooms\"... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE city (\n ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE geographi... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Community... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE country (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE character... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE character... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE lists (\n... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE address_s... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE city (\n ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE runs (\n ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Categorie... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Attribute... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE course (\... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\n-- LINK: https://en.wi... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Community... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Episode (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\n/* \n * SQL scripts fo... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE businesse... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Categorie... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE \"grapes\... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE authors (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE employee ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Person (\... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE \"Songs\"... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE bank (\nb... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys=OF... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE offices (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\ncreate table Student (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE chapters ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Classific... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nPRAGMA foreign_keys = ... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE Attribute... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE authors (... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE state (\n... |
[
{
"role": "system",
"content": "You are a text-to-SQL generator. Given a database schema and a question, reply with a single valid SQLite query that answers it. Output only the SQL on one line, with no explanation and no markdown."
},
{
"role": "user",
"content": "Schema:\nCREATE TABLE employee ... |
Schema-grounded text-to-SQL training data used to fine-tune
ajayk007/Qwen2.5-Coder-7B-Querysmith.
~13.7k examples derived from Spider and
BIRD.
mlx-lm chat format, one example per line:
{"messages": [
{"role": "system", "content": "You are a text-to-SQL generator ..."},
{"role": "user", "content": "Schema:\nCREATE TABLE ...\n\nQuestion: ..."},
{"role": "assistant", "content": "SELECT ..."}
]}
The user turn contains the database's CREATE TABLE DDL (and, for BIRD examples, a
Hint: line with external-knowledge evidence) followed by the question. Schemas longer
than 3,500 chars are dropped to keep prompts trainable.
| File | Rows |
|---|---|
train.jsonl |
13,685 |
valid.jsonl |
300 |
Reproduce with data/download_data.py + data/build_dataset.py in the
GitHub repo.
This is a derivative of Spider (Yu et al., 2018) and BIRD (Li et al., 2023), both licensed CC BY-SA 4.0. This dataset is released under the same CC BY-SA 4.0 license. Please cite the original Spider and BIRD papers if you use it.