Instructions to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF", dtype="auto") - MLX
How to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir DeepSeek-R1-Distill-Qwen-7B-GGUF tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF
- llama-cpp-python
How to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-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-Qwen-7B-GGUF", filename="DeepSeek-R1-Distill-Qwen-7B-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-Qwen-7B-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-Qwen-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DeepSeek-R1-Distill-Qwen-7B-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-Qwen-7B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/DeepSeek-R1-Distill-Qwen-7B-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-Qwen-7B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/DeepSeek-R1-Distill-Qwen-7B-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-Qwen-7B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF with Ollama:
ollama run hf.co/tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-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-Qwen-7B-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-Qwen-7B-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-Qwen-7B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q2_K
- Lemonade
How to use tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q2_K
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Qwen-7B-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- DeepSeek-R1-Distill-Qwen-7B-Q2_K.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q3_K_L.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q3_K_M.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q3_K_S.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q4_0.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q4_K_S.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q5_0.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q5_K_S.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q6_K.gguf +2 -2
- DeepSeek-R1-Distill-Qwen-7B-Q8_0.gguf +2 -2
- README.md +4 -11
DeepSeek-R1-Distill-Qwen-7B-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:0ceea38791156394d037e5e8400252092a7359c76c4cd46857edffdd0f17bca9
|
| 3 |
+
size 3015940128
|
DeepSeek-R1-Distill-Qwen-7B-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:343e0e12ba576018ab57d0276e81e7c14feec3f39560ae1fc6cd4016976320ae
|
| 3 |
+
size 4088459296
|
DeepSeek-R1-Distill-Qwen-7B-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:8aeb2ba5189021102167d6e56bbb646fdf5a0810ae70e49e13b7e8f0cc3fe3d4
|
| 3 |
+
size 3808391200
|
DeepSeek-R1-Distill-Qwen-7B-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:63f8926259ae127e2a1219ad05e42761b4db3c88b0d920d5ae87a458c1806e78
|
| 3 |
+
size 3492368416
|
DeepSeek-R1-Distill-Qwen-7B-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:c66c9d952699ca34c2d91cc69904128103ac2ee9a979c3e5811f4a4855772648
|
| 3 |
+
size 4431390752
|
DeepSeek-R1-Distill-Qwen-7B-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:d726cc98c5fba023d6f534698caf6cc8f9870d45be763616ce7521c32f7dfc51
|
| 3 |
+
size 4683073568
|
DeepSeek-R1-Distill-Qwen-7B-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:bd0f51f394684e097335a78bbd8df05d5e1b2affac135484db5ce3132cac9c6c
|
| 3 |
+
size 4457768992
|
DeepSeek-R1-Distill-Qwen-7B-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:c354665cc9d0ab42f81e214baf08a3563ebb8422aa3328b7a9276acbbd2638fb
|
| 3 |
+
size 5315176480
|
DeepSeek-R1-Distill-Qwen-7B-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:d0f1c7f8f609cab089861af6b913783c721afbc9345cf55d2b080c326182c989
|
| 3 |
+
size 5444831264
|
DeepSeek-R1-Distill-Qwen-7B-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:ff974c5add06f1dfa19d1a16b710acd01a1dced9613b614a754e6a4d74c5fe77
|
| 3 |
+
size 5315176480
|
DeepSeek-R1-Distill-Qwen-7B-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:e5cc349c97c74d0c36b91e506bf30c7133474c71322f584f702c9140befa3ad5
|
| 3 |
+
size 6254198816
|
DeepSeek-R1-Distill-Qwen-7B-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:541e5c16400bd1e7feb49b7d4ba192a61bc26dab567d1f81581079fadc8cc3b9
|
| 3 |
+
size 8098525216
|
README.md
CHANGED
|
@@ -1,17 +1,10 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: unsloth/DeepSeek-R1-Distill-Qwen-7B
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
-
license: apache-2.0
|
| 6 |
library_name: transformers
|
| 7 |
tags:
|
| 8 |
-
-
|
| 9 |
-
- qwen
|
| 10 |
-
- qwen2
|
| 11 |
-
- unsloth
|
| 12 |
-
- transformers
|
| 13 |
- TensorBlock
|
| 14 |
- GGUF
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
<div style="width: auto; margin-left: auto; margin-right: auto">
|
|
@@ -25,9 +18,9 @@ tags:
|
|
| 25 |
</div>
|
| 26 |
</div>
|
| 27 |
|
| 28 |
-
##
|
| 29 |
|
| 30 |
-
This repo contains GGUF format model files for [
|
| 31 |
|
| 32 |
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4823](https://github.com/ggml-org/llama.cpp/commit/5bbe6a9fe9a8796a9389c85accec89dbc4d91e39).
|
| 33 |
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
library_name: transformers
|
| 3 |
tags:
|
| 4 |
+
- mlx
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- TensorBlock
|
| 6 |
- GGUF
|
| 7 |
+
base_model: mlx-community/DeepSeek-R1-Distill-Qwen-7B
|
| 8 |
---
|
| 9 |
|
| 10 |
<div style="width: auto; margin-left: auto; margin-right: auto">
|
|
|
|
| 18 |
</div>
|
| 19 |
</div>
|
| 20 |
|
| 21 |
+
## mlx-community/DeepSeek-R1-Distill-Qwen-7B - GGUF
|
| 22 |
|
| 23 |
+
This repo contains GGUF format model files for [mlx-community/DeepSeek-R1-Distill-Qwen-7B](https://huggingface.co/mlx-community/DeepSeek-R1-Distill-Qwen-7B).
|
| 24 |
|
| 25 |
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4823](https://github.com/ggml-org/llama.cpp/commit/5bbe6a9fe9a8796a9389c85accec89dbc4d91e39).
|
| 26 |
|