bartowski commited on
Commit
c2da8f8
1 Parent(s): 6b6d2bd

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,22 @@ 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
+ DiscoPOP-zephyr-7b-gemma-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ DiscoPOP-zephyr-7b-gemma-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ DiscoPOP-zephyr-7b-gemma-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ DiscoPOP-zephyr-7b-gemma-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ DiscoPOP-zephyr-7b-gemma-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ DiscoPOP-zephyr-7b-gemma-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ DiscoPOP-zephyr-7b-gemma-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ DiscoPOP-zephyr-7b-gemma-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ DiscoPOP-zephyr-7b-gemma-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ DiscoPOP-zephyr-7b-gemma-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ DiscoPOP-zephyr-7b-gemma-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ DiscoPOP-zephyr-7b-gemma-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ DiscoPOP-zephyr-7b-gemma-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ DiscoPOP-zephyr-7b-gemma-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
51
+ DiscoPOP-zephyr-7b-gemma-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
52
+ DiscoPOP-zephyr-7b-gemma-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
53
+ DiscoPOP-zephyr-7b-gemma-f32.gguf filter=lfs diff=lfs merge=lfs -text
54
+ DiscoPOP-zephyr-7b-gemma.imatrix filter=lfs diff=lfs merge=lfs -text
DiscoPOP-zephyr-7b-gemma-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34548b9cec172f0827fda98ab2a4f6c2bb71b1a00b9778a412e4b8087e7ec7ee
3
+ size 4164218112
DiscoPOP-zephyr-7b-gemma-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91e8ef59047aaca99e952184d67660d61e8d379ab70430d5406aa4ec111dc14f
3
+ size 3951095040
DiscoPOP-zephyr-7b-gemma-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e72e510e5aa0496d9708b9c013f11210a4ef7e2795fbd7ebe4453ccb11f4e9a
3
+ size 3842764032
DiscoPOP-zephyr-7b-gemma-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52db147016a07961f8c1a91dc214a8195294d7ab47575815a44ec34b8f33ab06
3
+ size 5033815296
DiscoPOP-zephyr-7b-gemma-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b57336f1c187f90808dbe8cab274a910bdbaea6df72d8a5fa6dd122c12cbe78a
3
+ size 4728483072
DiscoPOP-zephyr-7b-gemma-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a84a7c2241c29ced51749be6391ba9eb2fcd432894fbc4f6d96fe0480682b537
3
+ size 4519292160
DiscoPOP-zephyr-7b-gemma-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a572d679f6ff86d8dc75b0d5be03a24098050d61a844a0217f6f06d53be138cb
3
+ size 5697367296
DiscoPOP-zephyr-7b-gemma-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dde97344816605586173a962daf473a5663fb28cabc02476235a9502bf5cc316
3
+ size 4409191680
DiscoPOP-zephyr-7b-gemma-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdc5e416747ccf0d97027a55b05c40a75c1e7f3273aa58176881bcfc659d7aff
3
+ size 5636812032
DiscoPOP-zephyr-7b-gemma-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c30baeab855d08af3e0d195fbc186270415b7f443c89975021ef83cc480effe1
3
+ size 5297073408
DiscoPOP-zephyr-7b-gemma-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fc4d77bbbccbd20949697247d94b1df46f57b1f81adf80c5f6e090bd32ff52d
3
+ size 4910148864
DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:102ca48719d7446f3db3f23cec0b253e47c71df33c292a0d603ac41855b08e33
3
+ size 6257503488
DiscoPOP-zephyr-7b-gemma-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed638f9078119900a147eb0eac4828fe88a988dd990ff913bcb5b3bd6d9604eb
3
+ size 5974191360
DiscoPOP-zephyr-7b-gemma-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ac7505655ec836130d286363851a225c632b70e4b088cfa9514f4ddc2751f7b
3
+ size 7072247040
DiscoPOP-zephyr-7b-gemma-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c43447bd03d155f7483b616635ca3c3b8a399a2992db70d827a13fd5fbd0b7d
3
+ size 6908472576
DiscoPOP-zephyr-7b-gemma-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9996a1afdb0c293ab0727ac3cc23cf72ea1db8964fc65699f66aac296dfbc12
3
+ size 7937912064
DiscoPOP-zephyr-7b-gemma-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ca76846c77af5e24b7259776a8173a855412fbb04650340b2b31becd4055dc4
3
+ size 9815125248
DiscoPOP-zephyr-7b-gemma-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:449db1a04d12f0e645f4adff7715358d7247bd8bad5557d398a17e75cac6b93b
3
+ size 34156768224
DiscoPOP-zephyr-7b-gemma.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85d0e98fc8a935544a2bbd078aac27bce85320a378b49e8a5ed01d7b90412442
3
+ size 4938087
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ base_model: HuggingFaceH4/zephyr-7b-gemma-sft-v0.1
4
+ tags:
5
+ - alignment-handbook
6
+ - generated_from_trainer
7
+ datasets:
8
+ - argilla/dpo-mix-7k
9
+ model-index:
10
+ - name: DiscoPOP-zephyr-7b-gemma
11
+ results: []
12
+ quantized_by: bartowski
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ ## Llamacpp imatrix Quantizations of DiscoPOP-zephyr-7b-gemma
17
+
18
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3145">b3145</a> for quantization.
19
+
20
+ Original model: https://huggingface.co/SakanaAI/DiscoPOP-zephyr-7b-gemma
21
+
22
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
23
+
24
+ ## Prompt format
25
+
26
+ ```
27
+ <bos><|im_start|>system
28
+ {system_prompt}<|im_end|>
29
+ <|im_start|>user
30
+ {prompt}<|im_end|>
31
+ <|im_start|>assistant
32
+
33
+ ```
34
+
35
+ ## Download a file (not the whole branch) from below:
36
+
37
+ | Filename | Quant type | File Size | Description |
38
+ | -------- | ---------- | --------- | ----------- |
39
+ | [DiscoPOP-zephyr-7b-gemma-Q8_0.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q8_0.gguf) | Q8_0 | 9.81GB | Extremely high quality, generally unneeded but max available quant. |
40
+ | [DiscoPOP-zephyr-7b-gemma-Q6_K.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q6_K.gguf) | Q6_K | 7.93GB | Very high quality, near perfect, *recommended*. |
41
+ | [DiscoPOP-zephyr-7b-gemma-Q5_K_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q5_K_M.gguf) | Q5_K_M | 7.07GB | High quality, *recommended*. |
42
+ | [DiscoPOP-zephyr-7b-gemma-Q5_K_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q5_K_S.gguf) | Q5_K_S | 6.90GB | High quality, *recommended*. |
43
+ | [DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf) | Q4_K_M | 6.25GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
44
+ | [DiscoPOP-zephyr-7b-gemma-Q4_K_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q4_K_S.gguf) | Q4_K_S | 5.97GB | Slightly lower quality with more space savings, *recommended*. |
45
+ | [DiscoPOP-zephyr-7b-gemma-IQ4_XS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ4_XS.gguf) | IQ4_XS | 5.69GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
46
+ | [DiscoPOP-zephyr-7b-gemma-Q3_K_L.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q3_K_L.gguf) | Q3_K_L | 5.63GB | Lower quality but usable, good for low RAM availability. |
47
+ | [DiscoPOP-zephyr-7b-gemma-Q3_K_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q3_K_M.gguf) | Q3_K_M | 5.29GB | Even lower quality. |
48
+ | [DiscoPOP-zephyr-7b-gemma-IQ3_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ3_M.gguf) | IQ3_M | 5.03GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
49
+ | [DiscoPOP-zephyr-7b-gemma-Q3_K_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q3_K_S.gguf) | Q3_K_S | 4.91GB | Low quality, not recommended. |
50
+ | [DiscoPOP-zephyr-7b-gemma-IQ3_XS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ3_XS.gguf) | IQ3_XS | 4.72GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
51
+ | [DiscoPOP-zephyr-7b-gemma-IQ3_XXS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ3_XXS.gguf) | IQ3_XXS | 4.51GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
52
+ | [DiscoPOP-zephyr-7b-gemma-Q2_K.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q2_K.gguf) | Q2_K | 4.40GB | Very low quality but surprisingly usable. |
53
+ | [DiscoPOP-zephyr-7b-gemma-IQ2_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ2_M.gguf) | IQ2_M | 4.16GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
54
+ | [DiscoPOP-zephyr-7b-gemma-IQ2_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ2_S.gguf) | IQ2_S | 3.95GB | Very low quality, uses SOTA techniques to be usable. |
55
+ | [DiscoPOP-zephyr-7b-gemma-IQ2_XS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ2_XS.gguf) | IQ2_XS | 3.84GB | Very low quality, uses SOTA techniques to be usable. |
56
+
57
+ ## Downloading using huggingface-cli
58
+
59
+ First, make sure you have hugginface-cli installed:
60
+
61
+ ```
62
+ pip install -U "huggingface_hub[cli]"
63
+ ```
64
+
65
+ Then, you can target the specific file you want:
66
+
67
+ ```
68
+ huggingface-cli download bartowski/DiscoPOP-zephyr-7b-gemma-GGUF --include "DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf" --local-dir ./
69
+ ```
70
+
71
+ 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:
72
+
73
+ ```
74
+ huggingface-cli download bartowski/DiscoPOP-zephyr-7b-gemma-GGUF --include "DiscoPOP-zephyr-7b-gemma-Q8_0.gguf/*" --local-dir DiscoPOP-zephyr-7b-gemma-Q8_0
75
+ ```
76
+
77
+ You can either specify a new local-dir (DiscoPOP-zephyr-7b-gemma-Q8_0) or download them all in place (./)
78
+
79
+ ## Which file should I choose?
80
+
81
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
82
+
83
+ 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.
84
+
85
+ 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.
86
+
87
+ 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.
88
+
89
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
90
+
91
+ 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.
92
+
93
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
94
+
95
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
96
+
97
+ 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.
98
+
99
+ 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.
100
+
101
+ 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.
102
+
103
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski