apepkuss79
commited on
Commit
•
bd23528
1
Parent(s):
00243ae
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,3 +1,97 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: other
|
5 |
+
license_name: llama3
|
6 |
+
model_name: Llama3 8B
|
7 |
+
arxiv: 2307.09288
|
8 |
+
base_model: meta-llama/Meta-Llama-3-8B
|
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 |
+
# FinGPT-MT-Llama-3-8B-LoRA-GGUF
|
25 |
+
|
26 |
+
## Original Model
|
27 |
+
|
28 |
+
[meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B)
|
29 |
+
|
30 |
+
## LoRA Adapter
|
31 |
+
|
32 |
+
[FinGPT/fingpt-mt_llama3-8b_lora](https://huggingface.co/FinGPT/fingpt-mt_llama3-8b_lora)
|
33 |
+
|
34 |
+
## Run with LlamaEdge
|
35 |
+
|
36 |
+
- LlamaEdge version: coming soon
|
37 |
+
|
38 |
+
<!-- - LlamaEdge version: [v0.8.3](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.8.3) and above
|
39 |
+
|
40 |
+
- Prompt template
|
41 |
+
|
42 |
+
- Prompt type: `llama-3-chat`
|
43 |
+
|
44 |
+
- Prompt string
|
45 |
+
|
46 |
+
```text
|
47 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
48 |
+
|
49 |
+
{{ system_prompt }}<|eot_id|><|start_header_id|>user<|end_header_id|>
|
50 |
+
|
51 |
+
{{ user_message_1 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
52 |
+
|
53 |
+
{{ model_answer_1 }}<|eot_id|><|start_header_id|>user<|end_header_id|>
|
54 |
+
|
55 |
+
{{ user_message_2 }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
56 |
+
``` -->
|
57 |
+
|
58 |
+
- Context size: `8192`
|
59 |
+
|
60 |
+
<!-- - Run as LlamaEdge service
|
61 |
+
|
62 |
+
```bash
|
63 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:FinGPT-MT-Llama-3-8B-LoRA-Q5_K_M.gguf \
|
64 |
+
llama-api-server.wasm \
|
65 |
+
--prompt-template llama-3-chat \
|
66 |
+
--ctx-size 8192 \
|
67 |
+
--model-name Llama-3-8b
|
68 |
+
```
|
69 |
+
|
70 |
+
- Run as LlamaEdge command app
|
71 |
+
|
72 |
+
```bash
|
73 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:FinGPT-MT-Llama-3-8B-LoRA-Q5_K_M.gguf \
|
74 |
+
llama-chat.wasm \
|
75 |
+
--prompt-template llama-3-chat \
|
76 |
+
--ctx-size 8192 \
|
77 |
+
``` -->
|
78 |
+
|
79 |
+
## Quantized GGUF Models
|
80 |
+
|
81 |
+
| Name | Quant method | Bits | Size | Use case |
|
82 |
+
| ---- | ---- | ---- | ---- | ----- |
|
83 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q2_K.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q2_K.gguf) | Q2_K | 2 | 3.18 GB| smallest, significant quality loss - not recommended for most purposes |
|
84 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q3_K_L.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q3_K_L.gguf) | Q3_K_L | 3 | 4.32 GB| small, substantial quality loss |
|
85 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q3_K_M.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q3_K_M.gguf) | Q3_K_M | 3 | 4.02 GB| very small, high quality loss |
|
86 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q3_K_S.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q3_K_S.gguf) | Q3_K_S | 3 | 3.66 GB| very small, high quality loss |
|
87 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q4_0.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q4_0.gguf) | Q4_0 | 4 | 4.66 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
88 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q4_K_M.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q4_K_M.gguf) | Q4_K_M | 4 | 4.92 GB| medium, balanced quality - recommended |
|
89 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q4_K_S.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q4_K_S.gguf) | Q4_K_S | 4 | 4.69 GB| small, greater quality loss |
|
90 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q5_0.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q5_0.gguf) | Q5_0 | 5 | 5.6 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
91 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q5_K_M.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q5_K_M.gguf) | Q5_K_M | 5 | 5.73 GB| large, very low quality loss - recommended |
|
92 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q5_K_S.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q5_K_S.gguf) | Q5_K_S | 5 | 5.6 GB| large, low quality loss - recommended |
|
93 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q6_K.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q6_K.gguf) | Q6_K | 6 | 6.6 GB| very large, extremely low quality loss |
|
94 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-Q8_0.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-Q8_0.gguf) | Q8_0 | 8 | 8.54 GB| very large, extremely low quality loss - not recommended |
|
95 |
+
| [FinGPT-MT-Llama-3-8B-LoRA-f16.gguf](https://huggingface.co/second-state/FinGPT-MT-Llama-3-8B-LoRA-GGUF/blob/main/FinGPT-MT-Llama-3-8B-LoRA-f16.gguf) | f16 | 16 | 16.1 GB| |
|
96 |
+
|
97 |
+
*Quantized with llama.cpp b3807.*
|