CoolFace
Modelpublic

junmingg/qwen2.5-coder-7b-text2sql-GGUF

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes137downloads
Model Card

Qwen2.5-Coder-7B Text-to-SQL — GGUF quants

GGUF quantizations of `junmingg/qwen2.5-coder-7b-text2sql` for CPU/GPU inference via llama.cpp, Ollama, LM Studio, etc.

FileQuantSizeNotes
qwen2.5-coder-7b-instruct.Q4_K_M.ggufQ4KM~4.7 GB4-bit, best size/quality balance (recommended)
qwen2.5-coder-7b-instruct.Q6_K.ggufQ6_K~6.3 GB6-bit, near-Q8 quality, smaller
qwen2.5-coder-7b-instruct.Q8_0.ggufQ8_0~8.1 GB8-bit, near-lossless

See the main model card for results (exact 78.8% / semantic 86.2% / validity 99.2% vs base 3.8 / 67.0 / 100), training details, and the required system prompt — the model expects the text-to-SQL system message + ChatML format.

Quick start (Ollama)

bash
ollama run hf.co/junmingg/qwen2.5-coder-7b-text2sql-GGUF:Q4_K_M

Quick start (llama.cpp)

bash
llama-cli -hf junmingg/qwen2.5-coder-7b-text2sql-GGUF:Q4_K_M

License: Apache-2.0 (base model) / data CC-BY-4.0.