---
base_model: deepseek-ai/DeepSeek-R1-Distill-Llama-8B
tags:
- TensorBlock
- GGUF
---
## deepseek-ai/DeepSeek-R1-Distill-Llama-8B - GGUF
This repo contains GGUF format model files for [deepseek-ai/DeepSeek-R1-Distill-Llama-8B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B).
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit ec7f3ac](https://github.com/ggerganov/llama.cpp/commit/ec7f3ac9ab33e46b136eb5ab6a76c4d81f57c7f1).
## Prompt template
```
<|begin▁of▁sentence|>{system_prompt}<|User|>{prompt}<|Assistant|>
```
## Model file specification
| Filename | Quant type | File Size | Description |
| -------- | ---------- | --------- | ----------- |
| [DeepSeek-R1-Distill-Llama-8B-Q2_K.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q2_K.gguf) | Q2_K | 3.179 GB | smallest, significant quality loss - not recommended for most purposes |
| [DeepSeek-R1-Distill-Llama-8B-Q3_K_S.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q3_K_S.gguf) | Q3_K_S | 3.665 GB | very small, high quality loss |
| [DeepSeek-R1-Distill-Llama-8B-Q3_K_M.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q3_K_M.gguf) | Q3_K_M | 4.019 GB | very small, high quality loss |
| [DeepSeek-R1-Distill-Llama-8B-Q3_K_L.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q3_K_L.gguf) | Q3_K_L | 4.322 GB | small, substantial quality loss |
| [DeepSeek-R1-Distill-Llama-8B-Q4_0.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q4_0.gguf) | Q4_0 | 4.661 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
| [DeepSeek-R1-Distill-Llama-8B-Q4_K_S.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q4_K_S.gguf) | Q4_K_S | 4.693 GB | small, greater quality loss |
| [DeepSeek-R1-Distill-Llama-8B-Q4_K_M.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q4_K_M.gguf) | Q4_K_M | 4.921 GB | medium, balanced quality - recommended |
| [DeepSeek-R1-Distill-Llama-8B-Q5_0.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q5_0.gguf) | Q5_0 | 5.599 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
| [DeepSeek-R1-Distill-Llama-8B-Q5_K_S.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q5_K_S.gguf) | Q5_K_S | 5.599 GB | large, low quality loss - recommended |
| [DeepSeek-R1-Distill-Llama-8B-Q5_K_M.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q5_K_M.gguf) | Q5_K_M | 5.733 GB | large, very low quality loss - recommended |
| [DeepSeek-R1-Distill-Llama-8B-Q6_K.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q6_K.gguf) | Q6_K | 6.596 GB | very large, extremely low quality loss |
| [DeepSeek-R1-Distill-Llama-8B-Q8_0.gguf](https://huggingface.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF/blob/main/DeepSeek-R1-Distill-Llama-8B-Q8_0.gguf) | Q8_0 | 8.541 GB | very large, extremely low quality loss - not recommended |
## Downloading instruction
### Command line
Firstly, install Huggingface Client
```shell
pip install -U "huggingface_hub[cli]"
```
Then, downoad the individual model file the a local directory
```shell
huggingface-cli download tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF --include "DeepSeek-R1-Distill-Llama-8B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
```
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
```shell
huggingface-cli download tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
```