bartowski commited on
Commit
dc631f4
1 Parent(s): 32cc125

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,28 @@ 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
+ aya-23-35B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ aya-23-35B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ aya-23-35B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ aya-23-35B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ aya-23-35B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ aya-23-35B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ aya-23-35B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ aya-23-35B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ aya-23-35B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ aya-23-35B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ aya-23-35B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ aya-23-35B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ aya-23-35B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ aya-23-35B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ aya-23-35B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ aya-23-35B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ aya-23-35B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ aya-23-35B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ aya-23-35B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ aya-23-35B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ aya-23-35B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ aya-23-35B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ aya-23-35B-f16.gguf/aya-23-35B-f16-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
59
+ aya-23-35B-f16.gguf/aya-23-35B-f16-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
60
+ aya-23-35B.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ language:
4
+ - en
5
+ - fr
6
+ - de
7
+ - es
8
+ - it
9
+ - pt
10
+ - ja
11
+ - ko
12
+ - zh
13
+ - ar
14
+ - el
15
+ - fa
16
+ - pl
17
+ - id
18
+ - cs
19
+ - he
20
+ - hi
21
+ - nl
22
+ - ro
23
+ - ru
24
+ - tr
25
+ - uk
26
+ - vi
27
+ license: cc-by-nc-4.0
28
+ quantized_by: bartowski
29
+ pipeline_tag: text-generation
30
+ ---
31
+
32
+ ## Llamacpp imatrix Quantizations of aya-23-35B
33
+
34
+ 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.
35
+
36
+ Original model: https://huggingface.co/CohereForAI/aya-23-35B
37
+
38
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
39
+
40
+ ## Prompt format
41
+
42
+ ```
43
+ <BOS_TOKEN><|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>{system_prompt}<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|USER_TOKEN|>{prompt}<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|><|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>
44
+ ```
45
+
46
+ ## Download a file (not the whole branch) from below:
47
+
48
+ | Filename | Quant type | File Size | Description |
49
+ | -------- | ---------- | --------- | ----------- |
50
+ | [aya-23-35B-Q8_0.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q8_0.gguf) | Q8_0 | 37.17GB | Extremely high quality, generally unneeded but max available quant. |
51
+ | [aya-23-35B-Q6_K.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q6_K.gguf) | Q6_K | 28.70GB | Very high quality, near perfect, *recommended*. |
52
+ | [aya-23-35B-Q5_K_M.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q5_K_M.gguf) | Q5_K_M | 25.00GB | High quality, *recommended*. |
53
+ | [aya-23-35B-Q5_K_S.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q5_K_S.gguf) | Q5_K_S | 24.33GB | High quality, *recommended*. |
54
+ | [aya-23-35B-Q4_K_M.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q4_K_M.gguf) | Q4_K_M | 21.52GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
55
+ | [aya-23-35B-Q4_K_S.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q4_K_S.gguf) | Q4_K_S | 20.37GB | Slightly lower quality with more space savings, *recommended*. |
56
+ | [aya-23-35B-IQ4_NL.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ4_NL.gguf) | IQ4_NL | 20.22GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
57
+ | [aya-23-35B-IQ4_XS.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ4_XS.gguf) | IQ4_XS | 19.20GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
58
+ | [aya-23-35B-Q3_K_L.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q3_K_L.gguf) | Q3_K_L | 19.14GB | Lower quality but usable, good for low RAM availability. |
59
+ | [aya-23-35B-Q3_K_M.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q3_K_M.gguf) | Q3_K_M | 17.61GB | Even lower quality. |
60
+ | [aya-23-35B-IQ3_M.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ3_M.gguf) | IQ3_M | 16.69GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
61
+ | [aya-23-35B-IQ3_S.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ3_S.gguf) | IQ3_S | 15.86GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
62
+ | [aya-23-35B-Q3_K_S.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q3_K_S.gguf) | Q3_K_S | 15.86GB | Low quality, not recommended. |
63
+ | [aya-23-35B-IQ3_XS.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ3_XS.gguf) | IQ3_XS | 15.09GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
64
+ | [aya-23-35B-IQ3_XXS.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ3_XXS.gguf) | IQ3_XXS | 13.83GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
65
+ | [aya-23-35B-Q2_K.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-Q2_K.gguf) | Q2_K | 13.81GB | Very low quality but surprisingly usable. |
66
+ | [aya-23-35B-IQ2_M.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ2_M.gguf) | IQ2_M | 12.67GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
67
+ | [aya-23-35B-IQ2_S.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ2_S.gguf) | IQ2_S | 11.84GB | Very low quality, uses SOTA techniques to be usable. |
68
+ | [aya-23-35B-IQ2_XS.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ2_XS.gguf) | IQ2_XS | 11.10GB | Very low quality, uses SOTA techniques to be usable. |
69
+ | [aya-23-35B-IQ2_XXS.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ2_XXS.gguf) | IQ2_XXS | 10.18GB | Lower quality, uses SOTA techniques to be usable. |
70
+ | [aya-23-35B-IQ1_M.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ1_M.gguf) | IQ1_M | 9.14GB | Extremely low quality, *not* recommended. |
71
+ | [aya-23-35B-IQ1_S.gguf](https://huggingface.co/bartowski/aya-23-35B-GGUF/blob/main/aya-23-35B-IQ1_S.gguf) | IQ1_S | 8.52GB | Extremely low quality, *not* recommended. |
72
+
73
+ ## Downloading using huggingface-cli
74
+
75
+ First, make sure you have hugginface-cli installed:
76
+
77
+ ```
78
+ pip install -U "huggingface_hub[cli]"
79
+ ```
80
+
81
+ Then, you can target the specific file you want:
82
+
83
+ ```
84
+ huggingface-cli download bartowski/aya-23-35B-GGUF --include "aya-23-35B-Q4_K_M.gguf" --local-dir ./
85
+ ```
86
+
87
+ 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:
88
+
89
+ ```
90
+ huggingface-cli download bartowski/aya-23-35B-GGUF --include "aya-23-35B-Q8_0.gguf/*" --local-dir aya-23-35B-Q8_0
91
+ ```
92
+
93
+ You can either specify a new local-dir (aya-23-35B-Q8_0) or download them all in place (./)
94
+
95
+ ## Which file should I choose?
96
+
97
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
98
+
99
+ 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.
100
+
101
+ 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.
102
+
103
+ 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.
104
+
105
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
106
+
107
+ 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.
108
+
109
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
110
+
111
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
112
+
113
+ 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.
114
+
115
+ 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.
116
+
117
+ 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.
118
+
119
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
aya-23-35B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e76465f5241d4d382eab7e04819c94b2fdacea73809a7391dc51f7caa099d182
3
+ size 9146645408
aya-23-35B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35f61234deb0a9f974bd2ef17ee912167d922406590310031bf3d8d2cdb4fc3d
3
+ size 8523398048
aya-23-35B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9651718be738c287a8b11f215f06e88ec07a7914d30a7f6e6ec69165f6075ad3
3
+ size 12675103648
aya-23-35B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a46e37f07fa8a57f7b8e9a65383b1921bdc02004d85b329580ed8df3d95ec4e
3
+ size 11844107168
aya-23-35B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8282667cfd17554e55bfeb9288937301ab2ffb144d25a9736db8d61db21d696f
3
+ size 11100273568
aya-23-35B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:913808530eb831f35ac36d9d4cf65fe7eb345e355150904dec9c1f54e943388e
3
+ size 10185391008
aya-23-35B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e23240a0351c185a408373f56c7a5135f6f2282aa98c9d29ace766a763acae
3
+ size 16697703328
aya-23-35B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f8df82898a67fd44531ad17fa93aeb9323e7c9ed9256205fdbffa8043506274
3
+ size 15862119328
aya-23-35B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee75dfdf554f7d2f4e6c125011bc85d2b2614467ba7199c8ce3ea869a26e26e9
3
+ size 15091415968
aya-23-35B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e7122ac9499cad9b37ef9a2754bc4be988f83e56b8d3c90958668b416879353
3
+ size 13832469408
aya-23-35B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83e6a9d448b35067eb2c572b78a3d3a96eabe8becc52de751604ce8c94d9d2f0
3
+ size 20229438368
aya-23-35B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b235a1897e5dffe45933821de1cc4354fcda5e621443480b8e2c37bb74ffd46c
3
+ size 19201833888
aya-23-35B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd1f2cdb77d71f8700d254da79727dfa1dc4db76b95688be3d47d2c61c2ad3ab
3
+ size 13817396128
aya-23-35B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5775f2e473419f90d57abce53ac2d00405deb1f22d30f9922154c4e72dc00f4c
3
+ size 19149405088
aya-23-35B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57b296e7372bc492d359c789269e0b14d0ad97b1cdbc34d415ce559a29716485
3
+ size 17618484128
aya-23-35B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a4c81853a4699c30322135add852e99660dafeed905d1c5b3bde772d27a2082
3
+ size 15862119328
aya-23-35B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57824768c1a945e21e028c8e9a29b39adb4838d489f5865c82601ab9ad98065d
3
+ size 21527051168
aya-23-35B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3abc770bd63e8db545650a64b6d50093c2afea37ff20d5b22b394e1afeab0476
3
+ size 20378336160
aya-23-35B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b58c53e70164e680b0947d8fe18b49813b81c4ea7d04b27c24d4025cfe826a1
3
+ size 25008323488
aya-23-35B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2faeaec4fbb43ccb2a436c97e5c130d720e3536fa910de29e5ab00218830d18
3
+ size 24339856288
aya-23-35B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:910c6a87b988de8e725fec17c8267bcaae501a3900aad25364c6fead2a9a82cc
3
+ size 28707175328
aya-23-35B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcdae2806f90f540cbed18e0de01a0ef930c472e236ac43347aefa6e7df6e0d0
3
+ size 37179014048
aya-23-35B-f16.gguf/aya-23-35B-f16-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65198abed252839f08a1c996ce77035f647c42f804d6dfa91d809c7bb0161a9b
3
+ size 42760018784
aya-23-35B-f16.gguf/aya-23-35B-f16-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:362dc284017c749a9d1e4c902da484c16c28271e5c270d3592239e2db9048ce9
3
+ size 27213209632
aya-23-35B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dcddf03d8b2ec1a81abe14e8cd57c838481bd4e9072685591a3e5744d367ae9
3
+ size 11478097