Instructions to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF", filename="DeepSeek-R1-Distill-Llama-8B-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with Ollama:
ollama run hf.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
- Lemonade
How to use tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/DeepSeek-R1-Distill-Llama-8B-GGUF:Q2_K
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Llama-8B-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- DeepSeek-R1-Distill-Llama-8B-Q2_K.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q3_K_L.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q3_K_M.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q3_K_S.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q4_0.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q4_K_M.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q4_K_S.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q5_0.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q5_K_M.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q5_K_S.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q6_K.gguf +2 -2
- DeepSeek-R1-Distill-Llama-8B-Q8_0.gguf +2 -2
- README.md +15 -5
DeepSeek-R1-Distill-Llama-8B-Q2_K.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ce1c13294f783b6ef2f1ff850ca8d2686ef0b1bf41efee48003df71232c7ba0
|
| 3 |
+
size 3179134208
|
DeepSeek-R1-Distill-Llama-8B-Q3_K_L.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1364f6221346b01f032702e6025ab35813fc9f696fb46520267c4f5df4b93fb1
|
| 3 |
+
size 4321959168
|
DeepSeek-R1-Distill-Llama-8B-Q3_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebacb1cbf26c3b72dfd6cf1392cc6cb3b5c5b6b34bbc4947ab86d673690ed0f6
|
| 3 |
+
size 4018920704
|
DeepSeek-R1-Distill-Llama-8B-Q3_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb614b920e22ae4c4ac7691e52db6f563288976897f56149f6fcf2ab5734cc1c
|
| 3 |
+
size 3664502016
|
DeepSeek-R1-Distill-Llama-8B-Q4_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c9629f485dbd0e865c6ed6620e6d77b18145ff88df38d86c9e95ff319451ca2
|
| 3 |
+
size 4661214464
|
DeepSeek-R1-Distill-Llama-8B-Q4_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cb17faebb81dd6bdebf819451c2353e9079e049a89359c803bffdbb27437d35
|
| 3 |
+
size 4920737024
|
DeepSeek-R1-Distill-Llama-8B-Q4_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25d99a1f5ffb12707fccc672466b372a5daac3ddb22345a8c15b012c4ee971aa
|
| 3 |
+
size 4692671744
|
DeepSeek-R1-Distill-Llama-8B-Q5_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:131781480962eab4908ddb707b2e90650df33029c66e3ef910271ab3dfd4c865
|
| 3 |
+
size 5599296768
|
DeepSeek-R1-Distill-Llama-8B-Q5_K_M.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a37a80765bead563b275ba8a4786065216fee922d9529c6bf78fea75b71e6bb
|
| 3 |
+
size 5732990208
|
DeepSeek-R1-Distill-Llama-8B-Q5_K_S.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a29fc84d7f07ec2a2266a858ea173694211472dfddb5294d3fc7e522b16ef93f
|
| 3 |
+
size 5599296768
|
DeepSeek-R1-Distill-Llama-8B-Q6_K.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65c10b07e07b51048ed0f96e9221bde9635ad2b177f8665b898cb91ff8b34fe0
|
| 3 |
+
size 6596009216
|
DeepSeek-R1-Distill-Llama-8B-Q8_0.gguf
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6755254b2f52bc461cf6a8f2ce3aa405c261d71bf8ad72231dba73288a0e192d
|
| 3 |
+
size 8540773632
|
README.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
tags:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- TensorBlock
|
| 5 |
- GGUF
|
| 6 |
---
|
|
@@ -16,11 +26,11 @@ tags:
|
|
| 16 |
</div>
|
| 17 |
</div>
|
| 18 |
|
| 19 |
-
##
|
| 20 |
|
| 21 |
-
This repo contains GGUF format model files for [
|
| 22 |
|
| 23 |
-
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit
|
| 24 |
|
| 25 |
<div style="text-align: left; margin: 20px 0;">
|
| 26 |
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
|
@@ -31,7 +41,7 @@ The files were quantized using machines provided by [TensorBlock](https://tensor
|
|
| 31 |
## Prompt template
|
| 32 |
|
| 33 |
```
|
| 34 |
-
<|begin▁of▁sentence|>{system_prompt}<|User|>{prompt}<|Assistant|>
|
| 35 |
```
|
| 36 |
|
| 37 |
## Model file specification
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: unsloth/DeepSeek-R1-Distill-Llama-8B
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
license: llama3.1
|
| 6 |
+
library_name: transformers
|
| 7 |
tags:
|
| 8 |
+
- deepseek
|
| 9 |
+
- unsloth
|
| 10 |
+
- transformers
|
| 11 |
+
- llama
|
| 12 |
+
- llama-3
|
| 13 |
+
- meta
|
| 14 |
- TensorBlock
|
| 15 |
- GGUF
|
| 16 |
---
|
|
|
|
| 26 |
</div>
|
| 27 |
</div>
|
| 28 |
|
| 29 |
+
## unsloth/DeepSeek-R1-Distill-Llama-8B - GGUF
|
| 30 |
|
| 31 |
+
This repo contains GGUF format model files for [unsloth/DeepSeek-R1-Distill-Llama-8B](https://huggingface.co/unsloth/DeepSeek-R1-Distill-Llama-8B).
|
| 32 |
|
| 33 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4882](https://github.com/ggml-org/llama.cpp/commit/be7c3034108473beda214fd1d7c98fd6a7a3bdf5).
|
| 34 |
|
| 35 |
<div style="text-align: left; margin: 20px 0;">
|
| 36 |
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
|
|
|
| 41 |
## Prompt template
|
| 42 |
|
| 43 |
```
|
| 44 |
+
<|begin▁of▁sentence|>{system_prompt}<|User|>{prompt}<|Assistant|><think>
|
| 45 |
```
|
| 46 |
|
| 47 |
## Model file specification
|