Text2SQL Agent
- Python
- Qwen2.5-Coder-7B
- Ollama
- QLoRA
- BIRD
- SQLite
A local-first, execution-guided Text-to-SQL agent with a QLoRA fine-tuning pipeline and an empirical ablation harness, benchmarked on BIRD Dev.
- Built a local-first agent on Qwen2.5-Coder-7B via Ollama, with hybrid BM25 + embedding schema linking fused by Reciprocal Rank Fusion.
- Added parallel candidate generation, execution-guided repair and result-set voting that reports cluster agreement as confidence.
- Wired a 0.6 confidence cascade to Groq and shipped a QLoRA pipeline with 8,954 ChatML examples and 36/36 passing tests.
8,954
ChatML examples exported for 4-bit QLoRA training
BIRD train.json and train_tables.json, raw DDL
36/36
unit tests passing across safety, linking, API and cascade
python -m pytest -q