selfheal-sql-spider / README.md
HideIron's picture
Spider-derived DB-disjoint splits + databases
a81b69b verified
|
Raw History Blame Contribute Delete
1.04 kB
---
license: cc-by-sa-4.0
task_categories:
- text-generation
language:
- en
tags:
- text-to-sql
- spider
- self-healing
pretty_name: Self-heal SQL - Spider splits
---
# Self-heal SQL: database-disjoint Spider splits
Splits and SQLite databases used for a self-healing text-to-SQL agent
(detect failures -> classify -> generate corrective examples -> DPO retrain -> gate).
Derived from **Spider** (Yu et al., 2018, https://yale-lily.github.io/spider), CC BY-SA 4.0.
| split | source | purpose |
|---|---|---|
| `pool` | Spider train, DB group A | failure pool; its failures become training data |
| `gate` | Spider train, DB group B | held-out deployment gate; never used to build training data |
| `test` | Spider dev | headline before/after numbers |
No database appears in more than one split (asserted at build time). Rows whose gold query
errors, times out or returns zero rows were dropped.
Row fields: `qid, split, db_id, question, gold_sql, db_path, schema`.
`db_path` is relative to the repo root.