Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: deepseek-ai/DeepSeek-R1-Distill-Llama-8B
|
| 3 |
+
library_name: transformers
|
| 4 |
+
license: llama3.1
|
| 5 |
+
tags:
|
| 6 |
+
- deepseek
|
| 7 |
+
- transformers
|
| 8 |
+
- llama
|
| 9 |
+
- llama-3
|
| 10 |
+
- meta
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# DeepSeek-R1-Distill-Llama-8B-NexaQuant
|
| 14 |
+
|
| 15 |
+
## Introduction
|
| 16 |
+
**DeepSeek-R1-Distill-Llama-8B-NexaQuant** is a ... (TODO)
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## How to Use on Your Device
|
| 21 |
+
Below, we outline multiple ways to run the model locally.
|
| 22 |
+
|
| 23 |
+
#### Option 1: Using Nexa SDK
|
| 24 |
+
|
| 25 |
+
**Step 1: Install Nexa SDK**
|
| 26 |
+
|
| 27 |
+
Follow the installation instructions in Nexa SDK's [GitHub repository](https://github.com/NexaAI/nexa-sdk).
|
| 28 |
+
|
| 29 |
+
**Step 2: Run the model with Nexa**
|
| 30 |
+
|
| 31 |
+
Execute the following command in your terminal:
|
| 32 |
+
```bash
|
| 33 |
+
nexa run DeepSeek-R1-Distill-Llama-8B-NexaQuant:q4_0
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
#### Option 2: Using llama.cpp
|
| 37 |
+
|
| 38 |
+
**Step 1: Build llama.cpp on Your Device**
|
| 39 |
+
|
| 40 |
+
Follow the "Building the project" instructions in the llama.cpp [repository](https://github.com/ggerganov/llama.cpp) to build the project.
|
| 41 |
+
|
| 42 |
+
**Step 2: Run the Model with llama.cpp**
|
| 43 |
+
|
| 44 |
+
Once built, run `llama-cli` under `<build_dir>/bin/`:
|
| 45 |
+
```bash
|
| 46 |
+
./llama-cli \
|
| 47 |
+
--model your/local/path/to/DeepSeek-R1-Distill-Llama-8B-NexaQuant \
|
| 48 |
+
--prompt 'Provide step-by-step reasoning enclosed in <think> </think> tags, followed by the final answer enclosed in \boxed{} tags.' \
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
#### Option 3: Using LM Studio
|
| 52 |
+
|
| 53 |
+
**Step 1: Download and Install LM Studio**
|
| 54 |
+
|
| 55 |
+
Get the latest version from the [official website](https://lmstudio.ai/).
|
| 56 |
+
|
| 57 |
+
**Step 2: Load and Run the Model**
|
| 58 |
+
|
| 59 |
+
2. In LM Studio's top panel, search for and select `NexaAIDev/DeepSeek-R1-Distill-Llama-8B-NexaQuant`.
|
| 60 |
+
3. Click `Download` (if not already downloaded) and wait for the model to load.
|
| 61 |
+
4. Once loaded, go to the chat window and start a conversation.
|
| 62 |
+
---
|