apepkuss79 commited on
Commit
fbfddbe
1 Parent(s): 1ed6cdf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +103 -103
README.md CHANGED
@@ -1,103 +1,103 @@
1
- ---
2
- license: llama3.1
3
- model_name: Meta-Llama-3.1-8B-Instruct-GGUF
4
- arxiv: 2307.09288
5
- base_model: meta-llama/Meta-Llama-3.1-8B-Instruct-GGUF
6
- inference: false
7
- model_creator: Meta Llama3
8
- model_type: llama
9
- pipeline_tag: text-generation
10
- quantized_by: Second State Inc.
11
- language:
12
- - en
13
- - de
14
- - fr
15
- - it
16
- - pt
17
- - hi
18
- - es
19
- - th
20
- tags:
21
- - facebook
22
- - meta
23
- - pytorch
24
- - llama
25
- - llama-3
26
- ---
27
-
28
- <!-- header start -->
29
- <!-- 200823 -->
30
- <div style="width: auto; margin-left: auto; margin-right: auto">
31
- <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
32
- </div>
33
- <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
34
- <!-- header end -->
35
-
36
- # Meta-Llama-3.1-8B-Instruct-GGUF
37
-
38
- ## Original Model
39
-
40
- [meta-llama/Meta-Llama-3.1-8B-Instruct-GGUF](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct-GGUF)
41
-
42
- ## Run with LlamaEdge
43
-
44
- - LlamaEdge version: [v0.12.4](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.12.4) and above
45
-
46
- - Prompt template
47
-
48
- - Prompt type: `llama-3-chat`
49
-
50
- - Prompt string
51
-
52
- ```text
53
- <|begin_of_text|><|start_header_id|>system<|end_header_id|>
54
-
55
- {{ system_prompt }}<|eot_id|><|start_header_id|>user<|end_header_id|>
56
-
57
- {{ user_message_1 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
58
-
59
- {{ model_answer_1 }}<|eot_id|><|start_header_id|>user<|end_header_id|>
60
-
61
- {{ user_message_2 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
62
- ```
63
-
64
- - Context size: `128000`
65
-
66
- - Run as LlamaEdge service
67
-
68
- ```bash
69
- wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3.1-8B-Instruct-GGUF-Q5_K_M.gguf \
70
- llama-api-server.wasm \
71
- --prompt-template llama-3-chat \
72
- --ctx-size 128000 \
73
- --model-name Llama-3.1-8b
74
- ```
75
-
76
- - Run as LlamaEdge command app
77
-
78
- ```bash
79
- wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3.1-8B-Instruct-GGUF-Q5_K_M.gguf \
80
- llama-chat.wasm \
81
- --prompt-template llama-3-chat \
82
- --ctx-size 128000 \
83
- ```
84
-
85
- ## Quantized GGUF Models
86
-
87
- | Name | Quant method | Bits | Size | Use case |
88
- | ---- | ---- | ---- | ---- | ----- |
89
- | [Meta-Llama-3.1-8B-Instruct-Q2_K.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q2_K.gguf) | Q2_K | 2 | 3.18 GB| smallest, significant quality loss - not recommended for most purposes |
90
- | [Meta-Llama-3.1-8B-Instruct-Q3_K_L.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q3_K_L.gguf) | Q3_K_L | 3 | 4.32 GB| small, substantial quality loss |
91
- | [Meta-Llama-3.1-8B-Instruct-Q3_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3 | 4.02 GB| very small, high quality loss |
92
- | [Meta-Llama-3.1-8B-Instruct-Q3_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3 | 3.66 GB| very small, high quality loss |
93
- | [Meta-Llama-3.1-8B-Instruct-Q4_0.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q4_0.gguf) | Q4_0 | 4 | 4.66 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
94
- | [Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4 | 4.92 GB| medium, balanced quality - recommended |
95
- | [Meta-Llama-3.1-8B-Instruct-Q4_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4 | 4.69 GB| small, greater quality loss |
96
- | [Meta-Llama-3.1-8B-Instruct-Q5_0.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q5_0.gguf) | Q5_0 | 5 | 5.6 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
97
- | [Meta-Llama-3.1-8B-Instruct-Q5_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5 | 5.73 GB| large, very low quality loss - recommended |
98
- | [Meta-Llama-3.1-8B-Instruct-Q5_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5 | 5.6 GB| large, low quality loss - recommended |
99
- | [Meta-Llama-3.1-8B-Instruct-Q6_K.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q6_K.gguf) | Q6_K | 6 | 6.6 GB| very large, extremely low quality loss |
100
- | [Meta-Llama-3.1-8B-Instruct-Q8_0.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q8_0.gguf) | Q8_0 | 8 | 8.54 GB| very large, extremely low quality loss - not recommended |
101
- | [Meta-Llama-3.1-8B-Instruct-f16.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-f16.gguf) | f16 | 16 | 16.1 GB| |
102
-
103
- *Quantized with llama.cpp b3445.*
 
1
+ ---
2
+ license: llama3.1
3
+ model_name: Meta-Llama-3.1-8B-Instruct-GGUF
4
+ arxiv: 2307.09288
5
+ base_model: meta-llama/Meta-Llama-3.1-8B-Instruct-GGUF
6
+ inference: false
7
+ model_creator: Meta Llama3
8
+ model_type: llama
9
+ pipeline_tag: text-generation
10
+ quantized_by: Second State Inc.
11
+ language:
12
+ - en
13
+ - de
14
+ - fr
15
+ - it
16
+ - pt
17
+ - hi
18
+ - es
19
+ - th
20
+ tags:
21
+ - facebook
22
+ - meta
23
+ - pytorch
24
+ - llama
25
+ - llama-3
26
+ ---
27
+
28
+ <!-- header start -->
29
+ <!-- 200823 -->
30
+ <div style="width: auto; margin-left: auto; margin-right: auto">
31
+ <img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
32
+ </div>
33
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
34
+ <!-- header end -->
35
+
36
+ # Meta-Llama-3.1-8B-Instruct-GGUF
37
+
38
+ ## Original Model
39
+
40
+ [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct)
41
+
42
+ ## Run with LlamaEdge
43
+
44
+ - LlamaEdge version: [v0.12.4](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.12.4) and above
45
+
46
+ - Prompt template
47
+
48
+ - Prompt type: `llama-3-chat`
49
+
50
+ - Prompt string
51
+
52
+ ```text
53
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
54
+
55
+ {{ system_prompt }}<|eot_id|><|start_header_id|>user<|end_header_id|>
56
+
57
+ {{ user_message_1 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
58
+
59
+ {{ model_answer_1 }}<|eot_id|><|start_header_id|>user<|end_header_id|>
60
+
61
+ {{ user_message_2 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
62
+ ```
63
+
64
+ - Context size: `128000`
65
+
66
+ - Run as LlamaEdge service
67
+
68
+ ```bash
69
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3.1-8B-Instruct-GGUF-Q5_K_M.gguf \
70
+ llama-api-server.wasm \
71
+ --prompt-template llama-3-chat \
72
+ --ctx-size 128000 \
73
+ --model-name Llama-3.1-8b
74
+ ```
75
+
76
+ - Run as LlamaEdge command app
77
+
78
+ ```bash
79
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3.1-8B-Instruct-GGUF-Q5_K_M.gguf \
80
+ llama-chat.wasm \
81
+ --prompt-template llama-3-chat \
82
+ --ctx-size 128000 \
83
+ ```
84
+
85
+ ## Quantized GGUF Models
86
+
87
+ | Name | Quant method | Bits | Size | Use case |
88
+ | ---- | ---- | ---- | ---- | ----- |
89
+ | [Meta-Llama-3.1-8B-Instruct-Q2_K.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q2_K.gguf) | Q2_K | 2 | 3.18 GB| smallest, significant quality loss - not recommended for most purposes |
90
+ | [Meta-Llama-3.1-8B-Instruct-Q3_K_L.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q3_K_L.gguf) | Q3_K_L | 3 | 4.32 GB| small, substantial quality loss |
91
+ | [Meta-Llama-3.1-8B-Instruct-Q3_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3 | 4.02 GB| very small, high quality loss |
92
+ | [Meta-Llama-3.1-8B-Instruct-Q3_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3 | 3.66 GB| very small, high quality loss |
93
+ | [Meta-Llama-3.1-8B-Instruct-Q4_0.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q4_0.gguf) | Q4_0 | 4 | 4.66 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
94
+ | [Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4 | 4.92 GB| medium, balanced quality - recommended |
95
+ | [Meta-Llama-3.1-8B-Instruct-Q4_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4 | 4.69 GB| small, greater quality loss |
96
+ | [Meta-Llama-3.1-8B-Instruct-Q5_0.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q5_0.gguf) | Q5_0 | 5 | 5.6 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
97
+ | [Meta-Llama-3.1-8B-Instruct-Q5_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5 | 5.73 GB| large, very low quality loss - recommended |
98
+ | [Meta-Llama-3.1-8B-Instruct-Q5_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5 | 5.6 GB| large, low quality loss - recommended |
99
+ | [Meta-Llama-3.1-8B-Instruct-Q6_K.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q6_K.gguf) | Q6_K | 6 | 6.6 GB| very large, extremely low quality loss |
100
+ | [Meta-Llama-3.1-8B-Instruct-Q8_0.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-Q8_0.gguf) | Q8_0 | 8 | 8.54 GB| very large, extremely low quality loss - not recommended |
101
+ | [Meta-Llama-3.1-8B-Instruct-f16.gguf](https://huggingface.co/second-state/Meta-Llama-3.1-8B-Instruct-GGUF/blob/main/Meta-Llama-3.1-8B-Instruct-f16.gguf) | f16 | 16 | 16.1 GB| |
102
+
103
+ *Quantized with llama.cpp b3445.*