Xin Liu commited on
Commit
2795737
1 Parent(s): 3426761

Signed-off-by: Xin Liu <[email protected]>

Files changed (1) hide show
  1. README.md +60 -1
README.md CHANGED
@@ -1,3 +1,62 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model: microsoft/Phi-3-mini-4k-instruct
3
+ license: mit
4
+ license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE
5
+ language:
6
+ - en
7
+ pipeline_tag: text-generation
8
+ model_creator: Microsoft
9
+ model_name: Phi 3 mini 4k instruct
10
+ model_type: phi-msft
11
+ quantized_by: Second State Inc.
12
+ tags:
13
+ - nlp
14
+ - code
15
  ---
16
+
17
+ <!-- header start -->
18
+ <!-- 200823 -->
19
+ <div style="width: auto; margin-left: auto; margin-right: auto">
20
+ <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
21
+ </div>
22
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
23
+ <!-- header end -->
24
+
25
+ # Phi-3-mini-4k-instruct-GGUF
26
+
27
+ ## Original Model
28
+
29
+ [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct)
30
+
31
+ ## Run with LlamaEdge
32
+
33
+ - LlamaEdge version: [v0.8.4](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.8.4) and above
34
+
35
+ - Prompt template
36
+
37
+ - Prompt type: `phi-3-chat`
38
+
39
+ - Prompt string
40
+
41
+ ```text
42
+ <|system|>
43
+ {system_message}<|end|>
44
+ <|user|>
45
+ {user_message_1}<|end|>
46
+ <|assistant|>
47
+ {assistant_message_1}<|end|>
48
+ <|user|>
49
+ {user_message_2}<|end|>
50
+ <|assistant|>
51
+ ```
52
+
53
+ - Context size: `3072`
54
+
55
+ - Run as LlamaEdge command app
56
+
57
+ ```bash
58
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Phi-3-mini-4k-instruct-Q4.gguf \
59
+ llama-chat.wasm \
60
+ --prompt-template phi-3-chat \
61
+ --ctx-size 3072
62
+ ```