Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
---
|
5 |
+
## Information
|
6 |
+
|
7 |
+
This is a Exl2 quantized version of [MN-12B-Lyra-v1](https://huggingface.co/Sao10K/MN-12B-Lyra-v1)
|
8 |
+
|
9 |
+
Please refer to the original creator for more information.
|
10 |
+
|
11 |
+
Calibration dataset: Exl2 default
|
12 |
+
|
13 |
+
## Branches:
|
14 |
+
|
15 |
+
- main: Measurement files
|
16 |
+
- 4bpw: 4 bits per weight
|
17 |
+
- 5bpw: 5 bits per weight
|
18 |
+
- 6bpw: 6 bits per weight
|
19 |
+
|
20 |
+
## Notes
|
21 |
+
|
22 |
+
- 6bpw is recommended for the best quality to vram usage ratio (assuming you have enough vram).
|
23 |
+
- Quants greater than 6bpw will not be created because there is no improvement in using them. If you really want them, ask someone else or make them yourself.
|
24 |
+
|
25 |
+
|
26 |
+
## Download
|
27 |
+
|
28 |
+
|
29 |
+
With [async-hf-downloader](https://github.com/theroyallab/async-hf-downloader): A lightweight and asynchronous huggingface downloader created by me
|
30 |
+
|
31 |
+
|
32 |
+
```shell
|
33 |
+
./async-hf-downloader royallab/MN-12B-Lyra-v1-exl2 -r 6bpw -p MN-12B-Lyra-v1-exl2-6bpw
|
34 |
+
```
|
35 |
+
|
36 |
+
|
37 |
+
With HuggingFace hub (`pip install huggingface_hub`)
|
38 |
+
|
39 |
+
```shell
|
40 |
+
huggingface-cli download royallab/MN-12B-Lyra-v1-exl2 --revision 6bpw --local-dir MN-12B-Lyra-v1-exl2-6bpw
|
41 |
+
```
|
42 |
+
|
43 |
+
## Run in TabbyAPI
|
44 |
+
|
45 |
+
TabbyAPI is a pure exllamav2 FastAPI server developed by us. You can find TabbyAPI's source code here: [https://github.com/theroyallab/TabbyAPI](https://github.com/theroyallab/TabbyAPI)
|
46 |
+
|
47 |
+
1. Inside TabbyAPI's config.yml, set `model_name` to `MN-12B-Lyra-v1-exl2-6bpw`
|
48 |
+
|
49 |
+
1. You can also use an argument `--model_name MN-12B-Lyra-v1-exl2-6bpw` on startup or you can use the `/v1/model/load` endpoint
|
50 |
+
|
51 |
+
2. Launch TabbyAPI inside your python env by running `./start.bat` or `./start.sh`
|
52 |
+
|
53 |
+
|
54 |
+
## Donate?
|
55 |
+
|
56 |
+
All my infrastructure and cloud expenses are paid out of pocket. If you'd like to donate, you can do so here: https://ko-fi.com/kingbri
|
57 |
+
|
58 |
+
You should not feel obligated to donate, but if you do, I'd appreciate it.
|
59 |
+
---
|