Xin Liu commited on
Commit
66da59f
1 Parent(s): 4907f3b

Signed-off-by: Xin Liu <sam@secondstate.io>

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