Text Generation
GGUF
English
quantized
llama.cpp
scorecard
governance
validated
local-llm
on-device
agentic
tool-calling
function-calling
agents
ai-agents
rag
q4_k_m
q8_0
conversational
Instructions to use smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use smarttasks/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="smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF", filename="DeepSeek-R1-Distill-Qwen-7B-Q3_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use smarttasks/DeepSeek-R1-Distill-Qwen-7B-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 smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf smarttasks/DeepSeek-R1-Distill-Qwen-7B-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 smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
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 smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
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 smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "smarttasks/DeepSeek-R1-Distill-Qwen-7B-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": "smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
- Ollama
How to use smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF with Ollama:
ollama run hf.co/smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
- Unsloth Studio
How to use smarttasks/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 smarttasks/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 smarttasks/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 smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF with Docker Model Runner:
docker model run hf.co/smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
- Lemonade
How to use smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull smarttasks/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Qwen-7B-GGUF-Q4_K_M
List all available models
lemonade list
| { | |
| "schema": "smarttasks.repo_manifest/v1", | |
| "generated_utc": "2026-07-14T18:38:33+00:00", | |
| "root": "DeepSeek-R1-Distill-Qwen-7B-GGUF", | |
| "file_count": 10, | |
| "risk_finding_count": 0, | |
| "classes_present": [ | |
| "binary", | |
| "contextual", | |
| "ingestible", | |
| "model" | |
| ], | |
| "agent_prefilter_hint": { | |
| "load": [ | |
| "contextual", | |
| "ingestible" | |
| ], | |
| "runtime_only": [ | |
| "model" | |
| ], | |
| "never_auto_execute": [ | |
| "executable" | |
| ], | |
| "quarantine": [ | |
| "sensitive" | |
| ] | |
| }, | |
| "files": [ | |
| { | |
| "path": ".gitattributes", | |
| "bytes": 43, | |
| "content_class": "binary", | |
| "ingest_policy": "skip", | |
| "sha256": "4cf00e98dded8779b234ba8d2356ce03ef5360f69632bd81f0f10c4c944b89d9", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "DeepSeek-R1-Distill-Qwen-7B-Q3_K_M.gguf", | |
| "bytes": 3808390976, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "f60f53d8c208cb01c5c51231d34b7e03264f3b0a77055105cece2de97f6872ad", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "DeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf", | |
| "bytes": 4683073344, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "5b2cc9d57f4368ea6d3fbd0dcd8bce811eddc473cec2b72e55d02132dc6afcfe", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf", | |
| "bytes": 5444831040, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "b5dd6a089114d2054bf4a633bc7da578462ea258bae1bf6924b625a46b873cab", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "DeepSeek-R1-Distill-Qwen-7B-Q6_K.gguf", | |
| "bytes": 6254198592, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "37ece48d44043a3f40b5df5c20418a7f026bccc5ba49f6a9c71e12717b038855", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "DeepSeek-R1-Distill-Qwen-7B-Q8_0.gguf", | |
| "bytes": 8098524992, | |
| "content_class": "model", | |
| "ingest_policy": "runtime_only", | |
| "sha256": "bbecded6e2832d8f7997a2f6be79ba8654ccdb71094b58370f3d0aa9c4cac4c4", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "README.md", | |
| "bytes": 12465, | |
| "content_class": "contextual", | |
| "ingest_policy": "load_as_context", | |
| "sha256": "5da28a57ac5d52a32b1fcacb1cf983e9e35e36a550e0f8babbe6caba37cf7266", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "SECURITY.md", | |
| "bytes": 2036, | |
| "content_class": "contextual", | |
| "ingest_policy": "load_as_context", | |
| "sha256": "68042869980b9d4e7342c431e4b238610f44ae66a5aee2ba8950b245884d89ba", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "SHA256SUMS", | |
| "bytes": 526, | |
| "content_class": "binary", | |
| "ingest_policy": "skip", | |
| "sha256": "110a343832894fd0faf54fc734c46ec92e55ed37153ca532608723cc9ac88a83", | |
| "risk_findings": [] | |
| }, | |
| { | |
| "path": "scorecard.json", | |
| "bytes": 11607, | |
| "content_class": "ingestible", | |
| "ingest_policy": "load_structured", | |
| "sha256": "7f13d28a91980103fd29dc39b709395ccb46f56b0ca2075f196e2b04e4555420", | |
| "risk_findings": [] | |
| } | |
| ] | |
| } |