bartowski commited on
Commit
092fddb
1 Parent(s): df7540c

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
+ openchat-3.6-8b-20240522-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ openchat-3.6-8b-20240522-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ openchat-3.6-8b-20240522-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ openchat-3.6-8b-20240522-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ openchat-3.6-8b-20240522-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ openchat-3.6-8b-20240522-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ openchat-3.6-8b-20240522-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ openchat-3.6-8b-20240522-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ openchat-3.6-8b-20240522-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ openchat-3.6-8b-20240522-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ openchat-3.6-8b-20240522-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ openchat-3.6-8b-20240522-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ openchat-3.6-8b-20240522-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ openchat-3.6-8b-20240522-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ openchat-3.6-8b-20240522-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ openchat-3.6-8b-20240522-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ openchat-3.6-8b-20240522-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ openchat-3.6-8b-20240522-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ openchat-3.6-8b-20240522-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ openchat-3.6-8b-20240522-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ openchat-3.6-8b-20240522-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ openchat-3.6-8b-20240522-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ openchat-3.6-8b-20240522-f32.gguf filter=lfs diff=lfs merge=lfs -text
59
+ openchat-3.6-8b-20240522.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3
3
+ base_model: meta-llama/Meta-Llama-3-8B
4
+ tags:
5
+ - openchat
6
+ - llama3
7
+ - C-RLFT
8
+ library_name: transformers
9
+ pipeline_tag: text-generation
10
+ quantized_by: bartowski
11
+ ---
12
+
13
+ ## Llamacpp imatrix Quantizations of openchat-3.6-8b-20240522
14
+
15
+ 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.
16
+
17
+ Original model: https://huggingface.co/openchat/openchat-3.6-8b-20240522
18
+
19
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
20
+
21
+ ## Prompt format
22
+
23
+ ```
24
+ <|begin_of_text|><|start_header_id|>System<|end_header_id|>
25
+
26
+ {system_prompt}<|eot_id|><|start_header_id|>GPT4 Correct User<|end_header_id|>
27
+
28
+ {prompt}<|eot_id|><|start_header_id|>GPT4 Correct Assistant<|end_header_id|>
29
+
30
+ <|eot_id|><|start_header_id|>GPT4 Correct Assistant<|end_header_id|>
31
+
32
+
33
+ ```
34
+
35
+ ## Download a file (not the whole branch) from below:
36
+
37
+ | Filename | Quant type | File Size | Description |
38
+ | -------- | ---------- | --------- | ----------- |
39
+ | [openchat-3.6-8b-20240522-Q8_0.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
40
+ | [openchat-3.6-8b-20240522-Q6_K.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
41
+ | [openchat-3.6-8b-20240522-Q5_K_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
42
+ | [openchat-3.6-8b-20240522-Q5_K_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
43
+ | [openchat-3.6-8b-20240522-Q4_K_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
44
+ | [openchat-3.6-8b-20240522-Q4_K_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
45
+ | [openchat-3.6-8b-20240522-IQ4_NL.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
46
+ | [openchat-3.6-8b-20240522-IQ4_XS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
47
+ | [openchat-3.6-8b-20240522-Q3_K_L.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
48
+ | [openchat-3.6-8b-20240522-Q3_K_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
49
+ | [openchat-3.6-8b-20240522-IQ3_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
50
+ | [openchat-3.6-8b-20240522-IQ3_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_S.gguf) | IQ3_S | 3.68GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
51
+ | [openchat-3.6-8b-20240522-Q3_K_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
52
+ | [openchat-3.6-8b-20240522-IQ3_XS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
53
+ | [openchat-3.6-8b-20240522-IQ3_XXS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
54
+ | [openchat-3.6-8b-20240522-Q2_K.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
55
+ | [openchat-3.6-8b-20240522-IQ2_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
56
+ | [openchat-3.6-8b-20240522-IQ2_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
57
+ | [openchat-3.6-8b-20240522-IQ2_XS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
58
+ | [openchat-3.6-8b-20240522-IQ2_XXS.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
59
+ | [openchat-3.6-8b-20240522-IQ1_M.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
60
+ | [openchat-3.6-8b-20240522-IQ1_S.gguf](https://huggingface.co/bartowski/openchat-3.6-8b-20240522-GGUF/blob/main/openchat-3.6-8b-20240522-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
61
+
62
+ ## Downloading using huggingface-cli
63
+
64
+ First, make sure you have hugginface-cli installed:
65
+
66
+ ```
67
+ pip install -U "huggingface_hub[cli]"
68
+ ```
69
+
70
+ Then, you can target the specific file you want:
71
+
72
+ ```
73
+ huggingface-cli download bartowski/openchat-3.6-8b-20240522-GGUF --include "openchat-3.6-8b-20240522-Q4_K_M.gguf" --local-dir ./
74
+ ```
75
+
76
+ 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:
77
+
78
+ ```
79
+ huggingface-cli download bartowski/openchat-3.6-8b-20240522-GGUF --include "openchat-3.6-8b-20240522-Q8_0.gguf/*" --local-dir openchat-3.6-8b-20240522-Q8_0
80
+ ```
81
+
82
+ You can either specify a new local-dir (openchat-3.6-8b-20240522-Q8_0) or download them all in place (./)
83
+
84
+ ## Which file should I choose?
85
+
86
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
87
+
88
+ 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.
89
+
90
+ 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.
91
+
92
+ 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.
93
+
94
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
95
+
96
+ 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.
97
+
98
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
99
+
100
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
101
+
102
+ 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.
103
+
104
+ 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.
105
+
106
+ 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.
107
+
108
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
openchat-3.6-8b-20240522-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15754ca7a3a8476fe2339944a3d612ccb3ee3c7ec64dff99ab11a330f938f177
3
+ size 2161972000
openchat-3.6-8b-20240522-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02283d85954ddcbae47f8da66bd6df610e8ec92d0cce528412a9814fe567fa9c
3
+ size 2019627808
openchat-3.6-8b-20240522-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:639886f61fd13d5439241d9e7f1dc9f231efe32efb606977ca42c0d7b6f99f83
3
+ size 2948281120
openchat-3.6-8b-20240522-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e03b53b7d2f9cfbadc6ac6b71c3fc63d4d3ebd68664f632dc7d304901dda7106
3
+ size 2758488864
openchat-3.6-8b-20240522-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bb99bfee287bc8b4128936f7fbf48ef52b1c958cfed0467ce1947059964caac
3
+ size 2605781792
openchat-3.6-8b-20240522-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ae09786c77359d2efc988166b0a18727a99a6324011332eb854cefcb6e0c524
3
+ size 2399212320
openchat-3.6-8b-20240522-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03e3144041e07820d6001923b1f551a1170c8fcebcee72f870ba1c45f0daeaa6
3
+ size 3784823584
openchat-3.6-8b-20240522-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43d37dbd0b24e2aa52f49ab3902c3d8b2017090aebaf5ec1e34d34436ad2ae16
3
+ size 3682325280
openchat-3.6-8b-20240522-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbcc6c29a92a0f49790c9b2f3fa55394e09a8427991ac4545ae7d4404cd2891c
3
+ size 3518747424
openchat-3.6-8b-20240522-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4d7c58fd6ea7947bf7af8c5b00789cbb965ab1b0a2ced292827a479694f1dd3
3
+ size 3274912544
openchat-3.6-8b-20240522-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b66d87f9e133fcac6bc698e25661cece699069d3b1241fd4f4f078502d58c0d4
3
+ size 4677989152
openchat-3.6-8b-20240522-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18889665ca4991049236b4448b3a648426db6c88a3a155af5372d02a98208c74
3
+ size 4447662880
openchat-3.6-8b-20240522-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3e979a4cfd14c6ff22319b40346390fb093c58a9dd602bf871131209d9cdf97
3
+ size 3179131680
openchat-3.6-8b-20240522-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b8dfa1bcbeaaec41c591af11cf5320dd9e6ffe787b5ba66381b5b1b69b469fc
3
+ size 4321956640
openchat-3.6-8b-20240522-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:743ebd120d9c57dd20e226f461b702fabf924207a2f12c5be81721403962c1c7
3
+ size 4018918176
openchat-3.6-8b-20240522-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f587031599e8e389e576704c2e2a7185b0fbaad74c3ec73a27dfdfd94e25b47
3
+ size 3664499488
openchat-3.6-8b-20240522-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9005f49727acdd213c691358c752428ed2354d0c9bcc1921e16db611a9b76a92
3
+ size 4920734496
openchat-3.6-8b-20240522-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e69130fe24705c9a70efbb1a8787755f44b6e528cdfb2ba0923b69bd800823e1
3
+ size 4692669216
openchat-3.6-8b-20240522-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd7be63174cb5e69b714f6f6cd4bdfdf7003b798d96fd07b16b645fdbea6129a
3
+ size 5732987680
openchat-3.6-8b-20240522-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4748c79277cfb5f750b2109aa9f7ac9d9a17d2c3501b0be07b98f490686c074
3
+ size 5599294240
openchat-3.6-8b-20240522-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcf2cf6a552b3315d6f44f20acc358d8a6b9742a40985fe066ca510ece350d2a
3
+ size 6596006688
openchat-3.6-8b-20240522-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c881067ec51b3158c2fbc60799222dab3fc4d45e9b6af92c526b0bb9177523c4
3
+ size 8540771104
openchat-3.6-8b-20240522-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7c51bba81106e0202d41943927e34a281dc3806b567a9bb314c921a534a19e6
3
+ size 32128881152
openchat-3.6-8b-20240522.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cf3a0e8feca53655e4bffae30c8ae9d67e3f988e8bba512aa7c3f21a5884e30
3
+ size 4988169