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
- Llama new
- 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -113,10 +113,10 @@ Get the latest version from the [official website](https://lmstudio.ai/).
|
|
| 113 |
|
| 114 |
## What's next
|
| 115 |
|
| 116 |
-
1.
|
| 117 |
-
|
| 118 |
-
2.
|
| 119 |
-
|
| 120 |
### Follow us
|
| 121 |
|
| 122 |
If you liked our work, feel free to ⭐Star [Nexa's GitHub Repo](https://github.com/NexaAI/nexa-sdk).
|
|
|
|
| 113 |
|
| 114 |
## What's next
|
| 115 |
|
| 116 |
+
1. This model is built for complex problem-solving, which is why it sometimes takes a long thinking process even for simple questions. We recognize this and are working on improving it in the next update.
|
| 117 |
+
|
| 118 |
+
2. Inference Nexa Quantized Deepseek-R1 distilled model on NPU
|
| 119 |
+
|
| 120 |
### Follow us
|
| 121 |
|
| 122 |
If you liked our work, feel free to ⭐Star [Nexa's GitHub Repo](https://github.com/NexaAI/nexa-sdk).
|