Xin Liu commited on
Commit
34fa207
1 Parent(s): 082b72a

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

Files changed (1) hide show
  1. README.md +67 -5
README.md CHANGED
@@ -1,7 +1,69 @@
1
- # Mistral-7B-Instruct-V0.1
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- ## Prompt Template
 
 
 
 
 
 
4
 
5
- ```text
6
- <s>[INST] {prompt} [/INST]
7
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.1
3
+ inference: false
4
+ license: apache-2.0
5
+ model_creator: Mistral AI
6
+ model_name: Mistral 7B Instruct v0.1
7
+ model_type: mistral
8
+ pipeline_tag: text-generation
9
+ tags:
10
+ - finetuned
11
+ quantized_by: Second State Inc.
12
+ ---
13
 
14
+ <!-- header start -->
15
+ <!-- 200823 -->
16
+ <div style="width: auto; margin-left: auto; margin-right: auto">
17
+ <img src="https://github.com/second-state/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
18
+ </div>
19
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
20
+ <!-- header end -->
21
 
22
+ # Mistral-7B-Instruct-v0.1-GGUF
23
+
24
+ ## Original Model
25
+
26
+ [mistralai/Mistral-7B-Instruct-v0.1](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1)
27
+
28
+ ## Run with LlamaEdge
29
+
30
+ - LlamaEdge version: [v0.2.4](https://github.com/second-state/LlamaEdge/releases/tag/0.2.4)
31
+
32
+ - Prompt template
33
+
34
+ - Prompt type: `mistral-instruct`
35
+
36
+ - Prompt string
37
+
38
+ ```text
39
+ <s>[INST] {prompt} [/INST]
40
+ ```
41
+
42
+ - Run as LlamaEdge service
43
+
44
+ ```bash
45
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Mistral-7B-Instruct-v0.1-Q5_K_M.gguf llama-api-server.wasm -p mistral-instruct
46
+ ```
47
+
48
+ - Run as LlamaEdge command app
49
+
50
+ ```bash
51
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Mistral-7B-Instruct-v0.1-Q5_K_M.gguf llama-chat.wasm -p mistral-instruct
52
+ ```
53
+
54
+ ## Quantized GGUF Models
55
+
56
+ | Name | Quant method | Bits | Size | Use case |
57
+ | ---- | ---- | ---- | ---- | ----- |
58
+ | [Mistral-7B-Instruct-v0.1-Q2_K.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q2_K.gguf) | Q2_K | 2 | 2.7 GB| smallest, significant quality loss - not recommended for most purposes |
59
+ | [Mistral-7B-Instruct-v0.1-Q3_K_L.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q3_K_L.gguf) | Q3_K_L | 3 | 3.82 GB| small, substantial quality loss |
60
+ | [Mistral-7B-Instruct-v0.1-Q3_K_M.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q3_K_M.gguf) | Q3_K_M | 3 | 3.52 GB| very small, high quality loss |
61
+ | [Mistral-7B-Instruct-v0.1-Q3_K_S.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q3_K_S.gguf) | Q3_K_S | 3 | 3.16 GB| very small, high quality loss |
62
+ | [Mistral-7B-Instruct-v0.1-Q4_0.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q4_0.gguf) | Q4_0 | 4 | 4.11 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
63
+ | [Mistral-7B-Instruct-v0.1-Q4_K_M.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q4_K_M.gguf) | Q4_K_M | 4 | 4.37 GB| medium, balanced quality - recommended |
64
+ | [Mistral-7B-Instruct-v0.1-Q4_K_S.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q4_K_S.gguf) | Q4_K_S | 4 | 4.14 GB| small, greater quality loss |
65
+ | [Mistral-7B-Instruct-v0.1-Q5_0.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q5_0.gguf) | Q5_0 | 5 | 5 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
66
+ | [Mistral-7B-Instruct-v0.1-Q5_K_M.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q5_K_M.gguf) | Q5_K_M | 5 | 5.13 GB| large, very low quality loss - recommended |
67
+ | [Mistral-7B-Instruct-v0.1-Q5_K_S.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q5_K_S.gguf) | Q5_K_S | 5 | 5 GB| large, low quality loss - recommended |
68
+ | [Mistral-7B-Instruct-v0.1-Q6_K.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q6_K.gguf) | Q6_K | 6 | 5.94 GB| very large, extremely low quality loss |
69
+ | [Mistral-7B-Instruct-v0.1-Q8_0.gguf](https://huggingface.co/second-state/Mistral-7B-Instruct-v0.1-GGUF/blob/main/Mistral-7B-Instruct-v0.1-Q8_0.gguf) | Q8_0 | 8 | 7.7 GB| very large, extremely low quality loss - not recommended |