Skip to content

Dataset · xlangai

Cross-domain text-to-SQL database corpus

xlangai/spider

English question-SQL pairs for complex semantic parsing and cross-domain databases.

What's inside

The Spider dataset contains English text queries and corresponding SQL queries for various databases. It was annotated by 11 Yale University students for the text-to-SQL task. The card lists a public leaderboard; size ranges from 1k to 10k examples.

What you can do with it

  • Training a text-to-SQL model for cross-domain databases
  • Testing LLMs on semantic parsing and SQL generation
  • Comparing systems on the Spider leaderboard
Languages
English
Size
1K–10K rows
Downloads this month
10.3K
Likes
194

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("xlangai/spider")