Xin Liu commited on
Commit
6528ce3
1 Parent(s): 424e577

Add Q5_K_M model

Browse files

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

.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.gguf filter=lfs diff=lfs merge=lfs -text
Meta-Llama-3-8B-Instruct-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a50fd6d990f523bcec82460b7f78cc4ac1cb927c004c04e7f843bcf9f21a260
3
+ size 5732987072
README.md CHANGED
@@ -1,3 +1,69 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: other
5
+ license_name: llama3
6
+ model_name: Llama3 8B Instruct
7
+ arxiv: 2307.09288
8
+ base_model: meta-llama/Meta-Llama-3-8B-Instruct
9
+ inference: false
10
+ model_creator: Meta Llama3
11
+ model_type: llama
12
+ pipeline_tag: text-generation
13
+ quantized_by: Second State Inc.
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
+ # Llama-3-8B-Instruct-GGUF
25
+
26
+ ## Original Model
27
+
28
+ [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)
29
+
30
+ ## Run with LlamaEdge
31
+
32
+ - LlamaEdge version: coming soon
33
+
34
+ - Prompt template
35
+
36
+ - Prompt type: `llama-3-chat`
37
+
38
+ - Prompt string
39
+
40
+ ```text
41
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
42
+
43
+ {{ system_prompt }}<|eot_id|><|start_header_id|>user<|end_header_id|>
44
+
45
+ {{ user_message_1 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
46
+
47
+ {{ model_answer_1 }}<|eot_id|><|start_header_id|>user<|end_header_id|>
48
+
49
+ {{ user_message_2 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
50
+ ```
51
+
52
+ - Context size: `4096`
53
+
54
+ - Run as LlamaEdge service
55
+
56
+ ```bash
57
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3-8B-Instruct.Q5_K_M.gguf \
58
+ llama-api-server.wasm \
59
+ --prompt-template llama-3-chat \
60
+ --context-size 4096 \
61
+ --model-name Llama-3-8b
62
+ ```
63
+ <!--
64
+ - Run as LlamaEdge command app
65
+
66
+ ```bash
67
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Llama-2-7b-chat-hf-Q5_K_M.gguf llama-chat.wasm -p llama-2-chat
68
+ ``` -->
69
+