File size: 2,200 Bytes
ed4d075
 
2f36753
 
ed4d075
2f36753
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
license: llama2
language:
- en
---

## Information

This is a Exl2 quantized version of [Psyfighter-2-13B-exl2](https://huggingface.co/KoboldAI/Psyfighter-2-13B)

Please refer to the original creator for more information.

Calibration dataset: [wikitext](https://huggingface.co/datasets/wikitext/tree/refs%2Fconvert%2Fparquet/wikitext-2-v1/test)

## Branches:

- main: Measurement files
- 4bpw: 4 bits per weight
- 5bpw: 5 bits per weight
- 6bpw: 6 bits per weight

## Notes

- 6bpw is recommended for the best quality to vram usage ratio (assuming you have enough vram).
- Please ask for more bpws in the community tab if necessary.
- This model was quantized with permission from the model creator (Jeb Carter and the KoboldAI team)
- The FP16 (at the time of uploading) is not public, but the [merge recipe is](https://huggingface.co/KoboldAI/LLaMA2-13B-Psyfighter2-GGUF). I used that to create my FP16 for this set of exl2 quants. **Nothing should be different** from Kobold's FP16 version.

## Run in TabbyAPI

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)

If you don't have huggingface-cli, please run `pip install huggingface_hub`.

To run this model, follow these steps:

1. Make a directory inside your models folder called `Psyfighter-2-13B-exl2`

2. Open a terminal inside your models folder

3. Run `huggingface-cli download royallab/Psyfighter-2-13B-exl2 --revision 4bpw --local-dir Psyfighter-2-13B-exl2 --local-dir-use-symlinks False`
   
   1. The `--revision` flag corresponds to the branch name on the model repo. Please select the appropriate bpw branch for your system.

4. Inside TabbyAPI's config.yml, set `model_name` to `Psyfighter-2-13B-exl2` or you can use the `/model/load` endpoint after launching.

5. Launch TabbyAPI inside your python env by running `python main.py`

## Donate?

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](https://ko-fi.com/kingbri)

## You should not feel obligated to donate, but if you do, I'd appreciate it.