SQLCoder icon

SQLCoder

defog.ai/sqlcoder

SQLCoder is an open-source family of LLMs fine-tuned specifically for text-to-SQL generation, developed by Defog.

Visit WebsiteText-to-SQLOpen Source

The SQLCoder-34B model notably outperforms GPT-4 on proprietary benchmarks, achieving this through training on 20,000+ human-curated SQL examples spanning diverse schemas and query patterns. Available in multiple sizes (7B, 15B, 34B parameters) for different hardware constraints. Models can run locally via Ollama, vLLM, or Hugging Face Transformers, providing complete data privacy without API calls. The training methodology emphasizes real-world query patterns rather than synthetic benchmarks. Defog also offers a hosted API for teams not wanting to manage infrastructure.

Tags

Popular tags