bartowski commited on
Commit
8bc6d85
1 Parent(s): 37efe30

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
+ OpenCerebrum-2.0-7B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ OpenCerebrum-2.0-7B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ OpenCerebrum-2.0-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ OpenCerebrum-2.0-7B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ OpenCerebrum-2.0-7B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ OpenCerebrum-2.0-7B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ OpenCerebrum-2.0-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ OpenCerebrum-2.0-7B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ OpenCerebrum-2.0-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ OpenCerebrum-2.0-7B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ OpenCerebrum-2.0-7B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ OpenCerebrum-2.0-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ OpenCerebrum-2.0-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ OpenCerebrum-2.0-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ OpenCerebrum-2.0-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ OpenCerebrum-2.0-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ OpenCerebrum-2.0-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ OpenCerebrum-2.0-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ OpenCerebrum-2.0-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ OpenCerebrum-2.0-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ OpenCerebrum-2.0-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ OpenCerebrum-2.0-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ OpenCerebrum-2.0-7B.imatrix filter=lfs diff=lfs merge=lfs -text
OpenCerebrum-2.0-7B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5430f095760996addfc88e2f84d75f9bcf52c4faee37132b1bfac148f922196
3
+ size 1754445600
OpenCerebrum-2.0-7B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aac2a84a2f6854bfb871263e714daa1b6a34a57c29943d87fb8228da172869b5
3
+ size 1612101408
OpenCerebrum-2.0-7B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e63c5707db019aced66c797261d5ef177b74627ed30571f1b71f38f50cda76d7
3
+ size 2500712224
OpenCerebrum-2.0-7B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03d50e9ccc44de1e61a6edbb7ba914f0957852d6063fab9f299818cfd28e1951
3
+ size 2310919968
OpenCerebrum-2.0-7B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42748e1175666b8888b67f18f009b458775869439cc5b3692a98d58a7da2e6ce
3
+ size 2198255392
OpenCerebrum-2.0-7B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20ff9a951950505402a081cad83363d0465ae32df7caee56a808418deebc5361
3
+ size 1991685920
OpenCerebrum-2.0-7B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e914aea1cc6a28f0015801397e9f3e07ee0ecef55dcfa95eed62743759fef6ee
3
+ size 3284891424
OpenCerebrum-2.0-7B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1828e60f9471202b6fdcea3b7e9b39df9383e1196e160b29222e10492860d1dd
3
+ size 3182393120
OpenCerebrum-2.0-7B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd390b8e9452a2872768ee456135189bc934ef3bf3eaae2bf7c1f6cefaeceddf
3
+ size 3018815264
OpenCerebrum-2.0-7B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2535c5ce5cc568c7047bd4d0028d9305d7c8450d2865a259e68299515f55d0b0
3
+ size 2827343648
OpenCerebrum-2.0-7B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:605b478d8b74495e1d61488eddb7c2b67307a1fce181d8a531813eea744ede09
3
+ size 4125693728
OpenCerebrum-2.0-7B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:079ec847475774937e2186886ad1b47e1c685058e36a60ceebffecef8cd3824d
3
+ size 3907688224
OpenCerebrum-2.0-7B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0da2214cdb4a8be6d75e9cd8066279a2ec802ad78b11660eb4462b89f8ca55f0
3
+ size 2719242016
OpenCerebrum-2.0-7B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:190c8c8fca9c49702612489391d0225d523f08e9b09993cdf2a8e079d7083ef6
3
+ size 3822024480
OpenCerebrum-2.0-7B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8393898efd03b67df3950c90282d95c443f2640ad2ab2f4988dc598b4fc69d20
3
+ size 3518986016
OpenCerebrum-2.0-7B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ff587873c074e6fd87471a6c8e03e1a57313d8028e642a481a432ecdfcab584
3
+ size 3164567328
OpenCerebrum-2.0-7B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d9779b22f5932c2598ff87338f5a276df5f71b40be3ec7c9376d4774ecd1152
3
+ size 4368439072
OpenCerebrum-2.0-7B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d50c005e4fa6e45c8d5787ba2c89f73c144b9e51de5bcdc8758b9bd3136dd608
3
+ size 4140373792
OpenCerebrum-2.0-7B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:617f29c592805a7338a18f223504b0d23a9e99a2138ef21c9216ab9955d9c88b
3
+ size 5131409184
OpenCerebrum-2.0-7B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:519ac52834dac0fb0d7d513c148fb0abe723fbf9befe0ac022062e81565c5fb5
3
+ size 4997715744
OpenCerebrum-2.0-7B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e78b0a8daf7a802d8c79d86b59c95b18878cd79c6c47fde610f0fafc9139cfad
3
+ size 5942064928
OpenCerebrum-2.0-7B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5bc3c598997d2212f07f838c6c6db4a3de9c7b6bec4dded59c99213c3ddec0e
3
+ size 7695857440
OpenCerebrum-2.0-7B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06038329ec0d0018003de9b99000334b6b4edae64689b477e83a77b45d1c96e1
3
+ size 4988126
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - open-source
7
+ - code
8
+ - math
9
+ - chemistry
10
+ - biology
11
+ - text-generation
12
+ - question-answering
13
+ pipeline_tag: text-generation
14
+ quantized_by: bartowski
15
+ ---
16
+
17
+ ## Llamacpp Quantizations of OpenCerebrum-2.0-7B
18
+
19
+ 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.
20
+
21
+ Original model: https://huggingface.co/Locutusque/OpenCerebrum-2.0-7B
22
+
23
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
24
+
25
+ ## Prompt format
26
+
27
+ No chat template specified so default is used. This may be incorrect, check original model card for details.
28
+
29
+ ```
30
+ <s> [INST] <<SYS>>
31
+ {system_prompt}
32
+ <</SYS>>
33
+
34
+ {prompt} [/INST] </s>
35
+ ```
36
+
37
+ ## Download a file (not the whole branch) from below:
38
+
39
+ | Filename | Quant type | File Size | Description |
40
+ | -------- | ---------- | --------- | ----------- |
41
+ | [OpenCerebrum-2.0-7B-Q8_0.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q8_0.gguf) | Q8_0 | 7.69GB | Extremely high quality, generally unneeded but max available quant. |
42
+ | [OpenCerebrum-2.0-7B-Q6_K.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
43
+ | [OpenCerebrum-2.0-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
44
+ | [OpenCerebrum-2.0-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q5_K_S.gguf) | Q5_K_S | 4.99GB | High quality, *recommended*. |
45
+ | [OpenCerebrum-2.0-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q4_K_M.gguf) | Q4_K_M | 4.36GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
46
+ | [OpenCerebrum-2.0-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
47
+ | [OpenCerebrum-2.0-7B-IQ4_NL.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ4_NL.gguf) | IQ4_NL | 4.12GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
48
+ | [OpenCerebrum-2.0-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ4_XS.gguf) | IQ4_XS | 3.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
49
+ | [OpenCerebrum-2.0-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
50
+ | [OpenCerebrum-2.0-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q3_K_M.gguf) | Q3_K_M | 3.51GB | Even lower quality. |
51
+ | [OpenCerebrum-2.0-7B-IQ3_M.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
52
+ | [OpenCerebrum-2.0-7B-IQ3_S.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-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. |
53
+ | [OpenCerebrum-2.0-7B-Q3_K_S.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
54
+ | [OpenCerebrum-2.0-7B-IQ3_XS.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ3_XS.gguf) | IQ3_XS | 3.01GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
55
+ | [OpenCerebrum-2.0-7B-IQ3_XXS.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ3_XXS.gguf) | IQ3_XXS | 2.82GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
56
+ | [OpenCerebrum-2.0-7B-Q2_K.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-Q2_K.gguf) | Q2_K | 2.71GB | Very low quality but surprisingly usable. |
57
+ | [OpenCerebrum-2.0-7B-IQ2_M.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
58
+ | [OpenCerebrum-2.0-7B-IQ2_S.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
59
+ | [OpenCerebrum-2.0-7B-IQ2_XS.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ2_XS.gguf) | IQ2_XS | 2.19GB | Very low quality, uses SOTA techniques to be usable. |
60
+ | [OpenCerebrum-2.0-7B-IQ2_XXS.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ2_XXS.gguf) | IQ2_XXS | 1.99GB | Lower quality, uses SOTA techniques to be usable. |
61
+ | [OpenCerebrum-2.0-7B-IQ1_M.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ1_M.gguf) | IQ1_M | 1.75GB | Extremely low quality, *not* recommended. |
62
+ | [OpenCerebrum-2.0-7B-IQ1_S.gguf](https://huggingface.co/bartowski/OpenCerebrum-2.0-7B-GGUF/blob/main/OpenCerebrum-2.0-7B-IQ1_S.gguf) | IQ1_S | 1.61GB | Extremely low quality, *not* recommended. |
63
+
64
+ ## Which file should I choose?
65
+
66
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
67
+
68
+ 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.
69
+
70
+ 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.
71
+
72
+ 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.
73
+
74
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
75
+
76
+ 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.
77
+
78
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
79
+
80
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
81
+
82
+ 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.
83
+
84
+ 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.
85
+
86
+ 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.
87
+
88
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski