European Open Source AI Index
Menu
Database
News
Guides
About
Contribute
SQLCoder
by Defog.ai
About the model:
Text-to-SQL model.
Model type:
Code
Model performance class:
Latest
Link to the model:
https://huggingface.co/defog/sqlcoder-7b-2
Base models:
CodeLlama-7B
End model:
SQLCoder-7B-2
End model license:
CC-BY-SA-4.0
About the organisation:
Organization creating code generation for LLMs.
Link to the organisation:
https://huggingface.co/defog
Model release date:
February 2024
Availability
Base Model Data
Proprietary dataset used.
End User Model Data
Data sources published in GitHub repo
https://github.com/defog-ai/sql-eval
Base Model Weights
Gated model available on HuggingFace.
https://huggingface.co/meta-llama/CodeLlama-7b-Instruct-hf
End User Model Weights
Weights made available on HuggingFace.
https://huggingface.co/defog/sqlcoder-7b-2
Training Code
GitHub exists, but mainly contains inference code. Training procedure broadly outlined in text.
https://github.com/defog-ai/sqlcoder
https://defog.ai/blog/open-sourcing-sqlcoder2-7b
https://defog.ai/blog/sqlcoder2-technical-details
Documentation
Code Documentation
No code, so no documentation.
Hardware Architecture
No description of hardware architecture found.
Preprint
Info about model released through blog post.
https://defog.ai/blog/open-sourcing-sqlcoder2-7b
Paper
No peer-reviewed paper found.
Modelcard
Model card provides a decent amount of information.
https://huggingface.co/defog/sqlcoder-7b-2
Datasheet
No datasheet found.
Access
Licenses
CC-BY-SA-4.0.
https://huggingface.co/defog/sqlcoder-7b-2
Is this information not up to date?
Contribute here ->
Supported by the Centre for Language Studies and the Dutch Research Council. Website design & development © 2024 by
BSTN
. This version of the index generated
09 April 2026
, website content last updated
11 March 2026
.