Xin Liu commited on
Commit
4eacd75
·
1 Parent(s): 62d12c5

Signed-off-by: Xin Liu <[email protected]>

Files changed (1) hide show
  1. README.md +68 -7
README.md CHANGED
@@ -1,11 +1,72 @@
1
- # Deepseek-LLM-7B-Chat
 
 
 
 
 
 
 
 
 
 
2
 
3
- ## Prompt Template
 
 
 
 
 
 
4
 
5
- ```text
6
- User: {user_message_1}
7
 
8
- Assistant: {assistant_message_1}<|end▁of▁sentence|>User: {user_message_2}
9
 
10
- Assistant:
11
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: deepseek-ai/deepseek-llm-7b-chat
3
+ inference: false
4
+ license: other
5
+ license_link: LICENSE
6
+ license_name: deepseek
7
+ model_creator: DeepSeek
8
+ model_name: Deepseek LLM 7B Chat
9
+ model_type: deepseek
10
+ quantized_by: Second State Inc.
11
+ ---
12
 
13
+ <!-- header start -->
14
+ <!-- 200823 -->
15
+ <div style="width: auto; margin-left: auto; margin-right: auto">
16
+ <img src="https://github.com/second-state/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
17
+ </div>
18
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
19
+ <!-- header end -->
20
 
21
+ # Deepseek-LLM-7B-Chat-GGUF
 
22
 
23
+ ## Original Model
24
 
25
+ [deepseek-ai/deepseek-llm-7b-chat](https://huggingface.co/deepseek-ai/deepseek-llm-7b-chat)
26
+
27
+ ## Run with LlamaEdge
28
+
29
+ - LlamaEdge version: [v0.2.4](https://github.com/second-state/LlamaEdge/releases/tag/0.2.4)
30
+
31
+ - Prompt template
32
+
33
+ - Prompt type: `deepseek-chat`
34
+
35
+ - Prompt string
36
+
37
+ ```text
38
+ User: {user_message_1}
39
+
40
+ Assistant: {assistant_message_1}<|end▁of▁sentence|>User: {user_message_2}
41
+
42
+ Assistant:
43
+ ```
44
+
45
+ - Run as LlamaEdge service
46
+
47
+ ```bash
48
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:deepseek-llm-7b-chat.Q5_K_M.gguf llama-api-server.wasm -p deepseek-chat
49
+ ```
50
+
51
+ - Run as LlamaEdge command app
52
+
53
+ ```bash
54
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:deepseek-llm-7b-chat.Q5_K_M.gguf llama-chat.wasm -p deepseek-chat
55
+ ```
56
+
57
+ ## Quantized GGUF Models
58
+
59
+ | Name | Quant method | Bits | Size | Use case |
60
+ | ---- | ---- | ---- | ---- | ----- |
61
+ | [deepseek-llm-7b-chat-Q2_K.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q2_K.gguf) | Q2_K | 2 | 2.72 GB| smallest, significant quality loss - not recommended for most purposes |
62
+ | [deepseek-llm-7b-chat-Q3_K_L.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q3_K_L.gguf) | Q3_K_L | 3 | 3.75 GB| small, substantial quality loss |
63
+ | [deepseek-llm-7b-chat-Q3_K_M.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q3_K_M.gguf) | Q3_K_M | 3 | 3.46 GB| very small, high quality loss |
64
+ | [deepseek-llm-7b-chat-Q3_K_S.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q3_K_S.gguf) | Q3_K_S | 3 | 3.14 GB| very small, high quality loss |
65
+ | [deepseek-llm-7b-chat-Q4_0.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q4_0.gguf) | Q4_0 | 4 | 4.00 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
66
+ | [deepseek-llm-7b-chat-Q4_K_M.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q4_K_M.gguf) | Q4_K_M | 4 | 4.22 GB| medium, balanced quality - recommended |
67
+ | [deepseek-llm-7b-chat-Q4_K_S.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q4_K_S.gguf) | Q4_K_S | 4 | 4.03 GB| small, greater quality loss |
68
+ | [deepseek-llm-7b-chat-Q5_0.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q5_0.gguf) | Q5_0 | 5 | 4.81 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
69
+ | [deepseek-llm-7b-chat-Q5_K_M.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q5_K_M.gguf) | Q5_K_M | 5 | 4.93 GB| large, very low quality loss - recommended |
70
+ | [deepseek-llm-7b-chat-Q5_K_S.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q5_K_S.gguf) | Q5_K_S | 5 | 4.81 GB| large, low quality loss - recommended |
71
+ | [deepseek-llm-7b-chat-Q6_K.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q6_K.gguf) | Q6_K | 6 | 5.67 GB| very large, extremely low quality loss |
72
+ | [deepseek-llm-7b-chat-Q8_0.gguf](https://huggingface.co/second-state/Deepseek-LLM-7B-Chat-GGUF/blob/main/deepseek-llm-7b-chat-Q8_0.gguf) | Q8_0 | 8 | 7.35 GB| very large, extremely low quality loss - not recommended |