Instructions to use bartowski/DeepSeek-R1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bartowski/DeepSeek-R1-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/DeepSeek-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/DeepSeek-R1-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/DeepSeek-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/DeepSeek-R1-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf bartowski/DeepSeek-R1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf bartowski/DeepSeek-R1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/bartowski/DeepSeek-R1-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use bartowski/DeepSeek-R1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bartowski/DeepSeek-R1-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bartowski/DeepSeek-R1-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bartowski/DeepSeek-R1-GGUF:Q4_K_M
- Ollama
How to use bartowski/DeepSeek-R1-GGUF with Ollama:
ollama run hf.co/bartowski/DeepSeek-R1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use bartowski/DeepSeek-R1-GGUF with Docker Model Runner:
docker model run hf.co/bartowski/DeepSeek-R1-GGUF:Q4_K_M
- Lemonade
How to use bartowski/DeepSeek-R1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/DeepSeek-R1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-R1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
---
|
| 2 |
quantized_by: bartowski
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
-
base_model:
|
| 5 |
---
|
| 6 |
|
| 7 |
## Llamacpp imatrix Quantizations of DeepSeek-R1
|
| 8 |
|
| 9 |
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b4514">b4514</a> for quantization.
|
| 10 |
|
| 11 |
-
Original model: https://huggingface.co/
|
| 12 |
|
| 13 |
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
|
| 14 |
|
|
@@ -17,7 +17,7 @@ Run them in [LM Studio](https://lmstudio.ai/)
|
|
| 17 |
## Prompt format
|
| 18 |
|
| 19 |
```
|
| 20 |
-
<|begin▁of▁sentence|>{system_prompt}<|User|>{prompt}<|Assistant|>
|
| 21 |
```
|
| 22 |
|
| 23 |
## Download a file (not the whole branch) from below:
|
|
|
|
| 1 |
---
|
| 2 |
quantized_by: bartowski
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
+
base_model: deepseek-ai/DeepSeek-R1
|
| 5 |
---
|
| 6 |
|
| 7 |
## Llamacpp imatrix Quantizations of DeepSeek-R1
|
| 8 |
|
| 9 |
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b4514">b4514</a> for quantization.
|
| 10 |
|
| 11 |
+
Original model: https://huggingface.co/deepseek-ai/DeepSeek-R1
|
| 12 |
|
| 13 |
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
|
| 14 |
|
|
|
|
| 17 |
## Prompt format
|
| 18 |
|
| 19 |
```
|
| 20 |
+
<|begin▁of▁sentence|>{system_prompt}<|User|>{prompt}<|Assistant|>
|
| 21 |
```
|
| 22 |
|
| 23 |
## Download a file (not the whole branch) from below:
|