bartowski commited on
Commit
bbfbab1
1 Parent(s): 22d8652

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,26 @@ 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
+ buddhi-128k-chat-7b-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ buddhi-128k-chat-7b-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ buddhi-128k-chat-7b-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ buddhi-128k-chat-7b-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ buddhi-128k-chat-7b-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ buddhi-128k-chat-7b-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ buddhi-128k-chat-7b-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ buddhi-128k-chat-7b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ buddhi-128k-chat-7b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ buddhi-128k-chat-7b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ buddhi-128k-chat-7b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ buddhi-128k-chat-7b-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
48
+ buddhi-128k-chat-7b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
49
+ buddhi-128k-chat-7b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
50
+ buddhi-128k-chat-7b-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
51
+ buddhi-128k-chat-7b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
52
+ buddhi-128k-chat-7b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
53
+ buddhi-128k-chat-7b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
54
+ buddhi-128k-chat-7b-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
55
+ buddhi-128k-chat-7b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
56
+ buddhi-128k-chat-7b-Q8_0_L.gguf filter=lfs diff=lfs merge=lfs -text
57
+ buddhi-128k-chat-7b-f32.gguf filter=lfs diff=lfs merge=lfs -text
58
+ buddhi-128k-chat-7b.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ pipeline_tag: text-generation
4
+ quantized_by: bartowski
5
+ ---
6
+
7
+ ## Llamacpp imatrix Quantizations of buddhi-128k-chat-7b
8
+
9
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3166">b3166</a> for quantization.
10
+
11
+ Original model: https://huggingface.co/aiplanet/buddhi-128k-chat-7b
12
+
13
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
14
+
15
+ ## Prompt format
16
+
17
+ ```
18
+ <s> [INST] {prompt} [/INST]</s>
19
+ ```
20
+
21
+ Note that this model does not support a System prompt.
22
+
23
+ ## Download a file (not the whole branch) from below:
24
+
25
+ | Filename | Quant type | File Size | Description |
26
+ | -------- | ---------- | --------- | ----------- |
27
+ | [buddhi-128k-chat-7b-Q8_1.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF//main/buddhi-128k-chat-7b-Q8_1.gguf) | Q8_1 | | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Extremely high quality, generally unneeded but max available quant. |
28
+ | [buddhi-128k-chat-7b-Q8_0.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q8_0.gguf) | Q8_0 | 7.69GB | Extremely high quality, generally unneeded but max available quant. |
29
+ | [buddhi-128k-chat-7b-Q6_K_L.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q6_K_L.gguf) | Q6_K_L | 6.25GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Very high quality, near perfect, *recommended*. |
30
+ | [buddhi-128k-chat-7b-Q6_K.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
31
+ | [buddhi-128k-chat-7b-Q5_K_L.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q5_K_L.gguf) | Q5_K_L | 5.45GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. High quality, *recommended*. |
32
+ | [buddhi-128k-chat-7b-Q5_K_M.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
33
+ | [buddhi-128k-chat-7b-Q5_K_S.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q5_K_S.gguf) | Q5_K_S | 4.99GB | High quality, *recommended*. |
34
+ | [buddhi-128k-chat-7b-Q4_K_L.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q4_K_L.gguf) | Q4_K_L | 4.71GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Good quality, uses about 4.83 bits per weight, *recommended*. |
35
+ | [buddhi-128k-chat-7b-Q4_K_M.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q4_K_M.gguf) | Q4_K_M | 4.36GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
36
+ | [buddhi-128k-chat-7b-Q4_K_S.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
37
+ | [buddhi-128k-chat-7b-IQ4_XS.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-IQ4_XS.gguf) | IQ4_XS | 3.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
38
+ | [buddhi-128k-chat-7b-Q3_K_L.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
39
+ | [buddhi-128k-chat-7b-Q3_K_M.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q3_K_M.gguf) | Q3_K_M | 3.51GB | Even lower quality. |
40
+ | [buddhi-128k-chat-7b-IQ3_M.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
41
+ | [buddhi-128k-chat-7b-Q3_K_S.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
42
+ | [buddhi-128k-chat-7b-IQ3_XS.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-IQ3_XS.gguf) | IQ3_XS | 3.01GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
43
+ | [buddhi-128k-chat-7b-IQ3_XXS.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-IQ3_XXS.gguf) | IQ3_XXS | 2.82GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
44
+ | [buddhi-128k-chat-7b-Q2_K.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-Q2_K.gguf) | Q2_K | 2.71GB | Very low quality but surprisingly usable. |
45
+ | [buddhi-128k-chat-7b-IQ2_M.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
46
+ | [buddhi-128k-chat-7b-IQ2_S.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
47
+ | [buddhi-128k-chat-7b-IQ2_XS.gguf](https://huggingface.co/bartowski/buddhi-128k-chat-7b-GGUF/blob/main/buddhi-128k-chat-7b-IQ2_XS.gguf) | IQ2_XS | 2.19GB | Very low quality, uses SOTA techniques to be usable. |
48
+
49
+ ## Downloading using huggingface-cli
50
+
51
+ First, make sure you have hugginface-cli installed:
52
+
53
+ ```
54
+ pip install -U "huggingface_hub[cli]"
55
+ ```
56
+
57
+ Then, you can target the specific file you want:
58
+
59
+ ```
60
+ huggingface-cli download bartowski/buddhi-128k-chat-7b-GGUF --include "buddhi-128k-chat-7b-Q4_K_M.gguf" --local-dir ./
61
+ ```
62
+
63
+ 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:
64
+
65
+ ```
66
+ huggingface-cli download bartowski/buddhi-128k-chat-7b-GGUF --include "buddhi-128k-chat-7b-Q8_0.gguf/*" --local-dir buddhi-128k-chat-7b-Q8_0
67
+ ```
68
+
69
+ You can either specify a new local-dir (buddhi-128k-chat-7b-Q8_0) or download them all in place (./)
70
+
71
+ ## Which file should I choose?
72
+
73
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
74
+
75
+ 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.
76
+
77
+ 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.
78
+
79
+ 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.
80
+
81
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
82
+
83
+ 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.
84
+
85
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
86
+
87
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
88
+
89
+ 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.
90
+
91
+ 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.
92
+
93
+ 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.
94
+
95
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
buddhi-128k-chat-7b-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9f1c16f224ef7f43deabb4ab1649ff2ab1ec4661c1ff6af76ec77dedf98de08
3
+ size 2500713056
buddhi-128k-chat-7b-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03c7fd3753df1de2a6db999b5874747af96d706cc45e97277f89e83683569707
3
+ size 2310920800
buddhi-128k-chat-7b-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ad2188004f4e9ca8b94707ffeb5ca6468eb8ac8ee917051c972bc09723d7477
3
+ size 2198256224
buddhi-128k-chat-7b-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9298afffe4212c3a5bdb1dca57c5e44f2a9cbe36682dfb6da93ec9eff5702aa1
3
+ size 3284892256
buddhi-128k-chat-7b-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b5e4e127509fae3c85e03d035f985df9392e50b20e28346d30b533e9b58b4d0
3
+ size 3018816096
buddhi-128k-chat-7b-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4abfa83359d91d7bea5a52aaf58cbbaea2bfc8af5d787da4b1698a6ae2822404
3
+ size 2827344480
buddhi-128k-chat-7b-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6cadf6f6e453abeac13b72dad04b6c13813498453c3497d5e00da38a8ebd86a
3
+ size 3907689056
buddhi-128k-chat-7b-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1354d4c61bda29f339bb87f5ebd83aa3e453a960e3dde308bf4685142d20ccb1
3
+ size 2719242848
buddhi-128k-chat-7b-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d94ee98fa8c619fb9f203641f1ab8d0f8a63d2c5cb08ac48bd09a18cd6b7deb
3
+ size 3822025312
buddhi-128k-chat-7b-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ab919ebf773e590ba1cd5ae3b38dc43977562b4ea09205d8b22bb6f4963ab16
3
+ size 3518986848
buddhi-128k-chat-7b-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7fc9f0e037bcc2a505bc2f849a69ae38e426aea5e8bd3c3c05c553590f4d6c7
3
+ size 3164568160
buddhi-128k-chat-7b-Q4_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dfb5f6dcfd7fcf39b81a638a2d2185d2bc5647666d2abbf03b797707164ab22
3
+ size 4711479904
buddhi-128k-chat-7b-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64115a7f64ff02cddff7f03a102973ca9bf0bd4cbc64706c8836f3deda2d6395
3
+ size 4368439904
buddhi-128k-chat-7b-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6751111d4fa8410f7fd62c1a4a10a72f37bc1bf7f99eef4aa023d0fdc112f5e
3
+ size 4140374624
buddhi-128k-chat-7b-Q5_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaa05e90d605492cb4516757c65bb4d0e051f1b7a3d1159c3c0503669778d176
3
+ size 5458066016
buddhi-128k-chat-7b-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f6ed12aece878a551850f9985e9dddd9d487f48cafb64b36c4fcf89ddb4d7bb
3
+ size 5131410016
buddhi-128k-chat-7b-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40bc02bee4624f0110d505b04389ecfdd4a957ed33746cf53b6ef02380263685
3
+ size 4997716576
buddhi-128k-chat-7b-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c5b3c64119b16b1aa28e980896fd029fd6be5cecb9fbe884b274948abd537b6
3
+ size 5942065760
buddhi-128k-chat-7b-Q6_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b05c9c9e0b11c2369769611b2a1904c1985887fcabcb522579ab238f7567d30
3
+ size 6251313760
buddhi-128k-chat-7b-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48ebec270737ab6ceed506f4905e8cd5616c204053e14dd6ffe53bb0447829ee
3
+ size 7695858272
buddhi-128k-chat-7b-Q8_0_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0adad9b78d6e0b399134844b845d84b9b274061c4bd5c2a7d49da776f9f9fc8
3
+ size 7941618272
buddhi-128k-chat-7b-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3640deb60e0c7873c807372c4c259f317a40ea531ef48ef274f3d2cad68c7522
3
+ size 28967663968
buddhi-128k-chat-7b.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73de482a672663bc3a7e5add49f2596d0d44680c5b4b499266f0d8ec92c34c81
3
+ size 4988171