Instructions to use NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-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-Qwen-1.5B-NexaQuant # Run inference directly in the terminal: llama cli -hf NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-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-Qwen-1.5B-NexaQuant # Run inference directly in the terminal: llama cli -hf NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-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-Qwen-1.5B-NexaQuant # Run inference directly in the terminal: ./llama-cli -hf NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-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-Qwen-1.5B-NexaQuant # Run inference directly in the terminal: ./build/bin/llama-cli -hf NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant
Use Docker
docker model run hf.co/NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant
- Llama new
- LM Studio
- Jan
- Ollama
How to use NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant with Ollama:
ollama run hf.co/NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant
- Unsloth Desktop
- Docker Model Runner
How to use NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant with Docker Model Runner:
docker model run hf.co/NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant
- Lemonade
How to use NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NexaAI/DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Commit History
-
Update README.md
Verified signature6889276
-
Update README.md
Verified signature0dd2af4 -
Update README.md
Verified signature0d89662 -
Update README.md
Verified signature065ae6f
-
Update README.md
Verified signature706bda2 -
Update README.md
Verified signaturef6c37aa -
Update README.md
Verified signatureb5a8c4e -
Update README.md
Verified signature7db3329 -
Update README.md
Verified signaturec432a2c -
Update README.md
Verified signature5d3bf76 -
Update README.md
Verified signature5f14789 -
Update README.md (#2)
Verified signature- Update README.md (a1f6b2685dada4c803a8fa010a012f2dbabd5bc3) Co-authored-by: Yin Li <yli-nexa4ai@users.noreply.huggingface.co>b7d8f03
-
Update README.md
Verified signature4f66265 -
Upload banner.png
Verified signaturebac0aab
-
Update README.md
Verified signatureb544b79
-
Update README.md
Verified signature2fcf31e -
Update README.md
Verified signature4c4b415 -
Create README.md
Verified signatureinitial commit for model card8c3cda2 -
Delete NexaQuant-DeepSeek-R1-Distill-Qwen-1.5B-Q4_0.gguf
Verified signaturecae61de -
Upload DeepSeek-R1-Distill-Qwen-1.5B-NexaQuant.gguf with huggingface_hub
Verified signature3b36a10 -
Upload NexaQuant-DeepSeek-R1-Distill-Qwen-1.5B-Q4_0.gguf with huggingface_hub
Verified signaturedd40497 -
initial commit
Verified signature4a33901