New GGMLv3 format for breaking llama.cpp change May 19th commit 2d5db48
Browse files
README.md
CHANGED
@@ -21,30 +21,29 @@ This repo is the result of quantising to 4bit and 5bit GGML for CPU inference us
|
|
21 |
* [4bit and 5bit GGML models for CPU inference](https://huggingface.co/TheBloke/Wizard-Vicuna-13B-Uncensored-GGML).
|
22 |
* [float16 HF format model for GPU inference and further conversions](https://huggingface.co/TheBloke/Wizard-Vicuna-13B-Uncensored-HF).
|
23 |
|
24 |
-
## THE FILES IN MAIN BRANCH REQUIRES LATEST LLAMA.CPP (May
|
25 |
|
26 |
-
llama.cpp recently made
|
27 |
|
28 |
-
I have quantised the GGML files in this repo with the latest version. Therefore you will require llama.cpp compiled on May
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-

|
33 |
|
34 |
## Provided files
|
35 |
| Name | Quant method | Bits | Size | RAM required | Use case |
|
36 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
37 |
-
`Wizard-Vicuna-13B-Uncensored.
|
38 |
-
`Wizard-Vicuna-13B-Uncensored.
|
39 |
-
`Wizard-Vicuna-13B-Uncensored.
|
40 |
-
`Wizard-Vicuna-13B-Uncensored.
|
|
|
41 |
|
42 |
## How to run in `llama.cpp`
|
43 |
|
44 |
I use the following command line; adjust for your tastes and needs:
|
45 |
|
46 |
```
|
47 |
-
./main -t 8 -m Wizard-Vicuna-13B-Uncensored.
|
48 |
```
|
49 |
|
50 |
Change `-t 8` to the number of physical CPU cores you have.
|
@@ -55,9 +54,7 @@ GGML models can be loaded into text-generation-webui by installing the llama.cpp
|
|
55 |
|
56 |
Further instructions here: [text-generation-webui/docs/llama.cpp-models.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp-models.md).
|
57 |
|
58 |
-
Note: at this time text-generation-webui may not support the new May
|
59 |
-
|
60 |
-
**Thireus** has written a [great guide on how to update it to the latest llama.cpp code](https://huggingface.co/TheBloke/wizardLM-7B-GGML/discussions/5) which may be useful to get text-gen-ui working with the new llama.cpp quant methods sooner.
|
61 |
|
62 |
# Original model card
|
63 |
|
|
|
21 |
* [4bit and 5bit GGML models for CPU inference](https://huggingface.co/TheBloke/Wizard-Vicuna-13B-Uncensored-GGML).
|
22 |
* [float16 HF format model for GPU inference and further conversions](https://huggingface.co/TheBloke/Wizard-Vicuna-13B-Uncensored-HF).
|
23 |
|
24 |
+
## THE FILES IN MAIN BRANCH REQUIRES LATEST LLAMA.CPP (May 19th 2023 - commit 2d5db48)!
|
25 |
|
26 |
+
llama.cpp recently made another breaking change to its quantisation methods - https://github.com/ggerganov/llama.cpp/pull/1508
|
27 |
|
28 |
+
I have quantised the GGML files in this repo with the latest version. Therefore you will require llama.cpp compiled on May 19th or later (commit `2d5db48` or later) to use them.
|
29 |
|
30 |
+
For files compatible with the previous version of llama.cpp, please see branch `previous_llama_ggmlv2`.
|
|
|
|
|
31 |
|
32 |
## Provided files
|
33 |
| Name | Quant method | Bits | Size | RAM required | Use case |
|
34 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
35 |
+
`Wizard-Vicuna-13B-Uncensored.ggmlv3.q4_0.bin` | q4_0 | 4bit | 8.14GB | 10.5GB | 4-bit. |
|
36 |
+
`Wizard-Vicuna-13B-Uncensored.ggmlv3.q4_1.bin` | q4_1 | 4bit | 8.95 | 11.0GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models.|
|
37 |
+
`Wizard-Vicuna-13B-Uncensored.ggmlv3.q5_0.bin` | q5_0 | 5bit | 8.95GB | 11.0GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
38 |
+
`Wizard-Vicuna-13B-Uncensored.ggmlv3.q5_1.bin` | q5_1 | 5bit | 9.76GB | 12.25GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
|
39 |
+
`Wizard-Vicuna-13B-Uncensored.ggmlv3.q8_0.bin` | q8_0 | 8bit | 14.6GB | 17GB | 8-bit. Almost indistinguishable from float16. Huge resource use and slow. Not recommended for normal use. |
|
40 |
|
41 |
## How to run in `llama.cpp`
|
42 |
|
43 |
I use the following command line; adjust for your tastes and needs:
|
44 |
|
45 |
```
|
46 |
+
./main -t 8 -m Wizard-Vicuna-13B-Uncensored.ggmlv3.q5_0.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Instruction: write a story about llamas ### Response:"
|
47 |
```
|
48 |
|
49 |
Change `-t 8` to the number of physical CPU cores you have.
|
|
|
54 |
|
55 |
Further instructions here: [text-generation-webui/docs/llama.cpp-models.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp-models.md).
|
56 |
|
57 |
+
Note: at this time text-generation-webui may not support the new May 19th llama.cpp quantisation methods for q4_0, q4_1 and q8_0 files.
|
|
|
|
|
58 |
|
59 |
# Original model card
|
60 |
|