Instructions to use NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant 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 NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant # Run inference directly in the terminal: llama cli -hf NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant # Run inference directly in the terminal: llama cli -hf NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
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 NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant # Run inference directly in the terminal: ./llama-cli -hf NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
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 NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant # Run inference directly in the terminal: ./build/bin/llama-cli -hf NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
Use Docker
docker model run hf.co/NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
- LM Studio
- Jan
- Ollama
How to use NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant with Ollama:
ollama run hf.co/NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
- Unsloth Desktop
- Docker Model Runner
How to use NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant with Docker Model Runner:
docker model run hf.co/NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
- Lemonade
How to use NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NexaAI/DeepSeek-R1-Distill-Llama-8B-NexaQuant
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Llama-8B-NexaQuant-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Commit History
-
Update README.md
Verified signature0a76fab
-
Update README.md
Verified signature94e62a8
-
Update README.md
Verified signatured18b114 -
Update README.md
Verified signature81ce760 -
Update README.md
Verified signatured644917 -
Update README.md
Verified signature17cf515 -
Update README.md
Verified signature93bff76 -
Update README.md
Verified signature4398010 -
Update README.md
Verified signature99e1ac8 -
Update README.md (#1)
Verified signature- Update README.md (ac3fef243d0ebf555fa5f3260599c671bf2b0a53) Co-authored-by: Yin Li <yli-nexa4ai@users.noreply.huggingface.co>35663be
-
Update README.md
Verified signature7af3989 -
Update README.md
Verified signature9d26c1d -
Upload banner.png
Verified signaturee0810a2
-
Update README.md
Verified signature76285e9 -
Update README.md
Verified signatureee7aff1 -
Update README.md
Verified signatureedbdc2b -
Update README.md
Verified signature3b7af59 -
Create README.md
Verified signature033f9f3 -
Upload NexaAIDev/DeepSeek-R1-Distill-Llama-8B-NexaQuant GGUF model
Verified signature60185e8 -
initial commit
Verified signaturee7f3041