bartowski commited on
Commit
e6cfdfa
1 Parent(s): 7a0fc7f

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,26 @@ 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-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ WizardLM-2-7B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ WizardLM-2-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ WizardLM-2-7B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ WizardLM-2-7B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ WizardLM-2-7B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ WizardLM-2-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ WizardLM-2-7B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ WizardLM-2-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ WizardLM-2-7B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ WizardLM-2-7B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ WizardLM-2-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ WizardLM-2-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ WizardLM-2-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ WizardLM-2-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ WizardLM-2-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ WizardLM-2-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ WizardLM-2-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ WizardLM-2-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ WizardLM-2-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ WizardLM-2-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ WizardLM-2-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ WizardLM-2-7B.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ quantized_by: bartowski
4
+ pipeline_tag: text-generation
5
+ ---
6
+
7
+ ## Llamacpp Quantizations of WizardLM-2-7B
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/b2675">b2675</a> for quantization.
10
+
11
+ Original model: https://huggingface.co/microsoft/WizardLM-2-7B
12
+
13
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
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-Q8_0.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q8_0.gguf) | Q8_0 | 7.69GB | Extremely high quality, generally unneeded but max available quant. |
32
+ | [WizardLM-2-7B-Q6_K.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
33
+ | [WizardLM-2-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
34
+ | [WizardLM-2-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q5_K_S.gguf) | Q5_K_S | 4.99GB | High quality, *recommended*. |
35
+ | [WizardLM-2-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q4_K_M.gguf) | Q4_K_M | 4.36GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
36
+ | [WizardLM-2-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
37
+ | [WizardLM-2-7B-IQ4_NL.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ4_NL.gguf) | IQ4_NL | 4.12GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
38
+ | [WizardLM-2-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ4_XS.gguf) | IQ4_XS | 3.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
39
+ | [WizardLM-2-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
40
+ | [WizardLM-2-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q3_K_M.gguf) | Q3_K_M | 3.51GB | Even lower quality. |
41
+ | [WizardLM-2-7B-IQ3_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
42
+ | [WizardLM-2-7B-IQ3_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-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-Q3_K_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
44
+ | [WizardLM-2-7B-IQ3_XS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ3_XS.gguf) | IQ3_XS | 3.01GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
45
+ | [WizardLM-2-7B-IQ3_XXS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ3_XXS.gguf) | IQ3_XXS | 2.82GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
46
+ | [WizardLM-2-7B-Q2_K.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-Q2_K.gguf) | Q2_K | 2.71GB | Very low quality but surprisingly usable. |
47
+ | [WizardLM-2-7B-IQ2_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
48
+ | [WizardLM-2-7B-IQ2_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
49
+ | [WizardLM-2-7B-IQ2_XS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ2_XS.gguf) | IQ2_XS | 2.19GB | Very low quality, uses SOTA techniques to be usable. |
50
+ | [WizardLM-2-7B-IQ2_XXS.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ2_XXS.gguf) | IQ2_XXS | 1.99GB | Lower quality, uses SOTA techniques to be usable. |
51
+ | [WizardLM-2-7B-IQ1_M.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ1_M.gguf) | IQ1_M | 1.75GB | Extremely low quality, *not* recommended. |
52
+ | [WizardLM-2-7B-IQ1_S.gguf](https://huggingface.co/bartowski/WizardLM-2-7B-GGUF/blob/main/WizardLM-2-7B-IQ1_S.gguf) | IQ1_S | 1.61GB | Extremely low quality, *not* recommended. |
53
+
54
+ ## Which file should I choose?
55
+
56
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
57
+
58
+ 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.
59
+
60
+ 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.
61
+
62
+ 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.
63
+
64
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
65
+
66
+ 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.
67
+
68
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
69
+
70
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
71
+
72
+ 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.
73
+
74
+ 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.
75
+
76
+ 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.
77
+
78
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
WizardLM-2-7B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02d5fc631a5a588e1229eeff18d02549d6db7ab453e610df9feea4f365da5213
3
+ size 1754445504
WizardLM-2-7B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d026796f5af035201f2dea51375a3b2f616a145de6923aba3aa4625398a805e
3
+ size 1612101312
WizardLM-2-7B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8c5fc3f33cbb1279ecd7d89d248c61924bb8d5259402a3363dae180f7ef1b99
3
+ size 2500712128
WizardLM-2-7B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df99919dce3d2136a5e6d075aba2fa621b43a958dac496f8b08769635e61c0eb
3
+ size 2310919872
WizardLM-2-7B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c4a67d9b1c910b1545cd6f3fb5a185442cc2baf464ade153635dd4d7bb9ee96
3
+ size 2198255296
WizardLM-2-7B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8962d023aed1dd1afcc0a7746155c1d54a7ee679ad0dd7d224318aafef5d1326
3
+ size 1991685824
WizardLM-2-7B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce1822361f26b1d3d79b0334e327f208af6f42322d4ee4bdd30da7c9549552da
3
+ size 3284891328
WizardLM-2-7B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fac6a80d2c7249cdf28648f3dcabe828a933b6b434cf54e75480102ab09b37f
3
+ size 3182393024
WizardLM-2-7B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2494c657b11aca6983e8eb82a274764dc2faa1ac769bdfd420d958e17b76155
3
+ size 3018815168
WizardLM-2-7B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b97f316d725b3b9a26a781819f918bc26b88cf3b41d76bc0a75ea5395d39bdfc
3
+ size 2827343552
WizardLM-2-7B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ce271d50fab7067d7b7cf9236c566ff5ff6ff3ff609f634e79fa1daa237c4a9
3
+ size 4125693632
WizardLM-2-7B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37d0205493d2831b65ea3b71996ddca720af9bca52520aabce846963cc8a2732
3
+ size 3907688128
WizardLM-2-7B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d9851f3e87846a13dc9d76fc55d5eee505939a2312305674bcb9e241add8988
3
+ size 2719241920
WizardLM-2-7B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77f344f57cf8f61aea68c00b5e1a350c4fc121501d129898eb37e20bdcf04054
3
+ size 3822024384
WizardLM-2-7B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50b1a9118856739f707b1ea77bd574c959a49cdc4f445f683395915542e98370
3
+ size 3518985920
WizardLM-2-7B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78fb0cb7ceb89b807e56b0df38182e8a7c24ed8f352cb321d5d006321399ada5
3
+ size 3164567232
WizardLM-2-7B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09d79242c8b3f00d235950480d509ebeb2e41c70ffd7ed36340e0dcd6379d05b
3
+ size 4368438976
WizardLM-2-7B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6c3fc3a250f5c25c88dd495aca0556afa52f5aec7d811589fb3798001a392b2
3
+ size 4140373696
WizardLM-2-7B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6afc7d0f5e5e6b57b5c236ae292a4cd58775253367b521a835c164f0ba2387f0
3
+ size 5131409088
WizardLM-2-7B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92a08f472a1b8ee3bf34fe67af313a0d5ceb9928bcfbdb74eca9e4ad5ba597e3
3
+ size 4997715648
WizardLM-2-7B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e9dac943fb87cfedd5421478d7e66f5c5f2ecde3daf258052459ef6a96e2cd1
3
+ size 5942064832
WizardLM-2-7B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75d7ce14b174d5aa85fe211709f414135d7e48992bddb0f293ba259e83c3fe48
3
+ size 7695857344
WizardLM-2-7B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc32c929c021217a04989e52fcf8daf35438c7dace6751613edd13fb38a4286c
3
+ size 4988126