New GGMLv3 format for breaking llama.cpp change May 19th commit 2d5db48
Browse files
README.md
CHANGED
@@ -19,27 +19,29 @@ Eric did a fresh 7B training using the WizardLM method, on [a dataset edited to
|
|
19 |
* [4bit and 5bit GGML models for CPU inference](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GGML)
|
20 |
* [Eric's unquantised model in HF format](https://huggingface.co/ehartford/WizardLM-7B-Uncensored)
|
21 |
|
22 |
-
## REQUIRES LATEST LLAMA.CPP (May
|
23 |
|
24 |
-
llama.cpp recently made
|
25 |
|
26 |
-
I have
|
27 |
|
28 |
-
|
29 |
|
30 |
## Provided files
|
31 |
| Name | Quant method | Bits | Size | RAM required | Use case |
|
32 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
33 |
`WizardLM-7B-uncensored.q4_0.bin` | q4_0 | 4bit | 4.2GB | 6GB | 4-bit. |
|
|
|
34 |
`WizardLM-7B-uncensored.q5_0.bin` | q5_0 | 5bit | 4.63GB | 7GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
35 |
`WizardLM-7B-uncensored.q5_1.bin` | q5_1 | 5bit | 5.0GB | 7GB | 5-bit. Even higher accuracy, resource usage and slower inference.|
|
|
|
36 |
|
37 |
## How to run in `llama.cpp`
|
38 |
|
39 |
I use the following command line; adjust for your tastes and needs:
|
40 |
|
41 |
```
|
42 |
-
./main -t 12 -m WizardLM-7B-uncensored.
|
43 |
### Instruction:
|
44 |
Write a story about llamas
|
45 |
### Response:"
|
@@ -52,9 +54,7 @@ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argumen
|
|
52 |
|
53 |
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).
|
54 |
|
55 |
-
Note: at this time text-generation-webui
|
56 |
-
|
57 |
-
**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 help you to update text-gen-ui so it can use the more recent quantisation methods.
|
58 |
|
59 |
# Eric's original model card
|
60 |
|
@@ -68,4 +68,4 @@ Overview of Evol-Instruct
|
|
68 |
Evol-Instruct is a novel method using LLMs instead of humans to automatically mass-produce open-domain instructions of various difficulty levels and skills range, to improve the performance of LLMs.
|
69 |
|
70 |
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_overall.png)
|
71 |
-
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_running.png)
|
|
|
19 |
* [4bit and 5bit GGML models for CPU inference](https://huggingface.co/TheBloke/WizardLM-7B-uncensored-GGML)
|
20 |
* [Eric's unquantised model in HF format](https://huggingface.co/ehartford/WizardLM-7B-Uncensored)
|
21 |
|
22 |
+
## THE FILES IN MAIN BRANCH REQUIRES LATEST LLAMA.CPP (May 19th 2023 - commit 2d5db48)!
|
23 |
|
24 |
+
llama.cpp recently made another breaking change to its quantisation methods - https://github.com/ggerganov/llama.cpp/pull/1508
|
25 |
|
26 |
+
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.
|
27 |
|
28 |
+
For files compatible with the previous version of llama.cpp, please see branch `previous_llama_ggmlv2`.
|
29 |
|
30 |
## Provided files
|
31 |
| Name | Quant method | Bits | Size | RAM required | Use case |
|
32 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
33 |
`WizardLM-7B-uncensored.q4_0.bin` | q4_0 | 4bit | 4.2GB | 6GB | 4-bit. |
|
34 |
+
`WizardLM-7B-uncensored.q4_1.bin` | q4_1 | 4bit | 4.63GB | 6GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models.|
|
35 |
`WizardLM-7B-uncensored.q5_0.bin` | q5_0 | 5bit | 4.63GB | 7GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
36 |
`WizardLM-7B-uncensored.q5_1.bin` | q5_1 | 5bit | 5.0GB | 7GB | 5-bit. Even higher accuracy, resource usage and slower inference.|
|
37 |
+
`WizardLM-7B-uncensored.q8_0.bin` | q8_0 | 5bit | 9.0GB | 11 | 5-bit. Even higher accuracy, resource usage and slower inference.|
|
38 |
|
39 |
## How to run in `llama.cpp`
|
40 |
|
41 |
I use the following command line; adjust for your tastes and needs:
|
42 |
|
43 |
```
|
44 |
+
./main -t 12 -m WizardLM-7B-uncensored.ggmlv3.q4_0.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
45 |
### Instruction:
|
46 |
Write a story about llamas
|
47 |
### Response:"
|
|
|
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 |
# Eric's original model card
|
60 |
|
|
|
68 |
Evol-Instruct is a novel method using LLMs instead of humans to automatically mass-produce open-domain instructions of various difficulty levels and skills range, to improve the performance of LLMs.
|
69 |
|
70 |
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_overall.png)
|
71 |
+
![info](https://github.com/nlpxucan/WizardLM/raw/main/imgs/git_running.png)
|