Instructions to use IAMIbrahim/luthorsql-bird with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use IAMIbrahim/luthorsql-bird with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Card: authors, results update
Browse files
README.md
CHANGED
|
@@ -22,9 +22,12 @@ Speed: 0.84 s per question (median, one H100 PCIe).
|
|
| 22 |
|
| 23 |
**Training data:** BIRD train, Spider train, a SynSQL-2.5M sample; the validator also used BIRD-Platinum labels, for which no license was found.
|
| 24 |
**License:** not decided; expected research use only.
|
| 25 |
-
**
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
## Citation
|
| 28 |
|
| 29 |
-
Ibrahim Memon
|
| 30 |
Preprint. Code and data: https://github.com/IAMIbrahimmemon/luthorsql
|
|
|
|
| 22 |
|
| 23 |
**Training data:** BIRD train, Spider train, a SynSQL-2.5M sample; the validator also used BIRD-Platinum labels, for which no license was found.
|
| 24 |
**License:** not decided; expected research use only.
|
| 25 |
+
**Other SQL engines:** without retraining, its SQLite output translated to Snowflake, BigQuery, MySQL, PostgreSQL and DuckDB scores 57.1-59.3% on BIRD dev (SQLite 60.17%).
|
| 26 |
+
**8-bit / Apple silicon:** about 9 GB with both adapters on one 8-bit backbone, same accuracy.
|
| 27 |
+
**As System 1 of a cascade** with Claude Opus 5.5 through the API (threshold 3.0, forwarding only unsure questions): 33.3% cheaper than Opus alone at equal accuracy on 227 questions over databases published after Opus's training cutoff (registered test).
|
| 28 |
+
**Limitations:** English, foreign-key joins only (joins use declared and name-inferred keys). The plan grammar covers 84.6% of BIRD dev gold queries.
|
| 29 |
|
| 30 |
## Citation
|
| 31 |
|
| 32 |
+
Ibrahim Memon, Armin Karamzade, Hanif Jhaveri and Roy Fox. 2026. LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent.
|
| 33 |
Preprint. Code and data: https://github.com/IAMIbrahimmemon/luthorsql
|