antgroup/Agentar-Scale-SQL
Agentar-Scale-SQL is a novel framework that leverages scalable computation to significantly improve Text-to-SQL performance.
Implements orchestrated test-time scaling with three synergistic perspectives: a Light Schema Engine for efficient database representation, a vector database pipeline (Chroma) for semantic retrieval of training examples and cell values, and BM25 indexing for content-based schema matching. The framework includes SQL candidate generation via ICL and reasoning generators, iterative refinement, and a selection module that ranks outputs—achieving 81.67% execution accuracy on the BIRD benchmark. Provides pre-trained 32B generation models on Hugging Face/ModelScope, along with open-source preprocessing pipelines and schema engines for custom database adaptation.
372 stars.
Stars
372
Forks
37
Language
Python
License
Apache-2.0
Category
Last pushed
Dec 16, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/antgroup/Agentar-Scale-SQL"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.