Downloads · 30 days
13
2% of all-time downloads
RatanK/Qwen2.5-0.5B-Instruct-AWQ-INT4-lmhead
Qwen2.5-0.5B-Instruct-AWQ-INT4-lmhead is a text generation model from RatanK. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is a custom INT4 quantized version of the Qwen2.5-0.5B-Instruct model.
Downloads · 30 days
13
2% of all-time downloads
All-time downloads
546
Public
Parameters
638M
541 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors529 MB · 97%
How the weights are stored.
I32498M · 78%
From the Hugging Face model README
This is a custom INT4 quantized version of the Qwen2.5-0.5B-Instruct model.
Standard AWQ models leave the lm_head in FP16 because it shares embeddings with the input layer. For this model, the lm_head was explicitly untied and quantized to W4A16 Asymmetric alongside the rest of the network.
By crushing the massive 151k-dimension vocabulary projection down to 4-bit, this model significantly reduces the memory bandwidth bottleneck during the generation phase, making it incredibly fast on hardware like the Tesla T4.
llmcompressorcompressed-tensors (Marlin compatible)Because this model uses the compressed-tensors format and an untied head, you must run it on vLLM v0.6.0 or higher.
vllm serve your_username/Qwen2.5-0.5B-Instruct-AWQ-INT4-lmhead \
--max-model-len 2048 \
--quantization compressed-tensors