apepkuss79 commited on
Commit
a73a382
·
verified ·
1 Parent(s): 75acdff

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +86 -1
README.md CHANGED
@@ -1,3 +1,88 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: stabilityai/stablelm-2-12b-chat
3
+ inference: false
4
+ license: other
5
+ library_name: transformers
6
+ pipeline_tag: text-generation
7
+ model_creator: stabilityai
8
+ model_name: stablelm-2-12b-chat
9
+ quantized_by: Second State Inc.
10
+ language:
11
+ - en
12
+ tags:
13
+ - causal-lm
14
  ---
15
+
16
+ <!-- header start -->
17
+ <!-- 200823 -->
18
+ <div style="width: auto; margin-left: auto; margin-right: auto">
19
+ <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
20
+ </div>
21
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
22
+ <!-- header end -->
23
+
24
+ # stablelm-2-12b-chat-GGUF
25
+
26
+ ## Original Model
27
+
28
+ [stabilityai/stablelm-2-12b-chat](https://huggingface.co/stabilityai/stablelm-2-12b-chat)
29
+
30
+ ## Run with LlamaEdge
31
+
32
+ - LlamaEdge version: [v0.12.1](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.12.1) and above
33
+
34
+ - Prompt template
35
+
36
+ - Prompt type: `chatml`
37
+
38
+ - Prompt string
39
+
40
+ ```text
41
+ <|im_start|>system
42
+ {system_message}<|im_end|>
43
+ <|im_start|>user
44
+ {prompt}<|im_end|>
45
+ <|im_start|>assistant
46
+ ```
47
+
48
+ - Context size: `4096`
49
+
50
+ - Run as LlamaEdge service
51
+
52
+ ```bash
53
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:stablelm-2-12b-chat-Q5_K_M.gguf \
54
+ llama-api-server.wasm \
55
+ --prompt-template chatml \
56
+ --ctx-size 4096 \
57
+ --model-name gemma-2-9b
58
+ ```
59
+
60
+ - Run as LlamaEdge command app
61
+
62
+ ```bash
63
+ wasmedge --dir .:. \
64
+ --nn-preload default:GGML:AUTO:stablelm-2-12b-chat-Q5_K_M.gguf \
65
+ llama-chat.wasm \
66
+ --prompt-template chatml \
67
+ --ctx-size 4096
68
+ ```
69
+
70
+ ## Quantized GGUF Models
71
+
72
+ | Name | Quant method | Bits | Size | Use case |
73
+ | ---- | ---- | ---- | ---- | ----- |
74
+ | [stablelm-2-12b-chat-Q2_K.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q2_K.gguf) | Q2_K | 2 | 4.70 GB| smallest, significant quality loss - not recommended for most purposes |
75
+ | [stablelm-2-12b-chat-Q3_K_L.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q3_K_L.gguf) | Q3_K_L | 3 | 6.49 GB| small, substantial quality loss |
76
+ | [stablelm-2-12b-chat-Q3_K_M.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q3_K_M.gguf) | Q3_K_M | 3 | 5.99 GB| very small, high quality loss |
77
+ | [stablelm-2-12b-chat-Q3_K_S.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q3_K_S.gguf) | Q3_K_S | 3 | 5.42 GB| very small, high quality loss |
78
+ | [stablelm-2-12b-chat-Q4_0.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q4_0.gguf) | Q4_0 | 4 | 6.97 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
79
+ | [stablelm-2-12b-chat-Q4_K_M.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q4_K_M.gguf) | Q4_K_M | 4 | 7.37 GB| medium, balanced quality - recommended |
80
+ | [stablelm-2-12b-chat-Q4_K_S.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q4_K_S.gguf) | Q4_K_S | 4 | 7.02 GB| small, greater quality loss |
81
+ | [stablelm-2-12b-chat-Q5_0.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q5_0.gguf) | Q5_0 | 5 | 8.42 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
82
+ | [stablelm-2-12b-chat-Q5_K_M.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q5_K_M.gguf) | Q5_K_M | 5 | 8.63 GB| large, very low quality loss - recommended |
83
+ | [stablelm-2-12b-chat-Q5_K_S.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q5_K_S.gguf) | Q5_K_S | 5 | 8.42 GB| large, low quality loss - recommended |
84
+ | [stablelm-2-12b-chat-Q6_K.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q6_K.gguf) | Q6_K | 6 | 9.97 GB| very large, extremely low quality loss |
85
+ | [stablelm-2-12b-chat-Q8_0.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-Q8_0.gguf) | Q8_0 | 8 | 12.9 GB| very large, extremely low quality loss - not recommended |
86
+ | [stablelm-2-12b-chat-f16.gguf](https://huggingface.co/second-state/stablelm-2-12b-chat-GGUF/blob/main/stablelm-2-12b-chat-f16.gguf) | f16 | 16 | 24.3 GB| |
87
+
88
+ *Quantized with llama.cpp b3333*