apepkuss79
commited on
Commit
•
636adf4
1
Parent(s):
e7fdac0
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,93 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Qwen/Qwen2.5-Coder-32B-Instruct
|
3 |
+
license: apache-2.0
|
4 |
+
license_link: https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct/blob/main/LICENSE
|
5 |
+
model_creator: Qwen
|
6 |
+
model_name: Qwen2.5-Coder-32B-Instruct
|
7 |
+
quantized_by: Second State Inc.
|
8 |
+
language:
|
9 |
+
- en
|
10 |
+
pipeline_tag: text-generation
|
11 |
+
library_name: transformers
|
12 |
+
tags:
|
13 |
+
- code
|
14 |
+
- codeqwen
|
15 |
+
- chat
|
16 |
+
- qwen
|
17 |
+
- qwen-coder
|
18 |
+
---
|
19 |
+
|
20 |
+
<!-- header start -->
|
21 |
+
<!-- 200823 -->
|
22 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
23 |
+
<img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
24 |
+
</div>
|
25 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
26 |
+
<!-- header end -->
|
27 |
+
|
28 |
+
# Qwen2.5-Coder-32B-Instruct-GGUF
|
29 |
+
|
30 |
+
## Original Model
|
31 |
+
|
32 |
+
[Qwen/Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct)
|
33 |
+
|
34 |
+
## Run with LlamaEdge
|
35 |
+
|
36 |
+
- LlamaEdge version: [v0.14.14](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.14.14) or above
|
37 |
+
|
38 |
+
- Prompt template
|
39 |
+
|
40 |
+
- Prompt type: `chatml`
|
41 |
+
|
42 |
+
- Prompt string
|
43 |
+
|
44 |
+
```text
|
45 |
+
<|im_start|>system
|
46 |
+
{system_message}<|im_end|>
|
47 |
+
<|im_start|>user
|
48 |
+
{prompt}<|im_end|>
|
49 |
+
<|im_start|>assistant
|
50 |
+
```
|
51 |
+
|
52 |
+
- Context size: `128000`
|
53 |
+
|
54 |
+
- Run as LlamaEdge service
|
55 |
+
|
56 |
+
```bash
|
57 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen2.5-Coder-32B-Instruct-Q5_K_M.gguf \
|
58 |
+
llama-api-server.wasm \
|
59 |
+
--model-name Qwen2.5-Coder-32B-Instruct \
|
60 |
+
--prompt-template chatml \
|
61 |
+
--ctx-size 128000
|
62 |
+
```
|
63 |
+
|
64 |
+
- Run as LlamaEdge command app
|
65 |
+
|
66 |
+
```bash
|
67 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Qwen2.5-Coder-32B-Instruct-Q5_K_M.gguf \
|
68 |
+
llama-chat.wasm \
|
69 |
+
--prompt-template chatml \
|
70 |
+
--ctx-size 128000
|
71 |
+
```
|
72 |
+
|
73 |
+
## Quantized GGUF Models
|
74 |
+
|
75 |
+
| Name | Quant method | Bits | Size | Use case |
|
76 |
+
| ---- | ---- | ---- | ---- | ----- |
|
77 |
+
| [Qwen2.5-Coder-32B-Instruct-Q2_K.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q2_K.gguf) | Q2_K | 2 | 5.77 GB| smallest, significant quality loss - not recommended for most purposes |
|
78 |
+
| [Qwen2.5-Coder-32B-Instruct-Q3_K_L.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q3_K_L.gguf) | Q3_K_L | 3 | 7.92 GB| small, substantial quality loss |
|
79 |
+
| [Qwen2.5-Coder-32B-Instruct-Q3_K_M.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3 | 7.34 GB| very small, high quality loss |
|
80 |
+
| [Qwen2.5-Coder-32B-Instruct-Q3_K_S.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3 | 6.66 GB| very small, high quality loss |
|
81 |
+
| [Qwen2.5-Coder-32B-Instruct-Q4_0.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q4_0.gguf) | Q4_0 | 4 | 8.52 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
82 |
+
| [Qwen2.5-Coder-32B-Instruct-Q4_K_M.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4 | 8.99 GB| medium, balanced quality - recommended |
|
83 |
+
| [Qwen2.5-Coder-32B-Instruct-Q4_K_S.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4 | 8.57 GB| small, greater quality loss |
|
84 |
+
| [Qwen2.5-Coder-32B-Instruct-Q5_0.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q5_0.gguf) | Q5_0 | 5 | 10.3 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
85 |
+
| [Qwen2.5-Coder-32B-Instruct-Q5_K_M.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5 | 23.3 GB| large, very low quality loss - recommended |
|
86 |
+
| [Qwen2.5-Coder-32B-Instruct-Q5_K_S.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5 | 10.3 GB| large, low quality loss - recommended |
|
87 |
+
| [Qwen2.5-Coder-32B-Instruct-Q6_K.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q6_K.gguf) | Q6_K | 6 | 12.1 GB| very large, extremely low quality loss |
|
88 |
+
| [Qwen2.5-Coder-32B-Instruct-Q8_0.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-Q8_0.gguf) | Q8_0 | 8 | 15.1 GB| very large, extremely low quality loss - not recommended |
|
89 |
+
| [Qwen2.5-Coder-32B-Instruct-f16.gguf](https://huggingface.co/second-state/Qwen2.5-Coder-32B-Instruct-GGUF/blob/main/Qwen2.5-Coder-32B-Instruct-f16.gguf) | f16 | 16 | 29.5 GB| |
|
90 |
+
|
91 |
+
*Quantized with llama.cpp b4033*
|
92 |
+
|
93 |
+
|