apepkuss79 commited on
Commit
d30bb06
1 Parent(s): 0c01790

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +92 -1
README.md CHANGED
@@ -1,3 +1,94 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: other
5
+ license_name: llama3
6
+ model_name: Llama3 70B Instruct
7
+ arxiv: 2307.09288
8
+ base_model: meta-llama/Meta-Llama-3-70B-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
+ # Meta-Llama-3-70B-Instruct-GGUF
25
+
26
+ ## Original Model
27
+
28
+ [meta-llama/Meta-Llama-3-70B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct)
29
+
30
+ ## Run with LlamaEdge
31
+
32
+ - LlamaEdge version: [v0.8.3](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.8.3) and above
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: `8192`
53
+
54
+ - Run as LlamaEdge service
55
+
56
+ ```bash
57
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3-70B-Instruct-Q5_K_M.gguf \
58
+ llama-api-server.wasm \
59
+ --prompt-template llama-3-chat \
60
+ --ctx-size 8192 \
61
+ --model-name Llama-3-70b
62
+ ```
63
+
64
+ - Run as LlamaEdge command app
65
+
66
+ ```bash
67
+ wasmedge --dir .:. --nn-preload default:GGML:AUTO:Meta-Llama-3-70B-Instruct-Q5_K_M.gguf \
68
+ llama-chat.wasm \
69
+ --prompt-template llama-3-chat \
70
+ --ctx-size 8192
71
+ ```
72
+
73
+ ## Quantized GGUF Models
74
+
75
+ | Name | Quant method | Bits | Size | Use case |
76
+ | ---- | ---- | ---- | ---- | ----- |
77
+ | [Meta-Llama-3-70B-Instruct-Q2_K.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q2_K.gguf) | Q2_K | 2 | 26.4 GB| smallest, significant quality loss - not recommended for most purposes |
78
+ | [Meta-Llama-3-70B-Instruct-Q3_K_L.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q3_K_L.gguf) | Q3_K_L | 3 | 37.1 GB| small, substantial quality loss |
79
+ | [Meta-Llama-3-70B-Instruct-Q3_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3 | 34.3 GB| very small, high quality loss |
80
+ | [Meta-Llama-3-70B-Instruct-Q3_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3 | 30.9 GB| very small, high quality loss |
81
+ | [Meta-Llama-3-70B-Instruct-Q4_0.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q4_0.gguf) | Q4_0 | 4 | 40 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
82
+ | [Meta-Llama-3-70B-Instruct-Q4_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4 | 42.5 GB| medium, balanced quality - recommended |
83
+ | [Meta-Llama-3-70B-Instruct-Q5_0.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q5_0.gguf) | Q5_0 | 5 | 48.7 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
84
+ | [Meta-Llama-3-70B-Instruct-Q5_K_M.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5 | 50 GB| large, very low quality loss - recommended |
85
+ | [Meta-Llama-3-70B-Instruct-Q5_K_S.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5 | 48.7 GB| large, low quality loss - recommended |
86
+ | [Meta-Llama-3-70B-Instruct-Q6_K-00001-of-00002.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q6_K-00001-of-00002.gguf) | Q6_K | 6 | 32.1 GB| very large, extremely low quality loss |
87
+ | [Meta-Llama-3-70B-Instruct-Q6_K-00002-of-00002.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q6_K-00002-of-00002.gguf) | Q6_K | 6 | 25.7 GB| very large, extremely low quality loss |
88
+ | [Meta-Llama-3-70B-Instruct-Q8_0-00001-of-00003.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q8_0-00001-of-00003.gguf) | Q8_0 | 8 | 32 GB| very large, extremely low quality loss - not recommended |
89
+ | [Meta-Llama-3-70B-Instruct-Q8_0-00002-of-00003.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q8_0-00002-of-00003.gguf) | Q8_0 | 8 | 32.1 GB| very large, extremely low quality loss - not recommended |
90
+ | [Meta-Llama-3-70B-Instruct-Q8_0-00003-of-00003.gguf](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-GGUF/blob/main/Meta-Llama-3-70B-Instruct-Q8_0-00003-of-00003.gguf) | Q8_0 | 8 | 10.9 GB| very large, extremely low quality loss - not recommended |
91
+
92
+ The f16 GGUF model for the original model can be found in [second-state/Meta-Llama-3-70B-Instruct-f16-GGUF](https://huggingface.co/second-state/Meta-Llama-3-70B-Instruct-f16-GGUF)
93
+
94
+ *Quantized with llama.cpp b2715.*