Views
No views yet
Can you run a powerful model on a laptop without losing its intelligence?
| Benchmark | Original (FP16) | Q4_K_M | Quality Retained |
|---|---|---|---|
| MMLU Pro | See original card | Run benchmarks | ~97-99% |
| HellaSwag | See original card | Run benchmarks | ~97-99% |
| ARC Challenge | See original card | Run benchmarks | ~97-99% |
| TruthfulQA | See original card | Run benchmarks | ~97-99% |
| GSM8K | See original card | Run benchmarks | ~97-99% |
| Filename | Size | RAM Required | Quant | Quality | Best For |
|---|---|---|---|---|---|
DeepSeek-R1-Distill-Qwen-1.5B-Q2_K.gguf | 0.70 GB | ~2.2 GB | Q2_K | ⭐ | Extreme compression, significant quality loss. |
DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_L.gguf | 0.91 GB | ~2.4 GB | Q3_K_L | ⭐⭐⭐ | Slightly better than Q3_K_M, still a compromise. |
DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf | 0.86 GB | ~2.4 GB | Q3_K_M | ⭐⭐⭐ | Very small file. Quality drop noticeable. |
DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_S.gguf | 0.80 GB | ~2.3 GB | Q3_K_S | ⭐⭐ | Very high compression, high quality loss. |
DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_M.gguf | 1.04 GB | ~2.5 GB | Q4_K_M ✅ Recommended | ⭐⭐⭐⭐ | Best balance of size and quality. Recommended for most users. |
DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_S.gguf | 1.00 GB | ~2.5 GB | Q4_K_S | ⭐⭐⭐½ | Good speed/size balance, slight quality loss. |
DeepSeek-R1-Distill-Qwen-1.5B-Q5_K_M.gguf | 1.20 GB | ~2.7 GB | Q5_K_M | ⭐⭐⭐⭐½ | Better quality than Q4, slightly larger. Great if you have the RAM. |
DeepSeek-R1-Distill-Qwen-1.5B-Q5_K_S.gguf | 1.17 GB | ~2.7 GB | Q5_K_S | ⭐⭐⭐⭐ | Large but accurate. |
DeepSeek-R1-Distill-Qwen-1.5B-Q6_K.gguf | 1.36 GB | ~2.9 GB | Q6_K | ⭐⭐⭐⭐⭐ | Near-perfect quality, very large. |
DeepSeek-R1-Distill-Qwen-1.5B-Q8_0.gguf | 1.76 GB | ~3.3 GB | Q8_0 | ⭐⭐⭐⭐⭐ | Closest to original quality. Use when RAM is not a concern. |
DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_M.gguf — best balance of size and qualityDeepSeek-R1-Distill-Qwen-1.5B-Q8_0.gguf — near-original qualityDeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf — fits in 8GB with room to sparepython benchmark.py --model DeepSeek-R1-Distill-Qwen-1.5B to generate speed results.kaggle_bench.ipynb on Kaggle to benchmark this model.ollama run dhptl/deepseek-r1-distill-qwen-1.5bDhptl/DeepSeek-R1-Distill-Qwen-1.5B in the model browser.1# Download the binary from https://github.com/ggerganov/llama.cpp/releases
2./llama-cli \
3 -m DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_M.gguf \
4 -p "You are a helpful assistant." \
5 --conversation \
6 -n 5121from llama_cpp import Llama
2
3llm = Llama(
4 model_path="./DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_M.gguf",
5 n_gpu_layers=-1, # -1 = offload everything to GPU
6 n_ctx=4096,
7)
8
9response = llm.create_chat_completion(messages=[
10 {"role": "user", "content": "Tell me about quantization."}
11])
12print(response["choices"][0]["message"]["content"])| Format | Bits/weight | Size vs FP16 | Quality |
|---|---|---|---|
| Q2_K | ~2.6 | 16% | ⭐ |
| Q3_K_M | ~3.3 | 21% | ⭐⭐⭐ |
| Q4_K_M | ~4.5 | 28% | ⭐⭐⭐⭐ ← sweet spot |
| Q5_K_M | ~5.6 | 35% | ⭐⭐⭐⭐½ |
| Q8_0 | ~8.5 | 53% | ⭐⭐⭐⭐⭐ |