TheBloke commited on
Commit
220a992
1 Parent(s): e3711b7

Initial upload of GGML models.

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ datasets:
4
+ - ehartford/wizard_vicuna_70k_unfiltered
5
+ language:
6
+ - en
7
+ tags:
8
+ - uncensored
9
+ inference: false
10
+ ---
11
+
12
+ # Wizard-Vicuna-7B-Uncensored GGML
13
+
14
+ This is GGML format quantised 4bit and 5bit models of [Eric Hartford's 'uncensored' training of Wizard-Vicuna 13B](https://huggingface.co/ehartford/Wizard-Vicuna-7B-Uncensored).
15
+
16
+ This repo is the result of quantising to 4bit and 5bit GGML for CPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp).
17
+
18
+ ## Repositories available
19
+
20
+ * [4bit GPTQ models for GPU inference](https://huggingface.co/TheBloke/Wizard-Vicuna-7B-Uncensored-GPTQ).
21
+ * [4bit and 5bit GGML models for CPU inference](https://huggingface.co/TheBloke/Wizard-Vicuna-7B-Uncensored-GGML).
22
+ * [float16 HF format model for GPU inference and further conversions](https://huggingface.co/TheBloke/Wizard-Vicuna-7B-Uncensored-HF).
23
+
24
+ ## THE FILES IN MAIN BRANCH REQUIRES LATEST LLAMA.CPP (May 12th 2023 - commit b9fd7ee)!
25
+
26
+ llama.cpp recently made a breaking change to its quantisation methods.
27
+
28
+ 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.
29
+
30
+ ## Provided files
31
+ | Name | Quant method | Bits | Size | RAM required | Use case |
32
+ | ---- | ---- | ---- | ---- | ---- | ----- |
33
+ `Wizard-Vicuna-7B-Uncensored.ggmlv2.q4_0.bin` | q4_0 | 4bit | 4.21GB | 7.0GB | 4-bit. |
34
+ `Wizard-Vicuna-7B-Uncensored.ggmlv2.q4_1.bin` | q4_0 | 4bit | 4.63GB | 7.5GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
35
+ `Wizard-Vicuna-7B-Uncensored.ggmlv2.q5_0.bin` | q5_0 | 5bit | 4.63GB | 7.5GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
36
+ `Wizard-Vicuna-7B-Uncensored.ggmlv2.q5_1.bin` | q5_1 | 5bit | 5.06GB | 7.5GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
37
+ `Wizard-Vicuna-7B-Uncensored.ggmlv2.q8_0.bin` | q8_0 | 8bit | 7.58GB | 9.0GB | 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 Wizard-Vicuna-7B-Uncensored.ggmlv2.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.
48
+
49
+ ## How to run in `text-generation-webui`
50
+
51
+ GGML models can be loaded into text-generation-webui by installing the llama.cpp module, then placing the ggml model file in a model folder as usual.
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 [wizard-vicuna-13b](https://huggingface.co/junelee/wizard-vicuna-13b) trained against LLaMA-7B 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.
58
+
59
+ Shout out to the open source AI/ML community, and everyone who helped me out.
60
+
61
+ Note:
62
+
63
+ An uncensored model has no guardrails.
64
+
65
+ You are responsible for anything you do with the model, just as you are responsible for anything you do with any dangerous object such as a knife, gun, lighter, or car.
66
+
67
+ Publishing anything this model generates is the same as publishing it yourself.
68
+
69
+ You are responsible for the content you publish, and you cannot blame the model any more than you can blame the knife, gun, lighter, or car for what you do with it.
Wizard-Vicuna-7B-Uncensored.ggmlv2.q4_0.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fe98293dc8f4d1a1ea724f474876af6e188aea9be8580f62c5126df4f5aa6c6
3
+ size 4212859520
Wizard-Vicuna-7B-Uncensored.ggmlv2.q4_1.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d94a68ba6b549613fa98219e05fc21afd5382683acf136902fa0d24ef643845
3
+ size 5055128192
Wizard-Vicuna-7B-Uncensored.ggmlv2.q5_0.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8376720819f71ce752b4efd6f3529f4ae6cdde886423f30a7859b296a150eb37
3
+ size 4633993856
Wizard-Vicuna-7B-Uncensored.ggmlv2.q5_1.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed662ec9bfcc783112903150df5f68801b16e972c98b6f201ac5005b94eaf0ce
3
+ size 5055128192
Wizard-Vicuna-7B-Uncensored.ggmlv2.q8_0.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64479d84a205eb304716c5b37c07d8cd182b60278ac3b46b815647b6e531ca1e
3
+ size 7581934208