Xin Liu
commited on
Commit
·
e5bae7b
1
Parent(s):
daa3b2a
Update
Browse filesSigned-off-by: Xin Liu <[email protected]>
README.md
CHANGED
|
@@ -1,3 +1,77 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: abacusai/Liberated-Qwen1.5-72B
|
| 3 |
+
inference: false
|
| 4 |
+
library_name: transformers
|
| 5 |
+
license_name: tongyi-qianwen
|
| 6 |
+
license_link: https://huggingface.co/Qwen/Qwen1.5-72B/blob/main/LICENSE
|
| 7 |
+
model_creator: Abacus.AI and Eric Hartford
|
| 8 |
+
model_name: Liberated Qwen1.5 72B
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
+
quantized_by: Second State Inc.
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
<!-- header start -->
|
| 16 |
+
<!-- 200823 -->
|
| 17 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 18 |
+
<img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 19 |
+
</div>
|
| 20 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
| 21 |
+
<!-- header end -->
|
| 22 |
+
|
| 23 |
+
# Liberated-Qwen1.5-72B-GGUF
|
| 24 |
+
|
| 25 |
+
## Original Model
|
| 26 |
+
|
| 27 |
+
[abacusai/Liberated-Qwen1.5-72B](https://huggingface.co/abacusai/Liberated-Qwen1.5-72B)
|
| 28 |
+
|
| 29 |
+
## Run with LlamaEdge
|
| 30 |
+
|
| 31 |
+
- LlamaEdge version: [v0.4.3](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.4.3) and above
|
| 32 |
+
|
| 33 |
+
- Prompt template
|
| 34 |
+
|
| 35 |
+
- Prompt type: `chatml`
|
| 36 |
+
|
| 37 |
+
- Prompt string
|
| 38 |
+
|
| 39 |
+
```text
|
| 40 |
+
<|im_start|>system
|
| 41 |
+
{system_message}<|im_end|>
|
| 42 |
+
<|im_start|>user
|
| 43 |
+
{prompt}<|im_end|>
|
| 44 |
+
<|im_start|>assistant
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
- Run as LlamaEdge service
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Liberated-Qwen1.5-72B-Q4_K_M.gguf llama-api-server.wasm -p chatml
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
- Run as LlamaEdge command app
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Liberated-Qwen1.5-72B-Q4_K_M.gguf llama-chat.wasm -p chatml
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
For specifying the system message, append the `--system-prompt` option with the system prompt to the command above. For example,
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Liberated-Qwen1.5-72B-Q4_K_M.gguf llama-chat.wasm -p chatml -s 'Your name is Liberated. You are an uncensored and unbiased AI assistant. You always respond with a JSON object.'
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Quantized GGUF Models
|
| 66 |
+
|
| 67 |
+
| Name | Quant method | Bits | Size | Use case |
|
| 68 |
+
| ---- | ---- | ---- | ---- | ----- |
|
| 69 |
+
| [Liberated-Qwen1.5-72B-Q2_K.gguf](https://huggingface.co/second-state/Liberated-Qwen1.5-72B-GGUF/blob/main/Liberated-Qwen1.5-72B-Q2_K.gguf) | Q2_K | 2 | 28.5 GB| smallest, significant quality loss - not recommended for most purposes |
|
| 70 |
+
| [Liberated-Qwen1.5-72B-Q3_K_L.gguf](https://huggingface.co/second-state/Liberated-Qwen1.5-72B-GGUF/blob/main/Liberated-Qwen1.5-72B-Q3_K_L.gguf) | Q3_K_L | 3 | 38.5 GB| small, substantial quality loss |
|
| 71 |
+
| [Liberated-Qwen1.5-72B-Q3_K_M.gguf](https://huggingface.co/second-state/Liberated-Qwen1.5-72B-GGUF/blob/main/Liberated-Qwen1.5-72B-Q3_K_M.gguf) | Q3_K_M | 3 | 35.9 GB| very small, high quality loss |
|
| 72 |
+
| [Liberated-Qwen1.5-72B-Q3_K_S.gguf](https://huggingface.co/second-state/Liberated-Qwen1.5-72B-GGUF/blob/main/Liberated-Qwen1.5-72B-Q3_K_S.gguf) | Q3_K_S | 3 | 32.9 GB| very small, high quality loss |
|
| 73 |
+
| [Liberated-Qwen1.5-72B-Q4_0.gguf](https://huggingface.co/second-state/Liberated-Qwen1.5-72B-GGUF/blob/main/Liberated-Qwen1.5-72B-Q4_0.gguf) | Q4_0 | 4 | 41 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 74 |
+
| [Liberated-Qwen1.5-72B-Q4_K_M.gguf](https://huggingface.co/second-state/Liberated-Qwen1.5-72B-GGUF/blob/main/Liberated-Qwen1.5-72B-Q4_K_M.gguf) | Q4_K_M | 4 | 44.1 GB| medium, balanced quality - recommended |
|
| 75 |
+
| [Liberated-Qwen1.5-72B-Q4_K_S.gguf](https://huggingface.co/second-state/Liberated-Qwen1.5-72B-GGUF/blob/main/Liberated-Qwen1.5-72B-Q4_K_S.gguf) | Q4_K_S | 4 | 41.9 GB| small, greater quality loss |
|
| 76 |
+
|
| 77 |
+
*Quantized with llama.cpp b2334*
|