Downloads · 30 days
509
12% of all-time downloads
gvij/qwen3-0.6b-gguf
qwen3-0.6b-gguf is a text generation model from gvij. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
This repository contains GGUF (GPT-Generated Unified Format) conversions of the Qwen3-0.6B language model, optimized for efficient CPU inference using llama.cpp, Ollama, and other GGUF-compatible engines.
Downloads · 30 days
509
12% of all-time downloads
All-time downloads
4.3K
Public
Repo size
3.3 GB
Likes
2
Public
Click a slice to open those files.
.gguf3.3 GB · 100%
From the Hugging Face model README
This repository contains GGUF (GPT-Generated Unified Format) conversions of the Qwen3-0.6B language model, optimized for efficient CPU inference using llama.cpp, Ollama, and other GGUF-compatible engines.
This model was converted by NEO - Fully autonomous ML Engineering Agent.
Qwen3-0.6B is a compact yet powerful 0.6 billion parameter causal language model from Alibaba's Qwen series, featuring:
This repository provides 4 GGUF quantization variants optimized for different use cases:
| Model Variant | File Size | Quantization | Use Case | Quality |
|---|---|---|---|---|
| qwen3-0.6b-fp16.gguf | 1,439 MB | FP16 | Reference quality, GPU inference | Highest |
| qwen3-0.6b-q8_0.gguf | 767 MB | Q8_0 | High-quality CPU inference | Very High |
| qwen3-0.6b-q5_k_m.gguf | 526 MB | Q5_K_M | Production CPU deployment | High |
| qwen3-0.6b-q4_k_m.gguf | 462 MB | Q4_K_M | Edge devices, mobile, low memory | Good |
Download a model variant and run inference:
# Download model (replace with your preferred variant)
huggingface-cli download gvij/qwen3-0.6b-gguf qwen3-0.6b-q5_k_m.gguf --local-dir ./models
# Run inference
./llama-cli -m models/qwen3-0.6b-q5_k_m.gguf -p "Explain quantum computing:" -n 256 --temp 0.7
# Interactive chat mode
./llama-cli -m models/qwen3-0.6b-q5_k_m.gguf -cnv --color
Create a Modelfile:
FROM ./qwen3-0.6b-q5_k_m.gguf
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"
TEMPLATE """
<|im_start|>system
You are a helpful AI assistant.<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
Create and run the model:
ollama create qwen3-0.6b -f Modelfile
ollama run qwen3-0.6b "Write a Python function to calculate factorial"
from llama_cpp import Llama
llm = Llama(
model_path="qwen3-0.6b-q5_k_m.gguf",
n_ctx=32768,
n_threads=8,
n_gpu_layers=0
)
response = llm(
"Explain the theory of relativity in simple terms:",
max_tokens=256,
temperature=0.7,
top_p=0.9,
stop=["<|im_end|>", "<|endoftext|>"]
)
print(response['choices'][0]['text'])
Qwen3 supports explicit reasoning with thinking mode. Use the <think> tags:
prompt = """Think through this problem step by step:
<think>
What is 15% of 240?
</think>"""
response = llm(prompt, max_tokens=512)
CPU Inference Speed (approximate, on modern x86-64 CPU):
Memory Requirements:
Note: Actual performance depends on CPU architecture, clock speed, and context length.
✅ Thinking & Non-thinking Modes: Dynamic reasoning control
✅ Multilingual: 100+ languages supported
✅ Tool Calling: Native function calling for agent workflows
✅ Extended Context: 32K token context window
✅ CPU Optimized: GGUF format for efficient CPU inference
✅ Flexible Deployment: Compatible with llama.cpp, Ollama, LMStudio, MLX-LM
This model is released under the Apache 2.0 License, following the original Qwen3-0.6B license terms.
@misc{qwen3-0.6b-gguf,
title={Qwen3-0.6B GGUF},
author={Qwen Team},
year={2024},
url={https://huggingface.co/gvij/qwen3-0.6b-gguf}
}
For issues, questions, or feedback, please visit the original Qwen3-0.6B repository.
Authored and published by NEO