bartowski commited on
Commit
95f6506
1 Parent(s): 1a2b572

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,27 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ WizardLM-2-7B-abliterated-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ WizardLM-2-7B-abliterated-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ WizardLM-2-7B-abliterated-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ WizardLM-2-7B-abliterated-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ WizardLM-2-7B-abliterated-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ WizardLM-2-7B-abliterated-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ WizardLM-2-7B-abliterated-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ WizardLM-2-7B-abliterated-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ WizardLM-2-7B-abliterated-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ WizardLM-2-7B-abliterated-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ WizardLM-2-7B-abliterated-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ WizardLM-2-7B-abliterated-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ WizardLM-2-7B-abliterated-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ WizardLM-2-7B-abliterated-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ WizardLM-2-7B-abliterated-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ WizardLM-2-7B-abliterated-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ WizardLM-2-7B-abliterated-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ WizardLM-2-7B-abliterated-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ WizardLM-2-7B-abliterated-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ WizardLM-2-7B-abliterated-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ WizardLM-2-7B-abliterated-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ WizardLM-2-7B-abliterated-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ WizardLM-2-7B-abliterated-f32.gguf filter=lfs diff=lfs merge=lfs -text
59
+ WizardLM-2-7B-abliterated.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ quantized_by: bartowski
4
+ pipeline_tag: text-generation
5
+ ---
6
+
7
+ ## Llamacpp imatrix Quantizations of WizardLM-2-7B-abliterated
8
+
9
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2965">b2965</a> for quantization.
10
+
11
+ Original model: https://huggingface.co/fearlessdots/WizardLM-2-7B-abliterated
12
+
13
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
14
+
15
+ ## Prompt format
16
+
17
+ No chat template specified so default is used. This may be incorrect, check original model card for details.
18
+
19
+ ```
20
+ <s> [INST] <<SYS>>
21
+ {system_prompt}
22
+ <</SYS>>
23
+
24
+ {prompt} [/INST] </s>
25
+ ```
26
+
27
+ ## Download a file (not the whole branch) from below:
28
+
29
+ | Filename | Quant type | File Size | Description |
30
+ | -------- | ---------- | --------- | ----------- |
31
+ | [WizardLM-2-7B-abliterated-Q8_0.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q8_0.gguf) | Q8_0 | 7.69GB | Extremely high quality, generally unneeded but max available quant. |
32
+ | [WizardLM-2-7B-abliterated-Q6_K.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
33
+ | [WizardLM-2-7B-abliterated-Q5_K_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
34
+ | [WizardLM-2-7B-abliterated-Q5_K_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q5_K_S.gguf) | Q5_K_S | 4.99GB | High quality, *recommended*. |
35
+ | [WizardLM-2-7B-abliterated-Q4_K_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q4_K_M.gguf) | Q4_K_M | 4.36GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
36
+ | [WizardLM-2-7B-abliterated-Q4_K_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
37
+ | [WizardLM-2-7B-abliterated-IQ4_NL.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ4_NL.gguf) | IQ4_NL | 4.12GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
38
+ | [WizardLM-2-7B-abliterated-IQ4_XS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ4_XS.gguf) | IQ4_XS | 3.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
39
+ | [WizardLM-2-7B-abliterated-Q3_K_L.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
40
+ | [WizardLM-2-7B-abliterated-Q3_K_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q3_K_M.gguf) | Q3_K_M | 3.51GB | Even lower quality. |
41
+ | [WizardLM-2-7B-abliterated-IQ3_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
42
+ | [WizardLM-2-7B-abliterated-IQ3_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ3_S.gguf) | IQ3_S | 3.18GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
43
+ | [WizardLM-2-7B-abliterated-Q3_K_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
44
+ | [WizardLM-2-7B-abliterated-IQ3_XS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ3_XS.gguf) | IQ3_XS | 3.01GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
45
+ | [WizardLM-2-7B-abliterated-IQ3_XXS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ3_XXS.gguf) | IQ3_XXS | 2.82GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
46
+ | [WizardLM-2-7B-abliterated-Q2_K.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-Q2_K.gguf) | Q2_K | 2.71GB | Very low quality but surprisingly usable. |
47
+ | [WizardLM-2-7B-abliterated-IQ2_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
48
+ | [WizardLM-2-7B-abliterated-IQ2_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
49
+ | [WizardLM-2-7B-abliterated-IQ2_XS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ2_XS.gguf) | IQ2_XS | 2.19GB | Very low quality, uses SOTA techniques to be usable. |
50
+ | [WizardLM-2-7B-abliterated-IQ2_XXS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ2_XXS.gguf) | IQ2_XXS | 1.99GB | Lower quality, uses SOTA techniques to be usable. |
51
+ | [WizardLM-2-7B-abliterated-IQ1_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ1_M.gguf) | IQ1_M | 1.75GB | Extremely low quality, *not* recommended. |
52
+ | [WizardLM-2-7B-abliterated-IQ1_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-abliterated-GGUF/blob/main/WizardLM-2-7B-abliterated-IQ1_S.gguf) | IQ1_S | 1.61GB | Extremely low quality, *not* recommended. |
53
+
54
+ ## Downloading using huggingface-cli
55
+
56
+ First, make sure you have hugginface-cli installed:
57
+
58
+ ```
59
+ pip install -U "huggingface_hub[cli]"
60
+ ```
61
+
62
+ Then, you can target the specific file you want:
63
+
64
+ ```
65
+ huggingface-cli download bartowski/WizardLM-2-7B-abliterated-GGUF --include "WizardLM-2-7B-abliterated-Q4_K_M.gguf" --local-dir ./
66
+ ```
67
+
68
+ If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
69
+
70
+ ```
71
+ huggingface-cli download bartowski/WizardLM-2-7B-abliterated-GGUF --include "WizardLM-2-7B-abliterated-Q8_0.gguf/*" --local-dir WizardLM-2-7B-abliterated-Q8_0
72
+ ```
73
+
74
+ You can either specify a new local-dir (WizardLM-2-7B-abliterated-Q8_0) or download them all in place (./)
75
+
76
+ ## Which file should I choose?
77
+
78
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
79
+
80
+ The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
81
+
82
+ If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
83
+
84
+ If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
85
+
86
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
87
+
88
+ If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
89
+
90
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
91
+
92
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
93
+
94
+ But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
95
+
96
+ These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
97
+
98
+ The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
99
+
100
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
WizardLM-2-7B-abliterated-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dabae94788d728646b6bfdb2e556d7441ef8dd34a78defdcd0db85249748aa6f
3
+ size 1754445856
WizardLM-2-7B-abliterated-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2314c7ba53c84e4e31dd81278866f99cc289e991a8f952a14f8338db910b4ba3
3
+ size 1612101664
WizardLM-2-7B-abliterated-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9266e33a103bb3c117fdf7aaadf9bd9bd1c472b69377321362483dfe7783ddf6
3
+ size 2500712480
WizardLM-2-7B-abliterated-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:793cfbdc04be3e1fbddf263cf0081acdba682d0718b7c8796f0c430f340dd808
3
+ size 2310920224
WizardLM-2-7B-abliterated-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd0d364dc8b993ddf772a5b1c4b78785c127fccedfe876376438e7fe759e4a28
3
+ size 2198255648
WizardLM-2-7B-abliterated-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e855692db663c4243f15f74f06b405abc1141d10a26a55fc4f59e91e1a6e8942
3
+ size 1991686176
WizardLM-2-7B-abliterated-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:800cf7ee10b9ddd847eaf2b569430e5aea6bf11225fd2f1a3cba024233e0d7fd
3
+ size 3284891680
WizardLM-2-7B-abliterated-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5713a82c519469fdb1f0a0140c6dcdaab7514d4982d7abe08cca0268c8a4a2a8
3
+ size 3182393376
WizardLM-2-7B-abliterated-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51540c4719b26b5434cdb98c5aa48e12d342886c0a7eeae899c97294d0f42230
3
+ size 3018815520
WizardLM-2-7B-abliterated-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81483db2e0711fcb0307fcfbe911acfe75eb0edbbe2aca8a4596a65df5c241b3
3
+ size 2827343904
WizardLM-2-7B-abliterated-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29675191a1ffc833da10eaec0ba2ee4c5bff5a834602c895d34a9becfd97ea3d
3
+ size 4125693984
WizardLM-2-7B-abliterated-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:413bcd99b79a9ac00f580d2b5e24e8e4299e26834839c84f473adf00b2a692ca
3
+ size 3907688480
WizardLM-2-7B-abliterated-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f8da4a6a55619d8d78cf6283d61e73f2f3707dd65bb559e877389b214a60a9c
3
+ size 2719242272
WizardLM-2-7B-abliterated-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54eb847b13186c54c3a0370a36022d4fd79dfc9bd1c461c34f0631a7a4cfe478
3
+ size 3822024736
WizardLM-2-7B-abliterated-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eb6ce59d74f8436125d5ac5089d19f1ffa6db45aa0d4bb7bd8eebe02579f51b
3
+ size 3518986272
WizardLM-2-7B-abliterated-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9f1ea9535199f7c5be4ccdce0a252c85acbd0ca87fb4018a4a9b0d82a66e93a
3
+ size 3164567584
WizardLM-2-7B-abliterated-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386258229a3fe5b8900bb9330d7d28cd43e6f9ce848925df7920116729e72143
3
+ size 4368439328
WizardLM-2-7B-abliterated-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74cc8df2f4bd095220c290feed8523c4b70e8a3682f6cbc88d8981d959dd3087
3
+ size 4140374048
WizardLM-2-7B-abliterated-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c82b9272a6142ac438ef55b7906ac7eaf1452da9b90973a0a6bccfc4e9b3db0
3
+ size 5131409440
WizardLM-2-7B-abliterated-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b90e247afdaf185244b570f8bc85449941e945962ba59cddaa276befc1cb9af
3
+ size 4997716000
WizardLM-2-7B-abliterated-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:681305b87f37f4ffb2ae6ccbd1caccabe47a54f8f7aa5a25dff9a2a67313385d
3
+ size 5942065184
WizardLM-2-7B-abliterated-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8b43826307ec39548b60d0607258b07e2a01f3e63a6e08a6479b6869eb64279
3
+ size 7695857696
WizardLM-2-7B-abliterated-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e99c74dec4c05faa5af95913fbbf310a6259806570dcf4a3a0189bc33c5ac64
3
+ size 28967663360
WizardLM-2-7B-abliterated.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31e5bcd0b48fe914e9a0ffe603cceed2870cf14b8b4dbfa3ced11f61bb5ffa20
3
+ size 4988169