defog-ai/sqlcoder
A specialized LLM that converts natural language questions into SQL queries.

Not currently ranked — collecting fresh signals.
star history
SQLCoder is a family of large language models fine-tuned for text-to-SQL tasks. It is built on top of LLaMA-3 and offers multiple inference backends including transformers and llama-cpp with GPU and Apple Silicon acceleration. The models are evaluated against GPT-4 on a sql-eval framework and available on Hugging Face with CC BY-SA 4.0 licensing.
Frequently asked
- What is defog-ai/sqlcoder?
- A specialized LLM that converts natural language questions into SQL queries.
- Is sqlcoder open source?
- Yes — defog-ai/sqlcoder is open source, released under the Apache-2.0 license.
- What language is sqlcoder written in?
- defog-ai/sqlcoder is primarily written in Jupyter Notebook.
- How popular is sqlcoder?
- defog-ai/sqlcoder has 4k stars on GitHub.
- Where can I find sqlcoder?
- defog-ai/sqlcoder is on GitHub at https://github.com/defog-ai/sqlcoder.