New GGMLv3 format for breaking llama.cpp change May 19th commit 2d5db48
Browse files
README.md
CHANGED
@@ -22,28 +22,29 @@ This repo is the result of quantising to 4bit and 5bit GGML for CPU inference us
|
|
22 |
* [4-bit, 5-bit 8-bit GGML models for llama.cpp CPU (+CUDA) inference](https://huggingface.co/TheBloke/wizard-mega-13B-GGML).
|
23 |
* [OpenAccess AI Collective's original float16 HF format repo for GPU inference and further conversions](https://huggingface.co/openaccess-ai-collective/wizard-mega-13b).
|
24 |
|
25 |
-
## THE FILES IN MAIN BRANCH REQUIRES LATEST LLAMA.CPP (May
|
26 |
|
27 |
-
llama.cpp recently made
|
28 |
|
29 |
-
I have quantised the GGML files in this repo with the latest version. Therefore you will require llama.cpp compiled on May
|
30 |
|
31 |
-
|
32 |
|
33 |
## Provided files
|
34 |
| Name | Quant method | Bits | Size | RAM required | Use case |
|
35 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
36 |
-
`wizard-mega-13B.
|
37 |
-
`wizard-mega-13B.
|
38 |
-
`wizard-mega-13B.
|
39 |
-
`wizard-mega-13B.
|
|
|
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-mega-13B.
|
47 |
```
|
48 |
|
49 |
Change `-t 8` to the number of physical CPU cores you have.
|
@@ -54,6 +55,8 @@ GGML models can be loaded into text-generation-webui by installing the llama.cpp
|
|
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 |
# Original Wizard Mega 13B model card
|
58 |
|
59 |
Wizard Mega is a Llama 13B model fine-tuned on the [ShareGPT](https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered), [WizardLM](https://huggingface.co/datasets/ehartford/WizardLM_alpaca_evol_instruct_70k_unfiltered), and [Wizard-Vicuna](https://huggingface.co/datasets/ehartford/wizard_vicuna_70k_unfiltered) datasets. These particular datasets have all been filtered to remove responses where the model responds with "As an AI language model...", etc or when the model refuses to respond.
|
|
|
22 |
* [4-bit, 5-bit 8-bit GGML models for llama.cpp CPU (+CUDA) inference](https://huggingface.co/TheBloke/wizard-mega-13B-GGML).
|
23 |
* [OpenAccess AI Collective's original float16 HF format repo for GPU inference and further conversions](https://huggingface.co/openaccess-ai-collective/wizard-mega-13b).
|
24 |
|
25 |
+
## THE FILES IN MAIN BRANCH REQUIRES LATEST LLAMA.CPP (May 19th 2023 - commit 2d5db48)!
|
26 |
|
27 |
+
llama.cpp recently made another breaking change to its quantisation methods - https://github.com/ggerganov/llama.cpp/pull/1508
|
28 |
|
29 |
+
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.
|
30 |
|
31 |
+
For files compatible with the previous version of llama.cpp, please see branch `previous_llama_ggmlv2`.
|
32 |
|
33 |
## Provided files
|
34 |
| Name | Quant method | Bits | Size | RAM required | Use case |
|
35 |
| ---- | ---- | ---- | ---- | ---- | ----- |
|
36 |
+
`wizard-mega-13B.ggmlv3.q4_0.bin` | q4_0 | 4bit | 8.14GB | 10.5GB | 4-bit. |
|
37 |
+
`wizard-mega-13B.ggmlv3.q4_1.bin` | q5_0 | 5bit | 8.95GB | 11.0GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models.|
|
38 |
+
`wizard-mega-13B.ggmlv3.q5_0.bin` | q5_0 | 5bit | 8.95GB | 11.0GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
|
39 |
+
`wizard-mega-13B.ggmlv3.q5_1.bin` | q5_1 | 5bit | 9.76GB | 12.25GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
|
40 |
+
`wizard-mega-13B.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. |
|
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-mega-13B.ggmlv3.q5_0.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Instruction: write a story about llamas ### Response:"
|
48 |
```
|
49 |
|
50 |
Change `-t 8` to the number of physical CPU cores you have.
|
|
|
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 19th llama.cpp quantisation methods for q4_0, q4_1 and q8_0 files.
|
59 |
+
|
60 |
# Original Wizard Mega 13B model card
|
61 |
|
62 |
Wizard Mega is a Llama 13B model fine-tuned on the [ShareGPT](https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered), [WizardLM](https://huggingface.co/datasets/ehartford/WizardLM_alpaca_evol_instruct_70k_unfiltered), and [Wizard-Vicuna](https://huggingface.co/datasets/ehartford/wizard_vicuna_70k_unfiltered) datasets. These particular datasets have all been filtered to remove responses where the model responds with "As an AI language model...", etc or when the model refuses to respond.
|