bartowski commited on
Commit
cda6a7c
1 Parent(s): d92cab9

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
+ HelpingAI-9B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ HelpingAI-9B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ HelpingAI-9B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ HelpingAI-9B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ HelpingAI-9B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ HelpingAI-9B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ HelpingAI-9B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ HelpingAI-9B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ HelpingAI-9B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ HelpingAI-9B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ HelpingAI-9B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ HelpingAI-9B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ HelpingAI-9B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ HelpingAI-9B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ HelpingAI-9B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ HelpingAI-9B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ HelpingAI-9B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ HelpingAI-9B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ HelpingAI-9B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ HelpingAI-9B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ HelpingAI-9B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ HelpingAI-9B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ HelpingAI-9B-f32.gguf filter=lfs diff=lfs merge=lfs -text
59
+ HelpingAI-9B.imatrix filter=lfs diff=lfs merge=lfs -text
HelpingAI-9B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b5f3e976ac33c5df1f69a2a15c41a1c8fc33ac6340013961789cd8bd639d088
3
+ size 2181640800
HelpingAI-9B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:575dfef593fd78bff61deda2f0788d618db9b28b8eb47eb60061fa2ff4d68f18
3
+ size 2014573152
HelpingAI-9B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f928fdf60fb40a90afebac92dfbda17b7de03de790aa02a699645099c062f286
3
+ size 3098112608
HelpingAI-9B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a07b400efd1e9a1d27c088c9cc383d29d64f6a4695ff9fcfa0421b41682810a5
3
+ size 2875355744
HelpingAI-9B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:937427b7ee082b08d8cf29d5345f00b1e22ccff7cce8f914f520ddb48ebf8068
3
+ size 2708009568
HelpingAI-9B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d33d8484e02afcb677a37ca74aa885dda5a3c5290bfaa7e5cb3e057ddf331ad
3
+ size 2460086880
HelpingAI-9B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c2ff4327c243a5214d5e7ad5b4943799511804381836482afe6fcf450524958
3
+ size 4055462496
HelpingAI-9B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4573f409cf080508413f7970bd467c10cf7fa45301a8fcf63161384ffcbbd51f
3
+ size 3912577632
HelpingAI-9B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c0db9ee11509088c39f6186d6bd4574c08da3e1a9fb0700de4f767c4d1ba86a
3
+ size 3717935712
HelpingAI-9B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:993830ec1b5f895d9fb0a646c647039b0b3b283d6c6a867d812025c4601fdd1f
3
+ size 3474322016
HelpingAI-9B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8eef2385659a560c3460ba5d04b525ae87ecf50803305867d1f27c1d6520891e
3
+ size 5049578080
HelpingAI-9B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c4e5b1474236004dda7d4890c2fa142106452252a5a8a98d28f63e0e9df6a09
3
+ size 4785009248
HelpingAI-9B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:599e5fbf608962ecf724bf4eee218b7b83066b9ebbecf682168a0f4087870e78
3
+ size 3354325600
HelpingAI-9B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99e1a9697d82640c4705e38ccb45cab2b8c65198e80ef5839edd5dc25a9f4ca8
3
+ size 4690752096
HelpingAI-9B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7683c56279f52c713f0756e086cfc40ba511d98564963919a239808c42b088e1
3
+ size 4324405856
HelpingAI-9B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b0dfea805b2649a9c1dbc3e939e0ca01501f86b020d8e61d36943715b0125be
3
+ size 3899208288
HelpingAI-9B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe4cba4f27a95375eaa5dcee1e2ffe2cfcf3d125f1c0dff66972eeb38e45e2dd
3
+ size 5328958048
HelpingAI-9B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b3ae24f3e10e4ebe75e67e7e6a211f7725c2b67cd01d18f1aa7c3b5d31be4a7
3
+ size 5071860320
HelpingAI-9B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b9d0c93abddcf6c1f35c5afc13c497e45671768f97708dc793e37a64ba85b53
3
+ size 6258258528
HelpingAI-9B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5452077c0dbc42a0688f6af583473655aa936b742e485b7f1bfe0b639e4bc8f0
3
+ size 6107853408
HelpingAI-9B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a9dc0fc1d30d06f524481f811d46d180589d5d340ec9e57d1fc4ea18cada972
3
+ size 7245640288
HelpingAI-9B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1db5d739a8a13dfe0fba5fdacb3cb9e93e95c9069a4e2629b96c566a5c57a98
3
+ size 9383916128
HelpingAI-9B-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce1644beb81a3293cac171d8d32c3a299720bb632d660729854a6f8cb8e7fdf3
3
+ size 35319132512
HelpingAI-9B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36190a238f69d952d5850230aefdd48bc83840bd180208f7e5186754a034c468
3
+ size 6843289
README.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: hsul
4
+ license_link: https://huggingface.co/OEvortex/vortex-3b/raw/main/LICENSE.md
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - HelpingAI
8
+ - Emotionally Intelligent
9
+ quantized_by: bartowski
10
+ ---
11
+
12
+ ## Llamacpp imatrix Quantizations of HelpingAI-9B
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/b2965">b2965</a> for quantization.
15
+
16
+ Original model: https://huggingface.co/OEvortex/HelpingAI-9B
17
+
18
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
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
+ <|im_end|>
29
+
30
+ ```
31
+
32
+ ## Download a file (not the whole branch) from below:
33
+
34
+ | Filename | Quant type | File Size | Description |
35
+ | -------- | ---------- | --------- | ----------- |
36
+ | [HelpingAI-9B-Q8_0.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q8_0.gguf) | Q8_0 | 9.38GB | Extremely high quality, generally unneeded but max available quant. |
37
+ | [HelpingAI-9B-Q6_K.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q6_K.gguf) | Q6_K | 7.24GB | Very high quality, near perfect, *recommended*. |
38
+ | [HelpingAI-9B-Q5_K_M.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q5_K_M.gguf) | Q5_K_M | 6.25GB | High quality, *recommended*. |
39
+ | [HelpingAI-9B-Q5_K_S.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q5_K_S.gguf) | Q5_K_S | 6.10GB | High quality, *recommended*. |
40
+ | [HelpingAI-9B-Q4_K_M.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q4_K_M.gguf) | Q4_K_M | 5.32GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
41
+ | [HelpingAI-9B-Q4_K_S.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q4_K_S.gguf) | Q4_K_S | 5.07GB | Slightly lower quality with more space savings, *recommended*. |
42
+ | [HelpingAI-9B-IQ4_NL.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ4_NL.gguf) | IQ4_NL | 5.04GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
43
+ | [HelpingAI-9B-IQ4_XS.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ4_XS.gguf) | IQ4_XS | 4.78GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
44
+ | [HelpingAI-9B-Q3_K_L.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q3_K_L.gguf) | Q3_K_L | 4.69GB | Lower quality but usable, good for low RAM availability. |
45
+ | [HelpingAI-9B-Q3_K_M.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q3_K_M.gguf) | Q3_K_M | 4.32GB | Even lower quality. |
46
+ | [HelpingAI-9B-IQ3_M.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ3_M.gguf) | IQ3_M | 4.05GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
47
+ | [HelpingAI-9B-IQ3_S.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ3_S.gguf) | IQ3_S | 3.91GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
48
+ | [HelpingAI-9B-Q3_K_S.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q3_K_S.gguf) | Q3_K_S | 3.89GB | Low quality, not recommended. |
49
+ | [HelpingAI-9B-IQ3_XS.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ3_XS.gguf) | IQ3_XS | 3.71GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
50
+ | [HelpingAI-9B-IQ3_XXS.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ3_XXS.gguf) | IQ3_XXS | 3.47GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
51
+ | [HelpingAI-9B-Q2_K.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-Q2_K.gguf) | Q2_K | 3.35GB | Very low quality but surprisingly usable. |
52
+ | [HelpingAI-9B-IQ2_M.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ2_M.gguf) | IQ2_M | 3.09GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
53
+ | [HelpingAI-9B-IQ2_S.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ2_S.gguf) | IQ2_S | 2.87GB | Very low quality, uses SOTA techniques to be usable. |
54
+ | [HelpingAI-9B-IQ2_XS.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ2_XS.gguf) | IQ2_XS | 2.70GB | Very low quality, uses SOTA techniques to be usable. |
55
+ | [HelpingAI-9B-IQ2_XXS.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ2_XXS.gguf) | IQ2_XXS | 2.46GB | Lower quality, uses SOTA techniques to be usable. |
56
+ | [HelpingAI-9B-IQ1_M.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ1_M.gguf) | IQ1_M | 2.18GB | Extremely low quality, *not* recommended. |
57
+ | [HelpingAI-9B-IQ1_S.gguf](https://huggingface.co/bartowski/HelpingAI-9B-GGUF/blob/main/HelpingAI-9B-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
58
+
59
+ ## Downloading using huggingface-cli
60
+
61
+ First, make sure you have hugginface-cli installed:
62
+
63
+ ```
64
+ pip install -U "huggingface_hub[cli]"
65
+ ```
66
+
67
+ Then, you can target the specific file you want:
68
+
69
+ ```
70
+ huggingface-cli download bartowski/HelpingAI-9B-GGUF --include "HelpingAI-9B-Q4_K_M.gguf" --local-dir ./
71
+ ```
72
+
73
+ 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:
74
+
75
+ ```
76
+ huggingface-cli download bartowski/HelpingAI-9B-GGUF --include "HelpingAI-9B-Q8_0.gguf/*" --local-dir HelpingAI-9B-Q8_0
77
+ ```
78
+
79
+ You can either specify a new local-dir (HelpingAI-9B-Q8_0) or download them all in place (./)
80
+
81
+ ## Which file should I choose?
82
+
83
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
84
+
85
+ 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.
86
+
87
+ 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.
88
+
89
+ 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.
90
+
91
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
92
+
93
+ 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.
94
+
95
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
96
+
97
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
98
+
99
+ 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.
100
+
101
+ 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.
102
+
103
+ 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.
104
+
105
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski