Text Generation
Transformers
GGUF
English
llama
deepseek
unsloth
llama-3
meta
imatrix
conversational
Instructions to use unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF") model = AutoModelForCausalLM.from_pretrained("unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use unsloth/DeepSeek-R1-Distill-Llama-70B-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 unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama cli -hf unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
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 unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
Use Docker
docker model run hf.co/unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "unsloth/DeepSeek-R1-Distill-Llama-70B-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": "unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
- SGLang
How to use unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF with Ollama:
ollama run hf.co/unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
- Unsloth Desktop
- Docker Model Runner
How to use unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF with Docker Model Runner:
docker model run hf.co/unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
- Lemonade
How to use unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull unsloth/DeepSeek-R1-Distill-Llama-70B-GGUF:UD-Q4_K_XL
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Llama-70B-GGUF-UD-Q4_K_XL
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files
.gitattributes
CHANGED
|
@@ -67,3 +67,7 @@ UD-Q6_K_XL/DeepSeek-R1-Distill-Llama-70B-UD-Q6_K_XL-00001-of-00002.gguf filter=l
|
|
| 67 |
UD-Q6_K_XL/DeepSeek-R1-Distill-Llama-70B-UD-Q6_K_XL-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 68 |
UD-Q8_K_XL/DeepSeek-R1-Distill-Llama-70B-UD-Q8_K_XL-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 69 |
UD-Q8_K_XL/DeepSeek-R1-Distill-Llama-70B-UD-Q8_K_XL-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
UD-Q6_K_XL/DeepSeek-R1-Distill-Llama-70B-UD-Q6_K_XL-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 68 |
UD-Q8_K_XL/DeepSeek-R1-Distill-Llama-70B-UD-Q8_K_XL-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 69 |
UD-Q8_K_XL/DeepSeek-R1-Distill-Llama-70B-UD-Q8_K_XL-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
BF16/DeepSeek-R1-Distill-Llama-70B-BF16-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
BF16/DeepSeek-R1-Distill-Llama-70B-BF16-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
BF16/DeepSeek-R1-Distill-Llama-70B-BF16-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
imatrix_unsloth.dat filter=lfs diff=lfs merge=lfs -text
|
BF16/DeepSeek-R1-Distill-Llama-70B-BF16-00001-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc1ac1c04f008cd0ea92ef96930944f4ddff69dd5ebb4023b9a071d1a1d7329b
|
| 3 |
+
size 49875751872
|
BF16/DeepSeek-R1-Distill-Llama-70B-BF16-00002-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b63874e798d1517188ee5cc623ee1769e8d56816e8ff2fd64dbb455c9d879639
|
| 3 |
+
size 49779949088
|
BF16/DeepSeek-R1-Distill-Llama-70B-BF16-00003-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2ba6dcec0c9c5e3a445deafca3dda4c1f6618e4815a6a3ff161727d6dec0a1e
|
| 3 |
+
size 41462214912
|
imatrix_unsloth.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ffc52a8efb74aa5d8514a1551bbc2cdb74f7f1f2929eabc952f81ccd1a0cb41
|
| 3 |
+
size 24922315
|