Store › model › LLM
sqlcoder-7b-2
by defog · source Hugging Face · updated 2024-02-12
cc-by-sa-4.04.5 GB~6 GB RAMsource aliveunlabeled
Update notice The model weights were updated at 7 AM UTC on Feb 7, 2024. The new model weights lead to a much more performant model – particularly for joins.
Add to LogiShell Open in the web IDE
The button opens LogiShell with this card; nothing installs from a link by itself. Inside the app the install goes through lsh models install hf:defog/sqlcoder-7b-2 and its progress lives in the Resource Center.
Source and license
- Source: https://huggingface.co/defog/sqlcoder-7b-2
- License: cc-by-sa-4.0
- Requirements: about 6 GB of RAM, 4.5 GB on disk (estimate: suggested file size × 1.15 + 0.5 GB; a real measurement comes with lsh models). Runs with llama.cpp, ollama.
- Tags:
transformerssafetensorsggufllamatext-generationtext-generation-inferenceendpoints_compatibledeploy:azure
Numbers
- 354,365 downloads on Hugging Face
- 452 likes
- license cc-by-sa-4.0
- 4.5 GB for sqlcoder-7b-q5_k_m.gguf
- 135,376 stars on ggml-org/llama.cpp
- 2,625 open issues and PRs
- last release v1.0.0 on 2026-11-13
- 466,547 npm downloads a week for node-llama-cpp
- latest node-llama-cpp@3.22.3
Numbers as of 2026-11-17 03:22 UTC, from the source API.
Summary
Summary not ready yet: the numbers are here, the text is not. It is written by the collector through the LogiShell model facade when a provider key is present.
Reviews
No reviews yet. Reviews are written inside LogiShell: open this card in the app.
Files
| file | quant | size |
|---|---|---|
model-00001-of-00003.safetensors | 4.6 GB | |
model-00002-of-00003.safetensors | 4.6 GB | |
model-00003-of-00003.safetensors | 3.3 GB | |
sqlcoder-7b-q5_k_m.gguf | Q5_K_M | 4.5 GB |
training_args.bin | 5 KB |
From the source README
# Update notice
The model weights were updated at 7 AM UTC on Feb 7, 2024. The new model weights lead to a much more performant model – particularly for joins.
If you downloaded the model before that, please redownload the weights for best performance.
Model Card for SQLCoder-7B-2
A capable large language model for natural language to SQL generation.
Model Details
Model Description
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
- Developed by: Defog, Inc
- Model type: [Text to SQL]
- License: [CC-by-SA-4.0]
- Finetuned from model: [CodeLlama-7B]
### Model Sources [optional]
- HuggingFace:
- GitHub:
- Demo:
Uses
This model is intended to be used by non-technical users to understand data inside their SQL databases. It is meant as an analytics tool, and not as a database admin tool.
This model has not been trained to reject malicious requests from users with write access to databases, and should only be used by users with read-only access.
Card id model:hf:defog/sqlcoder-7b-2 · collected 2026-11-17 03:22 UTC · JSON