bartowski commited on
Commit
d25fd75
1 Parent(s): 764e0d2

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,25 @@ 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
+ Poro-34B-chat-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Poro-34B-chat-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Poro-34B-chat-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Poro-34B-chat-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Poro-34B-chat-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Poro-34B-chat-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Poro-34B-chat-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Poro-34B-chat-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Poro-34B-chat-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Poro-34B-chat-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Poro-34B-chat-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Poro-34B-chat-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Poro-34B-chat-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Poro-34B-chat-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Poro-34B-chat-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Poro-34B-chat-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Poro-34B-chat-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00001-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00002-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00003-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00004-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Poro-34B-chat.imatrix filter=lfs diff=lfs merge=lfs -text
Poro-34B-chat-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13b3511d79a8f28fa6baf640386fe073c0bf4a48d40ae1326991643f00269c66
3
+ size 14797953824
Poro-34B-chat-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aba3e05b7f4cea0c75292a3c5f525be0e9254bb8996c3b795eefa69b3f69e472
3
+ size 13882743584
Poro-34B-chat-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:215ccb2d3cfa0edd013362d7af87ffb224dd82eb252ca64a4ceffd6104556592
3
+ size 13367335712
Poro-34B-chat-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d825bdefb5fec0325e7fddf7a2630747db56e6b0b827dcb7db53a470a3718a09
3
+ size 19638934304
Poro-34B-chat-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32ccab290f38d97e09f87e9c2df7353267bd02a6405ffdefdb2686d1da2ffc22
3
+ size 17606204192
Poro-34B-chat-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c4125c9ad457a30ea0f87e796c7d2f01d01e60e5ebfab927f83bb8e5eb174db
3
+ size 16570571552
Poro-34B-chat-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cdee2717ebb862b35d0a3b6625f7b724cc6b222ae6c4dfbb842884ea3de57a0
3
+ size 21382650656
Poro-34B-chat-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a674f24e5feb369b7f24857fb8a26e58c978bc1183a86b58846c69761d4898a5
3
+ size 16028670752
Poro-34B-chat-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d24dd1f2deb983b23cf0c70359c646c8c6303429679b8c49268e8436905af64
3
+ size 22683212576
Poro-34B-chat-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa5c7e83871e0eeafbe2bb0aca7f5f3aef23fe9ce2ea7af29135306a767eb647
3
+ size 21026200352
Poro-34B-chat-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:279de41632f56cdab19bf8b661354a0c4d5a5d064420ed15bd264cbfdd098cc6
3
+ size 18001189664
Poro-34B-chat-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6b5a77fbb9d0eb869af3acd8b63a8ef2f41d943f3d1d8869b1b02fed2d8e4f2
3
+ size 24841181984
Poro-34B-chat-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6670045933f5954727fb8f8cdb057fa6fa559d387c87529c95f8e3d00fe0b66
3
+ size 22577240864
Poro-34B-chat-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40ddb1c40f4cf9467b48bda4fb208c9fadff3c71bb081d6fe7646a2ce3e03665
3
+ size 28400065312
Poro-34B-chat-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8353d7a56e40ba224fa6372f32f70df5e0208577c14b3651362bd0d5436c531
3
+ size 26584898336
Poro-34B-chat-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96a4423008f06935040c5da3e688e2fae23cba5093c9838d36bbbdc215af8581
3
+ size 31006808864
Poro-34B-chat-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5844a158f848dc123f500b68fa1e3dd9bf93c3291007f1443e01b302b51b21cc
3
+ size 39070292768
Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00001-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71d79d70f6671e8771643fe58ae03c84ecfdab2fd7e21e00ded99dc60a7aa795
3
+ size 39411003136
Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00002-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79576ffb78a2b066749ce8fe43002c3f28bc50eff08aacfffdce0b8c6019a883
3
+ size 39465986688
Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00003-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97ae46584efcaa360ebecdd3cdfe5239ee87d3ae95ad2adea983d13244e44d92
3
+ size 39465986688
Poro-34B-chat-f32.gguf/Poro-34B-chat-f32-00004-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4e3a969193b7556609430bd24f814478ea4760b683679fd608825cd20ec1db9
3
+ size 22199588832
Poro-34B-chat.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63d95fc266f91cd56ab353d3da6b2eb921a9751efe2721d16b5a760747029e82
3
+ size 10845423
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - LumiOpen/instruction-collection-fin
5
+ language:
6
+ - fi
7
+ - en
8
+ quantized_by: bartowski
9
+ pipeline_tag: text-generation
10
+ ---
11
+
12
+ ## Llamacpp imatrix Quantizations of Poro-34B-chat
13
+
14
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3152">b3152</a> for quantization.
15
+
16
+ Original model: https://huggingface.co/LumiOpen/Poro-34B-chat
17
+
18
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
19
+
20
+ ## Prompt format
21
+
22
+ ```
23
+ <|im_start|>system
24
+ {system_prompt}<|im_end|>
25
+ <|im_start|>user
26
+ {prompt}<|im_end|>
27
+ <|im_start|>assistant
28
+
29
+ ```
30
+
31
+ ## Download a file (not the whole branch) from below:
32
+
33
+ | Filename | Quant type | File Size | Description |
34
+ | -------- | ---------- | --------- | ----------- |
35
+ | [Poro-34B-chat-Q8_0.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q8_0.gguf) | Q8_0 | 39.07GB | Extremely high quality, generally unneeded but max available quant. |
36
+ | [Poro-34B-chat-Q6_K.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q6_K.gguf) | Q6_K | 31.00GB | Very high quality, near perfect, *recommended*. |
37
+ | [Poro-34B-chat-Q5_K_M.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q5_K_M.gguf) | Q5_K_M | 28.40GB | High quality, *recommended*. |
38
+ | [Poro-34B-chat-Q5_K_S.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q5_K_S.gguf) | Q5_K_S | 26.58GB | High quality, *recommended*. |
39
+ | [Poro-34B-chat-Q4_K_M.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q4_K_M.gguf) | Q4_K_M | 24.84GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
40
+ | [Poro-34B-chat-Q4_K_S.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q4_K_S.gguf) | Q4_K_S | 22.57GB | Slightly lower quality with more space savings, *recommended*. |
41
+ | [Poro-34B-chat-IQ4_XS.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-IQ4_XS.gguf) | IQ4_XS | 21.38GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
42
+ | [Poro-34B-chat-Q3_K_L.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q3_K_L.gguf) | Q3_K_L | 22.68GB | Lower quality but usable, good for low RAM availability. |
43
+ | [Poro-34B-chat-Q3_K_M.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q3_K_M.gguf) | Q3_K_M | 21.02GB | Even lower quality. |
44
+ | [Poro-34B-chat-IQ3_M.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-IQ3_M.gguf) | IQ3_M | 19.63GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
45
+ | [Poro-34B-chat-Q3_K_S.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q3_K_S.gguf) | Q3_K_S | 18.00GB | Low quality, not recommended. |
46
+ | [Poro-34B-chat-IQ3_XS.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-IQ3_XS.gguf) | IQ3_XS | 17.60GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
47
+ | [Poro-34B-chat-IQ3_XXS.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-IQ3_XXS.gguf) | IQ3_XXS | 16.57GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
48
+ | [Poro-34B-chat-Q2_K.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-Q2_K.gguf) | Q2_K | 16.02GB | Very low quality but surprisingly usable. |
49
+ | [Poro-34B-chat-IQ2_M.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-IQ2_M.gguf) | IQ2_M | 14.79GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
50
+ | [Poro-34B-chat-IQ2_S.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-IQ2_S.gguf) | IQ2_S | 13.88GB | Very low quality, uses SOTA techniques to be usable. |
51
+ | [Poro-34B-chat-IQ2_XS.gguf](https://huggingface.co/bartowski/Poro-34B-chat-GGUF/blob/main/Poro-34B-chat-IQ2_XS.gguf) | IQ2_XS | 13.36GB | Very low quality, uses SOTA techniques to be usable. |
52
+
53
+ ## Downloading using huggingface-cli
54
+
55
+ First, make sure you have hugginface-cli installed:
56
+
57
+ ```
58
+ pip install -U "huggingface_hub[cli]"
59
+ ```
60
+
61
+ Then, you can target the specific file you want:
62
+
63
+ ```
64
+ huggingface-cli download bartowski/Poro-34B-chat-GGUF --include "Poro-34B-chat-Q4_K_M.gguf" --local-dir ./
65
+ ```
66
+
67
+ 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:
68
+
69
+ ```
70
+ huggingface-cli download bartowski/Poro-34B-chat-GGUF --include "Poro-34B-chat-Q8_0.gguf/*" --local-dir Poro-34B-chat-Q8_0
71
+ ```
72
+
73
+ You can either specify a new local-dir (Poro-34B-chat-Q8_0) or download them all in place (./)
74
+
75
+ ## Which file should I choose?
76
+
77
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
78
+
79
+ 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.
80
+
81
+ 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.
82
+
83
+ 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.
84
+
85
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
86
+
87
+ 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.
88
+
89
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
90
+
91
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
92
+
93
+ 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.
94
+
95
+ 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.
96
+
97
+ 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.
98
+
99
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski