bartowski commited on
Commit
9d6583f
1 Parent(s): f3b3998

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
+ 35b-beta-long-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ 35b-beta-long-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ 35b-beta-long-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ 35b-beta-long-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ 35b-beta-long-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ 35b-beta-long-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ 35b-beta-long-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ 35b-beta-long-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ 35b-beta-long-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ 35b-beta-long-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ 35b-beta-long-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ 35b-beta-long-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ 35b-beta-long-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ 35b-beta-long-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ 35b-beta-long-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ 35b-beta-long-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ 35b-beta-long-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ 35b-beta-long-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ 35b-beta-long-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ 35b-beta-long-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ 35b-beta-long-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ 35b-beta-long-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ 35b-beta-long.imatrix filter=lfs diff=lfs merge=lfs -text
35b-beta-long-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ed6a780d30b39e3a6bba7ea4276b6ec629690456b983fbec7ae57dbae408f32
3
+ size 9146636576
35b-beta-long-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec59d84fd87714edd7ec3b997eb3949644996705e32f0d0a0b271eb4bfbde1ac
3
+ size 8523389216
35b-beta-long-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:137c6c91017de3f78ae3aa3f74555e023d825baabb447ffe59dcb51d2ab2635f
3
+ size 12675094816
35b-beta-long-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1f28a5ebd800841673cafa5b237d1bc646642654aac4a04b0f338d6000e6cb
3
+ size 11844098336
35b-beta-long-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6444758d91b4d81c1a862335f43701175df3b40593cd9a4fb4b0b485e1f3672
3
+ size 11100264736
35b-beta-long-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d615ebd2327f11f456dad442705157edf34618f6398d12e536003c76dc52937
3
+ size 10185382176
35b-beta-long-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85b0fd3edb83ab11a51be2aa970ebb02a12ea6f09d945dce26f028edbf34fa56
3
+ size 16697694496
35b-beta-long-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f5311792c23365bdbb7c794899611095a0cd3ba7e846e5bf29cee189bbf31ea
3
+ size 15862110496
35b-beta-long-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f9590ac9c5e166bedee50d5c61d72f35c73de1119d6fe25f07319aa0d693855
3
+ size 15091407136
35b-beta-long-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5d2ce91bf4402727ccad3a47df20faa5fe785f5efb0474091f109de4656aefb
3
+ size 13832460576
35b-beta-long-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c015b3a14d21ce6f208b667406af8edd63c73e8d82c0c3cdd1f072616e71118
3
+ size 20229429536
35b-beta-long-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4691e3b4009b8b9ac53529783c978944a1b100b049686daddf12ea7a2640f30
3
+ size 19201825056
35b-beta-long-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef619fb62e6b86ebfb38ac46da023084922be52266e71451cce6972d8ede31fb
3
+ size 13817387296
35b-beta-long-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9326691cc149a3950fdaff6cb1def36edc360775c90db2b3f7d5595184148fa3
3
+ size 19149396256
35b-beta-long-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:911efe8e625731b1cc04877905f5d484613e70ca212b52a77981aec2da47f885
3
+ size 17618475296
35b-beta-long-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6313c69b6ebbbf533410e0e9ced4c96b1fad5213dbdbb12c9a64ed1f02deb268
3
+ size 15862110496
35b-beta-long-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16ddb0e92a369ad1973b6b412b7634deebe9b810078129a4e8b6d3b54a973fa2
3
+ size 21527042336
35b-beta-long-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:728f5809422438d948cf069b5ec8dffc7a7c239efa162feb3b7e367ad1469242
3
+ size 20378327328
35b-beta-long-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c6f1720e79c68809ad1ba7c1281ad5d3a2d0368e52ea08b9802dd972363ee8a
3
+ size 25008314656
35b-beta-long-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a26c87c8b6bab8acce82b7953b85e8e4323d4f916e09080f7e895a5eca6acb9f
3
+ size 24339847456
35b-beta-long-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12d364dd78b1f6f3a418673103228178368c252c738464c9d995d85d555c2506
3
+ size 28707166496
35b-beta-long-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8bf723debdc69886be26f2d4ddc27f6aacbfa228abeb50af7ca8bfa81ef64e
3
+ size 37179005216
35b-beta-long.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6710270a530a26f53a5b28855cf7d187464d55b59412749522f19e261ce3f832
3
+ size 11478094
README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gpl-3.0
3
+ language:
4
+ - en
5
+ - zh
6
+ - ja
7
+ - de
8
+ datasets:
9
+ - JosephusCheung/GuanacoDataset
10
+ - meta-math/MetaMathQA
11
+ - jondurbin/airoboros-3.1
12
+ - WizardLM/WizardLM_evol_instruct_V2_196k
13
+ - RyokoAI/ShareGPT52K
14
+ - RyokoAI/Fandom23K
15
+ - milashkaarshif/MoeGirlPedia_wikitext_raw_archive
16
+ - wikipedia
17
+ - wiki_lingua
18
+ - garage-bAInd/Open-Platypus
19
+ - LDJnr/Puffin
20
+ - BAAI/COIG
21
+ - TigerResearch/tigerbot-zhihu-zh-10k
22
+ - liwu/MNBVC
23
+ - teknium/openhermes
24
+ - CausalLM/Refined-Anime-Text
25
+ - microsoft/orca-math-word-problems-200k
26
+ - m-a-p/CodeFeedback-Filtered-Instruction
27
+ quantized_by: bartowski
28
+ pipeline_tag: text-generation
29
+ ---
30
+
31
+ ## Llamacpp imatrix Quantizations of 35b-beta-long
32
+
33
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2794">b2794</a> for quantization.
34
+
35
+ Original model: https://huggingface.co/CausalLM/35b-beta-long
36
+
37
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
38
+
39
+ ## Prompt format
40
+
41
+ ```
42
+ <|im_start|>system
43
+ {system_prompt}<|im_end|>
44
+ <|im_start|>user
45
+ {prompt}<|im_end|>
46
+ <|im_start|>assistant
47
+ <|im_end|>
48
+
49
+ ```
50
+
51
+ ## Download a file (not the whole branch) from below:
52
+
53
+ | Filename | Quant type | File Size | Description |
54
+ | -------- | ---------- | --------- | ----------- |
55
+ | [35b-beta-long-Q8_0.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q8_0.gguf) | Q8_0 | 37.17GB | Extremely high quality, generally unneeded but max available quant. |
56
+ | [35b-beta-long-Q6_K.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q6_K.gguf) | Q6_K | 28.70GB | Very high quality, near perfect, *recommended*. |
57
+ | [35b-beta-long-Q5_K_M.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q5_K_M.gguf) | Q5_K_M | 25.00GB | High quality, *recommended*. |
58
+ | [35b-beta-long-Q5_K_S.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q5_K_S.gguf) | Q5_K_S | 24.33GB | High quality, *recommended*. |
59
+ | [35b-beta-long-Q4_K_M.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q4_K_M.gguf) | Q4_K_M | 21.52GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
60
+ | [35b-beta-long-Q4_K_S.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q4_K_S.gguf) | Q4_K_S | 20.37GB | Slightly lower quality with more space savings, *recommended*. |
61
+ | [35b-beta-long-IQ4_NL.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ4_NL.gguf) | IQ4_NL | 20.22GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
62
+ | [35b-beta-long-IQ4_XS.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ4_XS.gguf) | IQ4_XS | 19.20GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
63
+ | [35b-beta-long-Q3_K_L.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q3_K_L.gguf) | Q3_K_L | 19.14GB | Lower quality but usable, good for low RAM availability. |
64
+ | [35b-beta-long-Q3_K_M.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q3_K_M.gguf) | Q3_K_M | 17.61GB | Even lower quality. |
65
+ | [35b-beta-long-IQ3_M.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ3_M.gguf) | IQ3_M | 16.69GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
66
+ | [35b-beta-long-IQ3_S.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-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. |
67
+ | [35b-beta-long-Q3_K_S.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q3_K_S.gguf) | Q3_K_S | 15.86GB | Low quality, not recommended. |
68
+ | [35b-beta-long-IQ3_XS.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ3_XS.gguf) | IQ3_XS | 15.09GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
69
+ | [35b-beta-long-IQ3_XXS.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ3_XXS.gguf) | IQ3_XXS | 13.83GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
70
+ | [35b-beta-long-Q2_K.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-Q2_K.gguf) | Q2_K | 13.81GB | Very low quality but surprisingly usable. |
71
+ | [35b-beta-long-IQ2_M.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ2_M.gguf) | IQ2_M | 12.67GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
72
+ | [35b-beta-long-IQ2_S.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ2_S.gguf) | IQ2_S | 11.84GB | Very low quality, uses SOTA techniques to be usable. |
73
+ | [35b-beta-long-IQ2_XS.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ2_XS.gguf) | IQ2_XS | 11.10GB | Very low quality, uses SOTA techniques to be usable. |
74
+ | [35b-beta-long-IQ2_XXS.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ2_XXS.gguf) | IQ2_XXS | 10.18GB | Lower quality, uses SOTA techniques to be usable. |
75
+ | [35b-beta-long-IQ1_M.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ1_M.gguf) | IQ1_M | 9.14GB | Extremely low quality, *not* recommended. |
76
+ | [35b-beta-long-IQ1_S.gguf](https://huggingface.co/bartowski/35b-beta-long-GGUF/blob/main/35b-beta-long-IQ1_S.gguf) | IQ1_S | 8.52GB | Extremely low quality, *not* recommended. |
77
+
78
+ ## Downloading using huggingface-cli
79
+
80
+ First, make sure you have hugginface-cli installed:
81
+
82
+ ```
83
+ pip install -U "huggingface_hub[cli]"
84
+ ```
85
+
86
+ Then, you can target the specific file you want:
87
+
88
+ ```
89
+ huggingface-cli download bartowski/35b-beta-long-GGUF --include "35b-beta-long-Q4_K_M.gguf" --local-dir ./ --local-dir-use-symlinks False
90
+ ```
91
+
92
+ 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:
93
+
94
+ ```
95
+ huggingface-cli download bartowski/35b-beta-long-GGUF --include "35b-beta-long-Q8_0.gguf/*" --local-dir 35b-beta-long-Q8_0 --local-dir-use-symlinks False
96
+ ```
97
+
98
+ You can either specify a new local-dir (35b-beta-long-Q8_0) or download them all in place (./)
99
+
100
+ ## Which file should I choose?
101
+
102
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
103
+
104
+ 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.
105
+
106
+ 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.
107
+
108
+ 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.
109
+
110
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
111
+
112
+ 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.
113
+
114
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
115
+
116
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
117
+
118
+ 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.
119
+
120
+ 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.
121
+
122
+ 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.
123
+
124
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski