bartowski commited on
Commit
6e527b2
1 Parent(s): e314641

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
+ Quintellect-10.7B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Quintellect-10.7B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Quintellect-10.7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Quintellect-10.7B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Quintellect-10.7B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Quintellect-10.7B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Quintellect-10.7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Quintellect-10.7B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Quintellect-10.7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Quintellect-10.7B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Quintellect-10.7B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Quintellect-10.7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Quintellect-10.7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Quintellect-10.7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Quintellect-10.7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Quintellect-10.7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Quintellect-10.7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Quintellect-10.7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Quintellect-10.7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Quintellect-10.7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Quintellect-10.7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Quintellect-10.7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ Quintellect-10.7B-f16.gguf filter=lfs diff=lfs merge=lfs -text
59
+ Quintellect-10.7B.imatrix filter=lfs diff=lfs merge=lfs -text
Quintellect-10.7B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0651a3d8c097e25e2f3e1add837c8f8c1a4ad74e687f040678df4aed9dd3b65
3
+ size 2564741984
Quintellect-10.7B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba43e1ee7b733f1646608571e5b2fb5d6f3035eeef7f047454ec78b2cac82313
3
+ size 2351225696
Quintellect-10.7B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad16f0d7d78530c307114836e88c609604cf34ebf5c50fb0c419007684989d42
3
+ size 3677485920
Quintellect-10.7B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bef81cd410d8b9d7ede0cb0f2bdc71ab0d8c694965acfe822dc7f77b0bc2228
3
+ size 3392797536
Quintellect-10.7B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f02ca70f1a83fc37f6a4dd8289bf6ce1e71d4df7f845a850644eb4c6368d6fc3
3
+ size 3230456672
Quintellect-10.7B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa638cef21aaf5a45d018142c5ac4f1bcec8688653e76d4254d1f0a4375b5c0f
3
+ size 2920602464
Quintellect-10.7B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b80b5f9c1d386b96307ae60ba9faa69aefc454e5e516989de019a0289cf98f0
3
+ size 4845050720
Quintellect-10.7B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e66cba3979fa611522a526c52021c33e93be6774fc36e7e6e2efccac670f08d
3
+ size 4691303264
Quintellect-10.7B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34b04dbe737c2cdcfc77571704f98667cda6e0dfd5f57b89b435e40c1be832ae
3
+ size 4445936480
Quintellect-10.7B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:894aa86641e4f56463fad80f03cc717e807f1f88bf1928aba72185b30291528a
3
+ size 4167433056
Quintellect-10.7B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9012b994a849e222445217384218b838f42276f7619d73a557fd938a93a63f19
3
+ size 6097550176
Quintellect-10.7B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b4a0aae6cd5385dbc3324ac8fb6e01cbd9e4bd00fc6b3954651d7449c68c7ec
3
+ size 5772589920
Quintellect-10.7B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:041cf2d4b36ed145191b091b4ddc214248158a98790946ca057158892caba364
3
+ size 4003232608
Quintellect-10.7B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c75d41c8ea3436a32e5a5e3e72a7f7d72331ae943ff2da97e4db4ebd155d8e5e
3
+ size 5650750304
Quintellect-10.7B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb56a8c8f8ebfadd3f3938c97a1b95986b151f68d6a5f974f9269249b8fc477b
3
+ size 5195668320
Quintellect-10.7B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3f939b31dec0dde9a5d9333b2a107d233b711071ea26ee1467a4c055ebce8a0
3
+ size 4664564576
Quintellect-10.7B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d09812e582fd4501d8f6b6141fc484b83cbc9447a45242a63a4d1dc49a9a8963
3
+ size 6461668192
Quintellect-10.7B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50543ee4b99f4b4de5b56fd123cf4aa8b1e9216f8be949744cfadf2487682a6c
3
+ size 6118521696
Quintellect-10.7B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:669819a4cbc452850f5863cad3fc4d62ed7f321b8805f8ff3ad1b6fe8c99608b
3
+ size 7597931360
Quintellect-10.7B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7e03fd6445fe5b382b8b413ef8660f160966a5111ebc8732ee2c7121dbc4154
3
+ size 7397391200
Quintellect-10.7B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6349ef6a7c0db02279946065306b8acaf6b21b8aced1565a0ca3d3129ca8218d
3
+ size 8805210976
Quintellect-10.7B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3e6ea6fb497300d2803bc733fa2f46b3636ae18225d375cf3297808dcbb71eb
3
+ size 11404155744
Quintellect-10.7B-f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a762d2514dcb77083e41aa615ddfbc44363f690a69ba772d5a47b66ff7225796
3
+ size 21464586848
Quintellect-10.7B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3127fe9261baba45e7a1eb74e5faacc62c4e57be9e74fcde94fc426d70d23aa
3
+ size 7482265
README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - code
5
+ datasets:
6
+ - sahil2801/CodeAlpaca-20k
7
+ language:
8
+ - en
9
+ inference: false
10
+ quantized_by: bartowski
11
+ pipeline_tag: text-generation
12
+ ---
13
+
14
+ ## Llamacpp imatrix Quantizations of Quintellect-10.7B
15
+
16
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2901">b2901</a> for quantization.
17
+
18
+ Original model: https://huggingface.co/Walmart-the-bag/Quintellect-10.7B
19
+
20
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
21
+
22
+ ## Prompt format
23
+
24
+ ```
25
+ {system_prompt}
26
+ Human: {prompt}
27
+ Assistant: </s>
28
+
29
+ ```
30
+
31
+ ## Download a file (not the whole branch) from below:
32
+
33
+ | Filename | Quant type | File Size | Description |
34
+ | -------- | ---------- | --------- | ----------- |
35
+ | [Quintellect-10.7B-Q8_0.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q8_0.gguf) | Q8_0 | 11.40GB | Extremely high quality, generally unneeded but max available quant. |
36
+ | [Quintellect-10.7B-Q6_K.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q6_K.gguf) | Q6_K | 8.80GB | Very high quality, near perfect, *recommended*. |
37
+ | [Quintellect-10.7B-Q5_K_M.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q5_K_M.gguf) | Q5_K_M | 7.59GB | High quality, *recommended*. |
38
+ | [Quintellect-10.7B-Q5_K_S.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q5_K_S.gguf) | Q5_K_S | 7.39GB | High quality, *recommended*. |
39
+ | [Quintellect-10.7B-Q4_K_M.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q4_K_M.gguf) | Q4_K_M | 6.46GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
40
+ | [Quintellect-10.7B-Q4_K_S.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q4_K_S.gguf) | Q4_K_S | 6.11GB | Slightly lower quality with more space savings, *recommended*. |
41
+ | [Quintellect-10.7B-IQ4_NL.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ4_NL.gguf) | IQ4_NL | 6.09GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
42
+ | [Quintellect-10.7B-IQ4_XS.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ4_XS.gguf) | IQ4_XS | 5.77GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
43
+ | [Quintellect-10.7B-Q3_K_L.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q3_K_L.gguf) | Q3_K_L | 5.65GB | Lower quality but usable, good for low RAM availability. |
44
+ | [Quintellect-10.7B-Q3_K_M.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q3_K_M.gguf) | Q3_K_M | 5.19GB | Even lower quality. |
45
+ | [Quintellect-10.7B-IQ3_M.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ3_M.gguf) | IQ3_M | 4.84GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
46
+ | [Quintellect-10.7B-IQ3_S.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ3_S.gguf) | IQ3_S | 4.69GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
47
+ | [Quintellect-10.7B-Q3_K_S.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q3_K_S.gguf) | Q3_K_S | 4.66GB | Low quality, not recommended. |
48
+ | [Quintellect-10.7B-IQ3_XS.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ3_XS.gguf) | IQ3_XS | 4.44GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
49
+ | [Quintellect-10.7B-IQ3_XXS.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ3_XXS.gguf) | IQ3_XXS | 4.16GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
50
+ | [Quintellect-10.7B-Q2_K.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-Q2_K.gguf) | Q2_K | 4.00GB | Very low quality but surprisingly usable. |
51
+ | [Quintellect-10.7B-IQ2_M.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ2_M.gguf) | IQ2_M | 3.67GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
52
+ | [Quintellect-10.7B-IQ2_S.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ2_S.gguf) | IQ2_S | 3.39GB | Very low quality, uses SOTA techniques to be usable. |
53
+ | [Quintellect-10.7B-IQ2_XS.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ2_XS.gguf) | IQ2_XS | 3.23GB | Very low quality, uses SOTA techniques to be usable. |
54
+ | [Quintellect-10.7B-IQ2_XXS.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ2_XXS.gguf) | IQ2_XXS | 2.92GB | Lower quality, uses SOTA techniques to be usable. |
55
+ | [Quintellect-10.7B-IQ1_M.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ1_M.gguf) | IQ1_M | 2.56GB | Extremely low quality, *not* recommended. |
56
+ | [Quintellect-10.7B-IQ1_S.gguf](https://huggingface.co/bartowski/Quintellect-10.7B-GGUF/blob/main/Quintellect-10.7B-IQ1_S.gguf) | IQ1_S | 2.35GB | Extremely low quality, *not* recommended. |
57
+
58
+ ## Downloading using huggingface-cli
59
+
60
+ First, make sure you have hugginface-cli installed:
61
+
62
+ ```
63
+ pip install -U "huggingface_hub[cli]"
64
+ ```
65
+
66
+ Then, you can target the specific file you want:
67
+
68
+ ```
69
+ huggingface-cli download bartowski/Quintellect-10.7B-GGUF --include "Quintellect-10.7B-Q4_K_M.gguf" --local-dir ./ --local-dir-use-symlinks False
70
+ ```
71
+
72
+ 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:
73
+
74
+ ```
75
+ huggingface-cli download bartowski/Quintellect-10.7B-GGUF --include "Quintellect-10.7B-Q8_0.gguf/*" --local-dir Quintellect-10.7B-Q8_0 --local-dir-use-symlinks False
76
+ ```
77
+
78
+ You can either specify a new local-dir (Quintellect-10.7B-Q8_0) or download them all in place (./)
79
+
80
+ ## Which file should I choose?
81
+
82
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
83
+
84
+ 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.
85
+
86
+ 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.
87
+
88
+ 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.
89
+
90
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
91
+
92
+ 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.
93
+
94
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
95
+
96
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
97
+
98
+ 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.
99
+
100
+ 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.
101
+
102
+ 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.
103
+
104
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski