Qwen2.5-Coder-1.5B-Instruct-GGUF
quantized version of the coding model
2 min readupdated
This is a compact model for code generation and analysis based on the Qwen architecture, compressed by the ONIX community into GGUF format with Q5_K_M quantization quality (around 5.5 bits per parameter). Weighing just 1.19 GB, the model retains approximately 97.5% of the cognitive accuracy of the original FP16 version. It handles snippet writing, debugging, and code explanation smoothly on consumer hardware without requiring a powerful GPU. It is a handy tool for developers looking for a fast, local programming assistant.
Key features
- Compact size: weighs only 1.19 GB thanks to a 2.91x compression ratio.
- Efficiency: full hardware support for Apple Metal, NVIDIA CUDA, and CPU (AVX2/AVX-512).
- High accuracy: retains 97.5% of the original performance of the base Qwen2.5-Coder-1.5B-Instruct model.
- GGUF format: fully compatible with popular local interfaces and running utilities.
What you can do
- Integration into LM Studio or Jan: drag and drop the downloaded file into your local models folder to quickly launch an interactive chat.
- Running via Ollama: create a custom Modelfile to deploy a local assistant right in your terminal.
- Command-line development: use the llama.cpp utility to integrate the model into your workflow scripts and environments.
Example
An example of setting up a local chat via Ollama using a ready-made configuration file:
FROM ./Qwen--Qwen2.5-Coder-1.5B-Instruct-Q5_K_M.gguf
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"Read more
DetailsBenchmarks: 97.5% retained quality at 5.5 bits/parameter compression.
Hardware: requires 1.33 GB of memory on Apple Silicon, 2.69 GB of VRAM on NVIDIA, or 3.33 GB of free RAM on CPU.
Context: up to 8,192 tokens on GPU/Apple Silicon and up to 4,096 on CPU.
License: Apache 2.0 / MIT.










Comments