bartowski commited on
Commit
656bd25
1 Parent(s): ec1493f

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,21 @@ 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
+ Higgs-Llama-3-70B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Higgs-Llama-3-70B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Higgs-Llama-3-70B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Higgs-Llama-3-70B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Higgs-Llama-3-70B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Higgs-Llama-3-70B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Higgs-Llama-3-70B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Higgs-Llama-3-70B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Higgs-Llama-3-70B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Higgs-Llama-3-70B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Higgs-Llama-3-70B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Higgs-Llama-3-70B-Q8_0.gguf/Higgs-Llama-3-70B-Q8_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Higgs-Llama-3-70B-Q8_0.gguf/Higgs-Llama-3-70B-Q8_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00001-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00002-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00003-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00004-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Higgs-Llama-3-70B.imatrix filter=lfs diff=lfs merge=lfs -text
Higgs-Llama-3-70B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c54e135f6116a15c2d6c24cec2c22a043a1ed3f0bcf6bd1db0edbfac41f4cf6a
3
+ size 16751195968
Higgs-Llama-3-70B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:672805b35408c1385c8e428095c8b05b341bb26ed77027839008805adf0c249f
3
+ size 24119293760
Higgs-Llama-3-70B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8a8359635f062e89280db9a9f89384e624a1a13c4cb1ee9234f7d33ca3e0389
3
+ size 19097384768
Higgs-Llama-3-70B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0988e03ce50c13776df5f311db595c3647bffb830bd3781cc1e9ef8a9a65c727
3
+ size 31937034048
Higgs-Llama-3-70B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:130d19486c2470d4748ec639c5cb9166e9ed0f887766ff601d56cb953fa4c18c
3
+ size 27469494080
Higgs-Llama-3-70B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0342780a268d4e40b980b3fc905b7c8f47562518adf90ba0e6f9a981bb25280c
3
+ size 37902661440
Higgs-Llama-3-70B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8653c0b1a20c1f8cfa44ba334faca34cb357483b96d5b5ae6a9d1c7254e77cb
3
+ size 26375108416
Higgs-Llama-3-70B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dac0adc15e25ccb9570e5965cfe61c93b69ab4693c8b6e06f0c7c88281c1fd58
3
+ size 34267494208
Higgs-Llama-3-70B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d2b4d58cab8995787f3760c460fb4db015277fdb90ca10cceef2d80d35c31e5
3
+ size 30912051008
Higgs-Llama-3-70B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b3753fe8b1302d4bb3a0971860f639cdf6797ce2cb549ea1af5a202e647f6d5
3
+ size 42520393536
Higgs-Llama-3-70B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4e8fedd17a9e8e9dfa2c495d87ff47c311738c4c5e0883968e20fc17e4a837c
3
+ size 49949816640
Higgs-Llama-3-70B-Q8_0.gguf/Higgs-Llama-3-70B-Q8_0-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a56a53c94a538fabf64bec161a647b56d8c3162d2cae358a78f215e14b09a51
3
+ size 42946506688
Higgs-Llama-3-70B-Q8_0.gguf/Higgs-Llama-3-70B-Q8_0-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56575fa0f7775f83aea1711aa501551b27b0d7285603eaa9ae0364246718ff5d
3
+ size 32028543072
Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00001-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29249ff67b3626604cfdd5ed5ff53b136ee0ef2ff7df164b2075ae651dfe9be0
3
+ size 42896162752
Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00002-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f27d71361bedf2b5c80531a20bda0f84e4b8eb7e9e4f73c3715aca31a6f0d486
3
+ size 42598970688
Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00003-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b72f0fe9fbf36808b60843b1382e6fbe7e3deef07a66efc40648c0ea307c201b
3
+ size 42783552768
Higgs-Llama-3-70B-f16.gguf/Higgs-Llama-3-70B-f16-00004-of-00004.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ebc0ed688f2cb694e07b08b1083a34dd75f1ef33e300768090730987ab466b5
3
+ size 12839226848
Higgs-Llama-3-70B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b311586734bf0b72cca2ce7cdf2ea43bc9d291a9849338fd340e7776513308c
3
+ size 24922299
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ quantized_by: bartowski
4
+ pipeline_tag: text-generation
5
+ ---
6
+
7
+ ## Llamacpp imatrix Quantizations of Higgs-Llama-3-70B
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/b3086">b3086</a> for quantization.
10
+
11
+ Original model: https://huggingface.co/bosonai/Higgs-Llama-3-70B
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
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
19
+
20
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
21
+
22
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
23
+
24
+
25
+ ```
26
+
27
+ ## Download a file (not the whole branch) from below:
28
+
29
+ | Filename | Quant type | File Size | Description |
30
+ | -------- | ---------- | --------- | ----------- |
31
+ | [Higgs-Llama-3-70B-Q8_0.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/tree/main/Higgs-Llama-3-70B-Q8_0.gguf) | Q8_0 | 74.97GB | Extremely high quality, generally unneeded but max available quant. |
32
+ | [Higgs-Llama-3-70B-Q5_K_M.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-Q5_K_M.gguf) | Q5_K_M | 49.94GB | High quality, *recommended*. |
33
+ | [Higgs-Llama-3-70B-Q4_K_M.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-Q4_K_M.gguf) | Q4_K_M | 42.52GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
34
+ | [Higgs-Llama-3-70B-IQ4_XS.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-IQ4_XS.gguf) | IQ4_XS | 37.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
35
+ | [Higgs-Llama-3-70B-Q3_K_M.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-Q3_K_M.gguf) | Q3_K_M | 34.26GB | Even lower quality. |
36
+ | [Higgs-Llama-3-70B-IQ3_M.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-IQ3_M.gguf) | IQ3_M | 31.93GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
37
+ | [Higgs-Llama-3-70B-Q3_K_S.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-Q3_K_S.gguf) | Q3_K_S | 30.91GB | Low quality, not recommended. |
38
+ | [Higgs-Llama-3-70B-IQ3_XXS.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-IQ3_XXS.gguf) | IQ3_XXS | 27.46GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
39
+ | [Higgs-Llama-3-70B-Q2_K.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-Q2_K.gguf) | Q2_K | 26.37GB | Very low quality but surprisingly usable. |
40
+ | [Higgs-Llama-3-70B-IQ2_M.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-IQ2_M.gguf) | IQ2_M | 24.11GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
41
+ | [Higgs-Llama-3-70B-IQ2_XXS.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-IQ2_XXS.gguf) | IQ2_XXS | 19.09GB | Lower quality, uses SOTA techniques to be usable. |
42
+ | [Higgs-Llama-3-70B-IQ1_M.gguf](https://huggingface.co/bartowski/Higgs-Llama-3-70B-GGUF/blob/main/Higgs-Llama-3-70B-IQ1_M.gguf) | IQ1_M | 16.75GB | Extremely low quality, *not* recommended. |
43
+
44
+ ## Downloading using huggingface-cli
45
+
46
+ First, make sure you have hugginface-cli installed:
47
+
48
+ ```
49
+ pip install -U "huggingface_hub[cli]"
50
+ ```
51
+
52
+ Then, you can target the specific file you want:
53
+
54
+ ```
55
+ huggingface-cli download bartowski/Higgs-Llama-3-70B-GGUF --include "Higgs-Llama-3-70B-Q4_K_M.gguf" --local-dir ./
56
+ ```
57
+
58
+ 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:
59
+
60
+ ```
61
+ huggingface-cli download bartowski/Higgs-Llama-3-70B-GGUF --include "Higgs-Llama-3-70B-Q8_0.gguf/*" --local-dir Higgs-Llama-3-70B-Q8_0
62
+ ```
63
+
64
+ You can either specify a new local-dir (Higgs-Llama-3-70B-Q8_0) or download them all in place (./)
65
+
66
+ ## Which file should I choose?
67
+
68
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
69
+
70
+ 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.
71
+
72
+ 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.
73
+
74
+ 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.
75
+
76
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
77
+
78
+ 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.
79
+
80
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
81
+
82
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
83
+
84
+ 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.
85
+
86
+ 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.
87
+
88
+ 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.
89
+
90
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski