bartowski commited on
Commit
9643675
0 Parent(s):

Duplicate from bartowski/aya-23-8B-GGUF

Browse files
.gitattributes ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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-8B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ aya-23-8B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ aya-23-8B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ aya-23-8B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ aya-23-8B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ aya-23-8B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ aya-23-8B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ aya-23-8B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ aya-23-8B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ aya-23-8B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ aya-23-8B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ aya-23-8B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ aya-23-8B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ aya-23-8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ aya-23-8B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ aya-23-8B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ aya-23-8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ aya-23-8B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ aya-23-8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ aya-23-8B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ aya-23-8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ aya-23-8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ aya-23-8B-f16.gguf filter=lfs diff=lfs merge=lfs -text
59
+ aya-23-8B.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-8B
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-8B
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-8B-Q8_0.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
51
+ | [aya-23-8B-Q6_K.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
52
+ | [aya-23-8B-Q5_K_M.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q5_K_M.gguf) | Q5_K_M | 5.80GB | High quality, *recommended*. |
53
+ | [aya-23-8B-Q5_K_S.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q5_K_S.gguf) | Q5_K_S | 5.66GB | High quality, *recommended*. |
54
+ | [aya-23-8B-Q4_K_M.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q4_K_M.gguf) | Q4_K_M | 5.05GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
55
+ | [aya-23-8B-Q4_K_S.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q4_K_S.gguf) | Q4_K_S | 4.82GB | Slightly lower quality with more space savings, *recommended*. |
56
+ | [aya-23-8B-IQ4_NL.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ4_NL.gguf) | IQ4_NL | 4.81GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
57
+ | [aya-23-8B-IQ4_XS.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ4_XS.gguf) | IQ4_XS | 4.60GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
58
+ | [aya-23-8B-Q3_K_L.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q3_K_L.gguf) | Q3_K_L | 4.52GB | Lower quality but usable, good for low RAM availability. |
59
+ | [aya-23-8B-Q3_K_M.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q3_K_M.gguf) | Q3_K_M | 4.22GB | Even lower quality. |
60
+ | [aya-23-8B-IQ3_M.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ3_M.gguf) | IQ3_M | 3.99GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
61
+ | [aya-23-8B-IQ3_S.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ3_S.gguf) | IQ3_S | 3.88GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
62
+ | [aya-23-8B-Q3_K_S.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q3_K_S.gguf) | Q3_K_S | 3.87GB | Low quality, not recommended. |
63
+ | [aya-23-8B-IQ3_XS.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ3_XS.gguf) | IQ3_XS | 3.72GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
64
+ | [aya-23-8B-IQ3_XXS.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ3_XXS.gguf) | IQ3_XXS | 3.41GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
65
+ | [aya-23-8B-Q2_K.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-Q2_K.gguf) | Q2_K | 3.43GB | Very low quality but surprisingly usable. |
66
+ | [aya-23-8B-IQ2_M.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ2_M.gguf) | IQ2_M | 3.08GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
67
+ | [aya-23-8B-IQ2_S.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ2_S.gguf) | IQ2_S | 2.89GB | Very low quality, uses SOTA techniques to be usable. |
68
+ | [aya-23-8B-IQ2_XS.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ2_XS.gguf) | IQ2_XS | 2.79GB | Very low quality, uses SOTA techniques to be usable. |
69
+ | [aya-23-8B-IQ2_XXS.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ2_XXS.gguf) | IQ2_XXS | 2.58GB | Lower quality, uses SOTA techniques to be usable. |
70
+ | [aya-23-8B-IQ1_M.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ1_M.gguf) | IQ1_M | 2.35GB | Extremely low quality, *not* recommended. |
71
+ | [aya-23-8B-IQ1_S.gguf](https://huggingface.co/bartowski/aya-23-8B-GGUF/blob/main/aya-23-8B-IQ1_S.gguf) | IQ1_S | 2.20GB | 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-8B-GGUF --include "aya-23-8B-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-8B-GGUF --include "aya-23-8B-Q8_0.gguf/*" --local-dir aya-23-8B-Q8_0
91
+ ```
92
+
93
+ You can either specify a new local-dir (aya-23-8B-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-8B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31f3e2a454dea8a1da6258c31ef8c6f3ef800b48625a3a03ab7adb11b337bb24
3
+ size 2351852672
aya-23-8B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37b4c3ba82b7ec71b668fa4bd20dfab6b9dee4b2e3a0f7b094f8c6fb04c4da59
3
+ size 2209508480
aya-23-8B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f583f008d4c400f1c1f2df2e451c30bad299f7d6c0ec61bbe481c56f98637300
3
+ size 3084807296
aya-23-8B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a5928252d661b91aaab13702f921320b88f5316cbda256241e54ded7a596a00
3
+ size 2895015040
aya-23-8B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ae63997dc60da934262de692f75b1d6185451aabb31f8a4e369b41bb855189b
3
+ size 2795662464
aya-23-8B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bd02c6fcfdc6eaa3ebfe595a2f447c622cb622bd79c51125a0bbdca9195ea2f
3
+ size 2589092992
aya-23-8B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:277024090028e669e62ea779b058fb9afc1a359a818d6364ee932a23056bc570
3
+ size 3990842496
aya-23-8B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38f4022112cfe8a49eb0a50adc7e02102a74895ea03a565d5967c838b6c6b532
3
+ size 3888344192
aya-23-8B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3074ec47014eede241f51ba86388c46bcbfb427773bd75500176904e4ceb3dd
3
+ size 3724766336
aya-23-8B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d07210479d143e57c5ed1e7f91a44b79b0b46a8b223a000bfb1abe46f1dbe342
3
+ size 3411438720
aya-23-8B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21ce1309e1bf54b407e153d9cc6df5f6ec3acfe1176783e343b3877f481560be
3
+ size 4814236800
aya-23-8B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3cea2f33ce643d55c475bfed70b66f1e92359cc3db62de859695151316cad9d
3
+ size 4600327296
aya-23-8B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6244adc06faea87cc000b409291fd89078e5e5e2fe739c41c5d31638a7edaf92
3
+ size 3438505088
aya-23-8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:accf3a9bba04a22c05ad82917926bd954a59e3e59bfa9d530867b637e83f46d8
3
+ size 4527975552
aya-23-8B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85fcc6190104dfbd02900aba05e2647f5434179caab7fde36c94823ae3bf2a0b
3
+ size 4224937088
aya-23-8B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75aa0a2eb7276207f61ee64d855d15142b7af61c9fc5f02bca34fc65c1c616bc
3
+ size 3870518400
aya-23-8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21b3aa3abf067f78f6fe08deb80660cc4ee8ad7b4ab873a98d87761f9f858b0f
3
+ size 5056982144
aya-23-8B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5988a8a9d1006fd746a78607803b9f0f164eceb94354a7efab371fb6d036d414
3
+ size 4828916864
aya-23-8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15cc968a4896e4fd11da19c54ab644f61db67be532ef6ca72b0d82b16a4890c2
3
+ size 5803568256
aya-23-8B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f3663c6afeab1526047ee82f7503a9c8e1cb678553427b80ecb5709622e8e95
3
+ size 5669874816
aya-23-8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aafa47808e5c4efb6bbc9f4f63cf009bfe27054cb8cf5fdfd38442174cc71dba
3
+ size 6596816000
aya-23-8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5b5c5602453793daa9c44b7b85db21ef7a2539cf3ed339ca2f9a9b2f4545d8d
3
+ size 8541072512
aya-23-8B-f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85cb318c02ead3c3b7dad8c52e0cf418f06dd56b7665fafda894f5b306c9527e
3
+ size 16067226496
aya-23-8B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83dff64ddbf041e9a35337811cd8fc4328650f42427c890fcc0b7d2fbe00e280
3
+ size 4988169