Xin Liu
commited on
Commit
•
36b0f79
1
Parent(s):
8a97bfd
Update
Browse filesSigned-off-by: Xin Liu <sam@secondstate.io>
README.md
CHANGED
@@ -1,11 +1,82 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: ehartford/dolphin-2_2-yi-34b
|
3 |
+
datasets:
|
4 |
+
- ehartford/dolphin
|
5 |
+
- jondurbin/airoboros-2.2.1
|
6 |
+
- ehartford/samantha-data
|
7 |
+
- ehartford/WizardLM_evol_instruct_V2_196k_unfiltered_merged_split
|
8 |
+
inference: false
|
9 |
+
language:
|
10 |
+
- en
|
11 |
+
license: other
|
12 |
+
license_link: LICENSE
|
13 |
+
license_name: yi-license
|
14 |
+
model_creator: Eric Hartford
|
15 |
+
model_name: Dolphin 2.2 Yi 34B
|
16 |
+
model_type: yi
|
17 |
+
pipeline_tag: text-generation
|
18 |
+
quantized_by: Second State Inc.
|
19 |
+
---
|
20 |
|
21 |
+
<!-- header start -->
|
22 |
+
<!-- 200823 -->
|
23 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
24 |
+
<img src="https://github.com/second-state/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
25 |
+
</div>
|
26 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
27 |
+
<!-- header end -->
|
28 |
|
29 |
+
# Dolphin-2.2-Yi-34B-GGUF
|
30 |
+
|
31 |
+
## Original Model
|
32 |
+
|
33 |
+
[ehartford/dolphin-2_2-yi-34b](https://huggingface.co/cognitivecomputations/dolphin-2_2-yi-34b)
|
34 |
+
|
35 |
+
## Run with LlamaEdge
|
36 |
+
|
37 |
+
- LlamaEdge version: [v0.2.8](https://github.com/second-state/LlamaEdge/releases/tag/0.2.8) and above
|
38 |
+
|
39 |
+
- Prompt template
|
40 |
+
|
41 |
+
- Prompt type: `chatml`
|
42 |
+
|
43 |
+
- Prompt string
|
44 |
+
|
45 |
+
```text
|
46 |
+
<|im_start|>system
|
47 |
+
{system_message}<|im_end|>
|
48 |
+
<|im_start|>user
|
49 |
+
{prompt}<|im_end|>
|
50 |
+
<|im_start|>assistant
|
51 |
+
```
|
52 |
+
|
53 |
+
- Reverse prompt: `<|im_end|>`
|
54 |
+
|
55 |
+
- Run as LlamaEdge service
|
56 |
+
|
57 |
+
```bash
|
58 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:dolphin-2.2-yi-34b-ggml-model-q4_0.gguf llama-api-server.wasm -p chatml -r '<|im_end|>'
|
59 |
+
```
|
60 |
+
|
61 |
+
- Run as LlamaEdge command app
|
62 |
+
|
63 |
+
```bash
|
64 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:dolphin-2.2-yi-34b-ggml-model-q4_0.gguf llama-chat.wasm -p chatml -r '<|im_end|>' -s 'You are a helpful AI assistant'
|
65 |
+
```
|
66 |
+
|
67 |
+
## Quantized GGUF Models
|
68 |
+
|
69 |
+
| Name | Quant method | Bits | Size | Use case |
|
70 |
+
| ---- | ---- | ---- | ---- | ----- |
|
71 |
+
| [dolphin-2_2-yi-34b-Q2_K.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q2_K.gguf) | Q2_K | 2 | 12.8 GB| smallest, significant quality loss - not recommended for most purposes |
|
72 |
+
| [dolphin-2_2-yi-34b-Q3_K_L.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q3_K_L.gguf) | Q3_K_L | 3 | 18.1 GB| small, substantial quality loss |
|
73 |
+
| [dolphin-2_2-yi-34b-Q3_K_M.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q3_K_M.gguf) | Q3_K_M | 3 | 16.7 GB| very small, high quality loss |
|
74 |
+
| [dolphin-2_2-yi-34b-Q3_K_S.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q3_K_S.gguf) | Q3_K_S | 3 | 15.0 GB| very small, high quality loss |
|
75 |
+
| [dolphin-2_2-yi-34b-Q4_0.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q4_0.gguf) | Q4_0 | 4 | 19.5 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
76 |
+
| [dolphin-2_2-yi-34b-Q4_K_M.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q4_K_M.gguf) | Q4_K_M | 4 | 20.7 GB| medium, balanced quality - recommended |
|
77 |
+
| [dolphin-2_2-yi-34b-Q4_K_S.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q4_K_S.gguf) | Q4_K_S | 4 | 19.6 GB| small, greater quality loss |
|
78 |
+
| [dolphin-2_2-yi-34b-Q5_0.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q5_0.gguf) | Q5_0 | 5 | 23.7 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
79 |
+
| [dolphin-2_2-yi-34b-Q5_K_M.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q5_K_M.gguf) | Q5_K_M | 5 | 24.3 GB| large, very low quality loss - recommended |
|
80 |
+
| [dolphin-2_2-yi-34b-Q5_K_S.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q5_K_S.gguf) | Q5_K_S | 5 | 23.7 GB| large, low quality loss - recommended |
|
81 |
+
| [dolphin-2_2-yi-34b-Q6_K.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q6_K.gguf) | Q6_K | 6 | 28.2 GB| very large, extremely low quality loss |
|
82 |
+
| [dolphin-2_2-yi-34b-Q8_0.gguf](https://huggingface.co/second-state/Dolphin-2.2-Yi-34B-GGUF/blob/main/dolphin-2_2-yi-34b-Q8_0.gguf) | Q8_0 | 8 | 36.5 GB| very large, extremely low quality loss - not recommended |
|