Renaissance Labs · Code
Dataset · 2018

Spider

Cross-domain text-to-SQL; databases are executable SQLite so execution accuracy gives a reward.

How to use it

Train GRPO with execution-match reward on SQLite, compare result sets.

Caveats

Saturated for strong models; the HF dataset has questions and gold SQL but SQLite databases come from the Spider site or a separate dataset.

LicenseThis entry is not plainly permissive (family: copyleft or share-alike). Read the license on the source page before using it for training or for a product.
load
from datasets import load_dataset
ds = load_dataset("xlangai/spider", "spider", split="train")

Related

  • SynSQL-2.5M: Million-scale synthetic cross-domain text-to-SQL used to train the OmniSQL...
  • gretelai/synthetic_text_to_sql: Synthetic text-to-SQL with schemas, prompts, SQL and explanations across many SQL task...
  • BIRD mini-dev and BIRD-Critic: Harder, more realistic text-to-SQL with execution-based evaluation; BIRD-Critic covers SQL debugging with...
  • Nemotron-SFT-Competitive-Programming-v2: Competitive coding with reasoning and critique, Python Exercism-style exercises (Aider problems...
  • Spider 2.0: Real enterprise workflows over BigQuery, Snowflake and local databases with 1,000+ columns, requiring...
  • APPS: Interview-level and competition Python problems with solutions and test...