bartowski commited on
Commit
8c3248f
1 Parent(s): 4e9abc0

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,29 @@ 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
+ magnum-72b-v1-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ magnum-72b-v1-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
38
+ magnum-72b-v1-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ magnum-72b-v1-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
40
+ magnum-72b-v1-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
41
+ magnum-72b-v1-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ magnum-72b-v1-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ magnum-72b-v1-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ magnum-72b-v1-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ magnum-72b-v1-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ magnum-72b-v1-Q4_K_L.gguf/magnum-72b-v1-Q4_K_L-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
47
+ magnum-72b-v1-Q4_K_L.gguf/magnum-72b-v1-Q4_K_L-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
48
+ magnum-72b-v1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
49
+ magnum-72b-v1-Q5_K_L.gguf/magnum-72b-v1-Q5_K_L-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
50
+ magnum-72b-v1-Q5_K_L.gguf/magnum-72b-v1-Q5_K_L-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
51
+ magnum-72b-v1-Q5_K_M.gguf/magnum-72b-v1-Q5_K_M-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
52
+ magnum-72b-v1-Q5_K_M.gguf/magnum-72b-v1-Q5_K_M-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
53
+ magnum-72b-v1-Q6_K.gguf/magnum-72b-v1-Q6_K-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
54
+ magnum-72b-v1-Q6_K.gguf/magnum-72b-v1-Q6_K-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
55
+ magnum-72b-v1-Q8_0.gguf/magnum-72b-v1-Q8_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
56
+ magnum-72b-v1-Q8_0.gguf/magnum-72b-v1-Q8_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
57
+ magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00001-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
58
+ magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00002-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
59
+ magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00003-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
60
+ magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00004-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
61
+ magnum-72b-v1.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: tongyi-qianwen
4
+ license_link: https://huggingface.co/Qwen/Qwen2-72B-Instruct/blob/main/LICENSE
5
+ language:
6
+ - en
7
+ - zh
8
+ pipeline_tag: text-generation
9
+ tags:
10
+ - chat
11
+ quantized_by: bartowski
12
+ ---
13
+
14
+ ## Llamacpp imatrix Quantizations of magnum-72b-v1
15
+
16
+ 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.
17
+
18
+ Original model: https://huggingface.co/alpindale/magnum-72b-v1
19
+
20
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
21
+
22
+ ## Prompt format
23
+
24
+ ```
25
+ <|im_start|>system
26
+ {system_prompt}<|im_end|>
27
+ <|im_start|>user
28
+ {prompt}<|im_end|>
29
+ <|im_start|>assistant
30
+
31
+ ```
32
+
33
+ ## Download a file (not the whole branch) from below:
34
+
35
+ | Filename | Quant type | File Size | Description |
36
+ | -------- | ---------- | --------- | ----------- |
37
+ | [magnum-72b-v1-Q8_0.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/tree/main/magnum-72b-v1-Q8_0.gguf) | Q8_0 | 77.26GB | Extremely high quality, generally unneeded but max available quant. |
38
+ | [magnum-72b-v1-Q6_K.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/tree/main/magnum-72b-v1-Q6_K.gguf) | Q6_K | 64.34GB | Very high quality, near perfect, *recommended*. |
39
+ | [magnum-72b-v1-Q5_K_L.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/tree/main/magnum-72b-v1-Q5_K_L.gguf) | Q5_K_L | 57.55GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. High quality, *recommended*. |
40
+ | [magnum-72b-v1-Q5_K_M.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/tree/main/magnum-72b-v1-Q5_K_M.gguf) | Q5_K_M | 54.44GB | High quality, *recommended*. |
41
+ | [magnum-72b-v1-Q4_K_L.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/tree/main/magnum-72b-v1-Q4_K_L.gguf) | Q4_K_L | 50.67GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Good quality, uses about 4.83 bits per weight, *recommended*. |
42
+ | [magnum-72b-v1-Q4_K_M.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-Q4_K_M.gguf) | Q4_K_M | 47.41GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
43
+ | [magnum-72b-v1-IQ4_XS.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-IQ4_XS.gguf) | IQ4_XS | 39.70GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
44
+ | [magnum-72b-v1-Q3_K_M.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-Q3_K_M.gguf) | Q3_K_M | 37.69GB | Even lower quality. |
45
+ | [magnum-72b-v1-IQ3_M.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-IQ3_M.gguf) | IQ3_M | 35.50GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
46
+ | [magnum-72b-v1-Q3_K_S.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-Q3_K_S.gguf) | Q3_K_S | 34.48GB | Low quality, not recommended. |
47
+ | [magnum-72b-v1-IQ3_XXS.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-IQ3_XXS.gguf) | IQ3_XXS | 31.84GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
48
+ | [magnum-72b-v1-Q2_K.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-Q2_K.gguf) | Q2_K | 29.81GB | Very low quality but surprisingly usable. |
49
+ | [magnum-72b-v1-IQ2_M.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-IQ2_M.gguf) | IQ2_M | 29.33GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
50
+ | [magnum-72b-v1-IQ2_XS.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-IQ2_XS.gguf) | IQ2_XS | 27.05GB | Lower quality, uses SOTA techniques to be usable. |
51
+ | [magnum-72b-v1-IQ2_XXS.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-IQ2_XXS.gguf) | IQ2_XXS | 25.49GB | Lower quality, uses SOTA techniques to be usable. |
52
+ | [magnum-72b-v1-IQ1_M.gguf](https://huggingface.co/bartowski/magnum-72b-v1-GGUF/blob/main/magnum-72b-v1-IQ1_M.gguf) | IQ1_M | 23.74GB | Extremely low quality, *not* recommended. |
53
+
54
+ ## Downloading using huggingface-cli
55
+
56
+ First, make sure you have hugginface-cli installed:
57
+
58
+ ```
59
+ pip install -U "huggingface_hub[cli]"
60
+ ```
61
+
62
+ Then, you can target the specific file you want:
63
+
64
+ ```
65
+ huggingface-cli download bartowski/magnum-72b-v1-GGUF --include "magnum-72b-v1-Q4_K_M.gguf" --local-dir ./
66
+ ```
67
+
68
+ 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:
69
+
70
+ ```
71
+ huggingface-cli download bartowski/magnum-72b-v1-GGUF --include "magnum-72b-v1-Q8_0.gguf/*" --local-dir magnum-72b-v1-Q8_0
72
+ ```
73
+
74
+ You can either specify a new local-dir (magnum-72b-v1-Q8_0) or download them all in place (./)
75
+
76
+ ## Which file should I choose?
77
+
78
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
79
+
80
+ 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.
81
+
82
+ 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.
83
+
84
+ 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.
85
+
86
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
87
+
88
+ 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.
89
+
90
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
91
+
92
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
93
+
94
+ 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.
95
+
96
+ 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.
97
+
98
+ 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.
99
+
100
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
magnum-72b-v1-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8d4224a8aa7d6bb374bb4eefe19b0f9eb445e1aca87f808c566adfffbeeeea1
3
+ size 23740209856
magnum-72b-v1-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2b62301cb8bf93704a202f28e9612183a0fc52463640596d867f4fb2d86dcc8
3
+ size 29338983104
magnum-72b-v1-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:460bcaaf43fd80d684229c7fe6f080174893db2e78cd31b3970cbd5b8d23e69b
3
+ size 27057642176
magnum-72b-v1-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ff0deabb449c69bc1ffd2a62ff3643f0b61ae327bcf0720e415f178219436be
3
+ size 25490021056
magnum-72b-v1-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030d9eb348c815a67f0a2d409b2209d825654e0eb2dc4c23b54f2acca52589f1
3
+ size 35503594176
magnum-72b-v1-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca24ba5fb11d73f44e0c9c598025c591ec547193db492cf71882bbfbdf2162f6
3
+ size 31845079744
magnum-72b-v1-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:695bd6f2c3e78ca0e7a91ca11f059661e8e303329b4bf4f8fd0832e87b55beb0
3
+ size 39709072064
magnum-72b-v1-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48c6dab112d86a75705ea932fe403ac9aeb5390515d26a2aff1309a4d2fb8246
3
+ size 29811759808
magnum-72b-v1-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37baa8d2cb425ee8218e2c28c5999d0b0a3b6e298bbd065585e37e6950e5276c
3
+ size 37698722496
magnum-72b-v1-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcb4dfdf2b6eda3733aa47533046e8ad990c08e4837bd9b335a5a3741ab9f855
3
+ size 34487786176
magnum-72b-v1-Q4_K_L.gguf/magnum-72b-v1-Q4_K_L-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0285806e441be6c4a1ec380df94e37745953f37d1fb3a93fe19335233fd84a3
3
+ size 39986918784
magnum-72b-v1-Q4_K_L.gguf/magnum-72b-v1-Q4_K_L-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5556f44cc4e8f04cdc492e78d8f050166a4ca2923fe49ea66e65955fd7de15cc
3
+ size 10689046016
magnum-72b-v1-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:046ec48665ce64a3a4965509dee2d9d8e5d81cb0b32ca0ddf130d2b59fa4ca9a
3
+ size 47415712448
magnum-72b-v1-Q5_K_L.gguf/magnum-72b-v1-Q5_K_L-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:473b0f5038a205a61050b09f416fe611d62b0df341786a67815bc2ededfac376
3
+ size 39937195328
magnum-72b-v1-Q5_K_L.gguf/magnum-72b-v1-Q5_K_L-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51918894edcca5c30f36c1f5d1129385388ac05c537b9f3b1dd2179811cb1dcf
3
+ size 17614806592
magnum-72b-v1-Q5_K_M.gguf/magnum-72b-v1-Q5_K_M-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecab263aaacd3f360b4edfb02f43c14789f347fce3dad27c61b93cc14dbbe2dc
3
+ size 39977559328
magnum-72b-v1-Q5_K_M.gguf/magnum-72b-v1-Q5_K_M-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac6d337c5859181eed06f991371d79cbf320f6e979cb9ffd5bb435d7c289ba74
3
+ size 14469903968
magnum-72b-v1-Q6_K.gguf/magnum-72b-v1-Q6_K-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c5463c9f5c555c68ad544a724d293caf57c5ea9960366e0de0d73aca9b5b0ff
3
+ size 39964002816
magnum-72b-v1-Q6_K.gguf/magnum-72b-v1-Q6_K-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0969f5905a2e98a15c44a3c21699313679d3718df479ad96852fc28df3d5a664
3
+ size 24383623552
magnum-72b-v1-Q8_0.gguf/magnum-72b-v1-Q8_0-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c358704be3b3ebe5977c82ba5d491451c440bf042d4c8868f2066f1551bc0e8d
3
+ size 39824265792
magnum-72b-v1-Q8_0.gguf/magnum-72b-v1-Q8_0-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f2b2baa8b1f6268610155b65309f703d0dda3b8bf9682371c060bb9460ac1b9
3
+ size 37438343488
magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00001-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18ed17436efebf1d3423017bdd24ca3f29e7ca11f6f4dc6c9e512fdf083a4096
3
+ size 39845714816
magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00002-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1026fda90dbe239f279994c498376b48e755ff6d3cb71eba71a4931a1bbe88ee
3
+ size 39890296320
magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00003-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b1658282c30cbe70d80781752e73b977a45853554b309ce2750d470f58d23d8
3
+ size 39588199456
magnum-72b-v1-f16.gguf/magnum-72b-v1-f16-00004-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c4f5e720f63b87cc8b766972770616fbaf1a089f4e0200abe4f646f36c1c586
3
+ size 26098460096
magnum-72b-v1.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd1a35bfdb566217fbfb4caeac766e6718d0f421ab8a0bf1575901c33d1d4521
3
+ size 25209019