Xin Liu commited on
Commit
d777502
1 Parent(s): e771bcc

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

Files changed (1) hide show
  1. README.md +74 -1
README.md CHANGED
@@ -1,3 +1,76 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: Qwen/Qwen1.5-7B-Chat
3
+ license: other
4
+ license_name: tongyi-qianwen-research
5
+ license_link: >-
6
+ https://huggingface.co/Qwen/Qwen1.5-7B-Chat/blob/main/LICENSE
7
+ model_creator: Qwen
8
+ model_name: Qwen1.5 7B Chat
9
+ quantized_by: Second State Inc.
10
+ language:
11
+ - en
12
+ pipeline_tag: text-generation
13
+ tags:
14
+ - chat
15
  ---
16
+
17
+ <!-- header start -->
18
+ <!-- 200823 -->
19
+ <div style="width: auto; margin-left: auto; margin-right: auto">
20
+ <img src="https://github.com/second-state/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
21
+ </div>
22
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
23
+ <!-- header end -->
24
+
25
+ # Qwen1.5-7B-Chat-GGUF
26
+
27
+ ## Original Model
28
+
29
+ [Qwen/Qwen1.5-7B-Chat](https://huggingface.co/Qwen/Qwen1.5-7B-Chat)
30
+
31
+ ## Run with LlamaEdge
32
+
33
+ - LlamaEdge version: [v0.2.15](https://github.com/second-state/LlamaEdge/releases/tag/0.2.15) and above
34
+
35
+ - Prompt template
36
+
37
+ - Prompt type: `chatml`
38
+
39
+ - Prompt string
40
+
41
+ ```text
42
+ <|im_start|>system
43
+ {system_message}<|im_end|>
44
+ <|im_start|>user
45
+ {prompt}<|im_end|>
46
+ <|im_start|>assistant
47
+ ```
48
+
49
+ - Run as LlamaEdge service
50
+
51
+ ```bash
52
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen1.5-7B-Chat-Q5_K_M.gguf.gguf llama-api-server.wasm -p chatml
53
+ ```
54
+
55
+ - Run as LlamaEdge command app
56
+
57
+ ```bash
58
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen1.5-7B-Chat-Q5_K_M.gguf.gguf llama-chat.wasm -p chatml
59
+ ```
60
+
61
+ ## Quantized GGUF Models
62
+
63
+ | Name | Quant method | Bits | Size | Use case |
64
+ | ---- | ---- | ---- | ---- | ----- |
65
+ | [Qwen1.5-7B-Chat-Q2_K.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q2_K.gguf) | Q2_K | 2 | 3.10 GB| smallest, significant quality loss - not recommended for most purposes |
66
+ | [Qwen1.5-7B-Chat-Q3_K_L.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q3_K_L.gguf) | Q3_K_L | 3 | 4.22 GB| small, substantial quality loss |
67
+ | [Qwen1.5-7B-Chat-Q3_K_M.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q3_K_M.gguf) | Q3_K_M | 3 | 3.92 GB| very small, high quality loss |
68
+ | [Qwen1.5-7B-Chat-Q3_K_S.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q3_K_S.gguf) | Q3_K_S | 3 | 3.57 GB| very small, high quality loss |
69
+ | [Qwen1.5-7B-Chat-Q4_0.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q4_0.gguf) | Q4_0 | 4 | 4.51 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
70
+ | [Qwen1.5-7B-Chat-Q4_K_M.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q4_K_M.gguf) | Q4_K_M | 4 | 4.77 GB| medium, balanced quality - recommended |
71
+ | [Qwen1.5-7B-Chat-Q4_K_S.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q4_K_S.gguf) | Q4_K_S | 4 | 4.54 GB| small, greater quality loss |
72
+ | [Qwen1.5-7B-Chat-Q5_0.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q5_0.gguf) | Q5_0 | 5 | 5.40 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
73
+ | [Qwen1.5-7B-Chat-Q5_K_M.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q5_K_M.gguf) | Q5_K_M | 5 | 5.53 GB| large, very low quality loss - recommended |
74
+ | [Qwen1.5-7B-Chat-Q5_K_S.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q5_K_S.gguf) | Q5_K_S | 5 | 5.4 GB| large, low quality loss - recommended |
75
+ | [Qwen1.5-7B-Chat-Q6_K.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q6_K.gguf) | Q6_K | 6 | 6.34 GB| very large, extremely low quality loss |
76
+ | [Qwen1.5-7B-Chat-Q8_0.gguf](https://huggingface.co/second-state/Qwen1.5-7B-Chat-GGUF/blob/main/Qwen1.5-7B-Chat-Q8_0.gguf) | Q8_0 | 8 | 8.21 GB| very large, extremely low quality loss - not recommended |