TheBloke commited on
Commit
3d0d1ab
1 Parent(s): 3f14e6b

New GGMLv3 format for breaking llama.cpp change May 19th commit 2d5db48

Browse files
Files changed (1) hide show
  1. README.md +12 -11
README.md CHANGED
@@ -19,29 +19,28 @@ These files are for CPU (+ CUDA) inference using [llama.cpp](https://github.com/
19
  * [4bit's GPTQ 4-bit model for GPU inference](https://huggingface.co/4bit/WizardLM-13B-Uncensored-4bit-128g).
20
  * [Eric's original float16 HF format model for GPU inference and further conversions](https://huggingface.co/ehartford/WizardLM-13B-Uncensored).
21
 
22
- ## THESE FILES REQUIRE LATEST LLAMA.CPP (May 12th 2023 - commit b9fd7ee)!
23
 
24
- llama.cpp recently made a breaking change to its quantisation methods.
25
 
26
- I have quantised the GGML files in this repo with the latest version. Therefore you will require llama.cpp compiled on May 12th or later (commit `b9fd7ee` or later) to use them.
27
-
28
- If you are currently unable to update llama.cpp, eg because you use a UI which hasn't updated yet, you can find a [q5_1 GGML for the older llama.cpp code here](https://huggingface.co/TehVenom/WizardLM-13B-Uncensored-Q5_1-GGML).
29
 
 
30
  ## Provided files
31
  | Name | Quant method | Bits | Size | RAM required | Use case |
32
  | ---- | ---- | ---- | ---- | ---- | ----- |
33
- `wizardLM-13B-Uncensored.ggml.q4_0.bin` | q4_0 | 4bit | 8.14GB | 10.5GB | 4-bit. |
34
- `wizardLM-13B-Uncensored.ggml.q4_1.bin` | q4_1 | 5bit | 9.76GB | 12.25GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
35
- `wizardLM-13B-Uncensored.ggml.q5_0.bin` | q5_0 | 5bit | 8.95GB | 11.0GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
36
- `wizardLM-13B-Uncensored.ggml.q5_1.bin` | q5_1 | 5bit | 9.76GB | 12.25GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
37
- `wizardLM-13B-Uncensored.ggml.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. |
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 8 -m wizardLM-13B-Uncensored.ggml.q5_0.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Instruction: write a story about llamas ### Response:"
45
  ```
46
 
47
  Change `-t 8` to the number of physical CPU cores you have.
@@ -52,6 +51,8 @@ GGML models can be loaded into text-generation-webui by installing the llama.cpp
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
  # Original model card
56
 
57
  This is WizardLM trained with a subset of the dataset - responses that contained alignment / moralizing were removed. The intent is to train a WizardLM that doesn't have alignment built-in, so that alignment (of any sort) can be added separately with for example with a RLHF LoRA.
 
19
  * [4bit's GPTQ 4-bit model for GPU inference](https://huggingface.co/4bit/WizardLM-13B-Uncensored-4bit-128g).
20
  * [Eric's original float16 HF format model for GPU inference and further conversions](https://huggingface.co/ehartford/WizardLM-13B-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
  ## Provided files
30
  | Name | Quant method | Bits | Size | RAM required | Use case |
31
  | ---- | ---- | ---- | ---- | ---- | ----- |
32
+ `wizardLM-13B-Uncensored.ggmlv3.q4_0.bin` | q4_0 | 4bit | 8.14GB | 10.5GB | 4-bit. |
33
+ `wizardLM-13B-Uncensored.ggmlv3.q4_1.bin` | q4_1 | 5bit | 9.76GB | 12.25GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
34
+ `wizardLM-13B-Uncensored.ggmlv3.q5_0.bin` | q5_0 | 5bit | 8.95GB | 11.0GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
35
+ `wizardLM-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. |
36
+ `wizardLM-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. |
37
 
38
  ## How to run in `llama.cpp`
39
 
40
  I use the following command line; adjust for your tastes and needs:
41
 
42
  ```
43
+ ./main -t 8 -m wizardLM-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:"
44
  ```
45
 
46
  Change `-t 8` to the number of physical CPU cores you have.
 
51
 
52
  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).
53
 
54
+ 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.
55
+
56
  # Original model card
57
 
58
  This is WizardLM trained with a subset of the dataset - responses that contained alignment / moralizing were removed. The intent is to train a WizardLM that doesn't have alignment built-in, so that alignment (of any sort) can be added separately with for example with a RLHF LoRA.