bartowski commited on
Commit
d4ac64e
1 Parent(s): d956e5a

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
+ SELM-Llama-3-8B-Instruct-iter-3-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ SELM-Llama-3-8B-Instruct-iter-3-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ SELM-Llama-3-8B-Instruct-iter-3-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ SELM-Llama-3-8B-Instruct-iter-3-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ SELM-Llama-3-8B-Instruct-iter-3-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ SELM-Llama-3-8B-Instruct-iter-3-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ SELM-Llama-3-8B-Instruct-iter-3-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ SELM-Llama-3-8B-Instruct-iter-3-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ SELM-Llama-3-8B-Instruct-iter-3-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ SELM-Llama-3-8B-Instruct-iter-3-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ SELM-Llama-3-8B-Instruct-iter-3-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ SELM-Llama-3-8B-Instruct-iter-3-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ SELM-Llama-3-8B-Instruct-iter-3-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ SELM-Llama-3-8B-Instruct-iter-3-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ SELM-Llama-3-8B-Instruct-iter-3-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
51
+ SELM-Llama-3-8B-Instruct-iter-3-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
52
+ SELM-Llama-3-8B-Instruct-iter-3-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
53
+ SELM-Llama-3-8B-Instruct-iter-3-f32.gguf filter=lfs diff=lfs merge=lfs -text
54
+ SELM-Llama-3-8B-Instruct-iter-3.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: ZhangShenao/SELM-Llama-3-8B-Instruct-iter-2
4
+ tags:
5
+ - alignment-handbook
6
+ - dpo
7
+ - trl
8
+ - selm
9
+ datasets:
10
+ - HuggingFaceH4/ultrafeedback_binarized
11
+ model-index:
12
+ - name: SELM-Llama-3-8B-Instruct-iter-3
13
+ results: []
14
+ quantized_by: bartowski
15
+ pipeline_tag: text-generation
16
+ ---
17
+
18
+ ## Llamacpp imatrix Quantizations of SELM-Llama-3-8B-Instruct-iter-3
19
+
20
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3070">b3070</a> for quantization.
21
+
22
+ Original model: https://huggingface.co/ZhangShenao/SELM-Llama-3-8B-Instruct-iter-3
23
+
24
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
25
+
26
+ ## Prompt format
27
+
28
+ ```
29
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
30
+
31
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
32
+
33
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
34
+
35
+
36
+ ```
37
+
38
+ ## Download a file (not the whole branch) from below:
39
+
40
+ | Filename | Quant type | File Size | Description |
41
+ | -------- | ---------- | --------- | ----------- |
42
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q8_0.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
43
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q6_K.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
44
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q5_K_M.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
45
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q5_K_S.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
46
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q4_K_M.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
47
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q4_K_S.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
48
+ | [SELM-Llama-3-8B-Instruct-iter-3-IQ4_XS.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
49
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q3_K_L.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
50
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q3_K_M.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
51
+ | [SELM-Llama-3-8B-Instruct-iter-3-IQ3_M.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
52
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q3_K_S.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
53
+ | [SELM-Llama-3-8B-Instruct-iter-3-IQ3_XS.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
54
+ | [SELM-Llama-3-8B-Instruct-iter-3-IQ3_XXS.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
55
+ | [SELM-Llama-3-8B-Instruct-iter-3-Q2_K.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
56
+ | [SELM-Llama-3-8B-Instruct-iter-3-IQ2_M.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
57
+ | [SELM-Llama-3-8B-Instruct-iter-3-IQ2_S.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
58
+ | [SELM-Llama-3-8B-Instruct-iter-3-IQ2_XS.gguf](https://huggingface.co/bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF/blob/main/SELM-Llama-3-8B-Instruct-iter-3-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
59
+
60
+ ## Downloading using huggingface-cli
61
+
62
+ First, make sure you have hugginface-cli installed:
63
+
64
+ ```
65
+ pip install -U "huggingface_hub[cli]"
66
+ ```
67
+
68
+ Then, you can target the specific file you want:
69
+
70
+ ```
71
+ huggingface-cli download bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF --include "SELM-Llama-3-8B-Instruct-iter-3-Q4_K_M.gguf" --local-dir ./
72
+ ```
73
+
74
+ 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:
75
+
76
+ ```
77
+ huggingface-cli download bartowski/SELM-Llama-3-8B-Instruct-iter-3-GGUF --include "SELM-Llama-3-8B-Instruct-iter-3-Q8_0.gguf/*" --local-dir SELM-Llama-3-8B-Instruct-iter-3-Q8_0
78
+ ```
79
+
80
+ You can either specify a new local-dir (SELM-Llama-3-8B-Instruct-iter-3-Q8_0) or download them all in place (./)
81
+
82
+ ## Which file should I choose?
83
+
84
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
85
+
86
+ 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.
87
+
88
+ 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.
89
+
90
+ 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.
91
+
92
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
93
+
94
+ 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.
95
+
96
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
97
+
98
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
99
+
100
+ 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.
101
+
102
+ 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.
103
+
104
+ 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.
105
+
106
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
SELM-Llama-3-8B-Instruct-iter-3-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4fde2c0dacf8570afae76b8e4900c767e1b4044a3a8309bf8f31644ab618b1f
3
+ size 2948280960
SELM-Llama-3-8B-Instruct-iter-3-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e9e242c7c0e9431bfdb7b75edc0038b800fb79406dec9d6536550691e3d111b
3
+ size 2758488704
SELM-Llama-3-8B-Instruct-iter-3-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0604e48379caf68977f46b65a648a20c560ab5a7e2ecc20c36587107e14c10fa
3
+ size 2605781632
SELM-Llama-3-8B-Instruct-iter-3-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26d4d42a33d530550ff35e2648aa46250000b041bb132760074056f10ff648b9
3
+ size 3784823424
SELM-Llama-3-8B-Instruct-iter-3-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ee9393b565896320b141746097a4281546c6ae6fe8c19ff3b4960d9db6c380f
3
+ size 3518747264
SELM-Llama-3-8B-Instruct-iter-3-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba088f71849e3868f2e5fcde6ff29f07111cd17048ed3c2b5acbba566270295f
3
+ size 3274912384
SELM-Llama-3-8B-Instruct-iter-3-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0cb6ea8248485e5fe6692c60ae9abfa59c5401915fa78a54a9e953e0e81b84a
3
+ size 4447662720
SELM-Llama-3-8B-Instruct-iter-3-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4a8a114ba1bf06b8675d5f0397e671d0310ed179598cf432aea03d2ee2975cd
3
+ size 3179131520
SELM-Llama-3-8B-Instruct-iter-3-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ce4671b9dade4b8a3f5c414698340b5f5720c3527da55955df9fc68e0aea138
3
+ size 4321956480
SELM-Llama-3-8B-Instruct-iter-3-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:103ba52803d903e2cf8f88e7e44469f799fc3dd06db9b22b9ce9eb51d6f813ce
3
+ size 4018918016
SELM-Llama-3-8B-Instruct-iter-3-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2c375d9ed6f78f0277c5ab834ab418dceff4d992f604f03d2502071ce9154b0
3
+ size 3664499328
SELM-Llama-3-8B-Instruct-iter-3-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9566512716fbd4ef5b2bd39468c2ee14f039729242fea6bb5e319259bb32510b
3
+ size 4920734336
SELM-Llama-3-8B-Instruct-iter-3-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4abfb7a9df173e635e4c3a770620262bb95dafbd1e1ceae3faab929e9ecf9f30
3
+ size 4692669056
SELM-Llama-3-8B-Instruct-iter-3-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e53356d85130aba1281a990c3ee9eed4d026b1968a4cf1f3a2262468ed0d458
3
+ size 5732987520
SELM-Llama-3-8B-Instruct-iter-3-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2e1744815cfb34364d6664653c6366edb6a32ce0fc0e1e6eb1459207fcaa64b
3
+ size 5599294080
SELM-Llama-3-8B-Instruct-iter-3-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a6581df077730b36ebc707350dcc922cec2068e3544d0abcb3c84524b3624be
3
+ size 6596006528
SELM-Llama-3-8B-Instruct-iter-3-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:325ba13a85f4a4423fa3b4f8a08a04a5ed5c9b348f6152b8fa7c64969b5c7520
3
+ size 8540770944
SELM-Llama-3-8B-Instruct-iter-3-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11c561b19f40f3d6b3d40e3f3c7ae1f6f547b5dbfd000ee9df2803d5a8b9207e
3
+ size 32128880992
SELM-Llama-3-8B-Instruct-iter-3.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b816d4e10172cfce87cfeed4bec5b3eda226da3c636f1cea75efb2ff876e784
3
+ size 4988171