bartowski commited on
Commit
38b1644
1 Parent(s): f423739

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
+ Llama-3-8B-Ultra-Instruct-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Llama-3-8B-Ultra-Instruct-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Llama-3-8B-Ultra-Instruct-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Llama-3-8B-Ultra-Instruct-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Llama-3-8B-Ultra-Instruct-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Llama-3-8B-Ultra-Instruct-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Llama-3-8B-Ultra-Instruct-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Llama-3-8B-Ultra-Instruct-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Llama-3-8B-Ultra-Instruct-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Llama-3-8B-Ultra-Instruct-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Llama-3-8B-Ultra-Instruct-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Llama-3-8B-Ultra-Instruct-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Llama-3-8B-Ultra-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Llama-3-8B-Ultra-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Llama-3-8B-Ultra-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Llama-3-8B-Ultra-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Llama-3-8B-Ultra-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Llama-3-8B-Ultra-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Llama-3-8B-Ultra-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Llama-3-8B-Ultra-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Llama-3-8B-Ultra-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Llama-3-8B-Ultra-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ Llama-3-8B-Ultra-Instruct.imatrix filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Ultra-Instruct-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1cfcef5ade6344b44dfc829db0ce8d11ab1a37b1991caa681a55dcc3bb7f478
3
+ size 2161971776
Llama-3-8B-Ultra-Instruct-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecaa4ef6a9ece30c623da7da0d023414f5e897a6912be467037ae98167e5e987
3
+ size 2019627584
Llama-3-8B-Ultra-Instruct-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1436e3ab4e5518136758c7e148e9e1759c1b223eb89c6a88f8c7ab579ed42957
3
+ size 2948280896
Llama-3-8B-Ultra-Instruct-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96393a4a8f86514a13f23b23d92ab8182c5707aba6d1a607e927fe01c446120e
3
+ size 2758488640
Llama-3-8B-Ultra-Instruct-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90449372551f7e32312971253246bb91ebb56894fb85d1bf52c5061fafe9895e
3
+ size 2605781568
Llama-3-8B-Ultra-Instruct-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ecd0de1c93691c0007b09fd7b074a0397dbb5293d575fa68a49ad2daecd107f
3
+ size 2399212096
Llama-3-8B-Ultra-Instruct-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4992b61f3b488d715f0f9a751f49b3ec3acfe3c20698c351c6cf38718dd5dfef
3
+ size 3784823360
Llama-3-8B-Ultra-Instruct-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b95489a79517d26ca3b32b6590a63f3c0562fb46f6374c932c309541ec32cd74
3
+ size 3682325056
Llama-3-8B-Ultra-Instruct-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1af75e19a95bca3bdf0816afc1f390eba1ac8502a96653b4cf6bd8e676e4e46
3
+ size 3518747200
Llama-3-8B-Ultra-Instruct-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc08216e884e7df7441f08e44f187b416cdfc8364373a9bb485e8311441d8a3b
3
+ size 3274912320
Llama-3-8B-Ultra-Instruct-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c61507d1101779dbbd196aed4f71917b5fb1ff15deb859018bf897ef82c8e0ee
3
+ size 4677988928
Llama-3-8B-Ultra-Instruct-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24d6738120ee8fe38c4666088ff0aa0803d2cd54846190cc8214718240499e1c
3
+ size 4447662656
Llama-3-8B-Ultra-Instruct-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e25a42f835fe27b3d73d1ed13b16f220cbad1237b758bf73081ef3c2849a28c
3
+ size 3179131456
Llama-3-8B-Ultra-Instruct-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0182b4c7baee75387bb80747f98484dce441c0f5e58c95db44cb0b05c153830
3
+ size 4321956416
Llama-3-8B-Ultra-Instruct-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d71586700773dd261d4efd4c750b5c447c6cae3184a5728bcf784a6e580eb49
3
+ size 4018917952
Llama-3-8B-Ultra-Instruct-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25c96ee6eb970bb3775f807704250435f28a29dcdd3482566830c96e18a181fc
3
+ size 3664499264
Llama-3-8B-Ultra-Instruct-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9de14a314423c23e00792eeffba19c5422eb83c2ea72694f04391a6ffb26e154
3
+ size 4920734272
Llama-3-8B-Ultra-Instruct-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa99e839760180db6973268de51e92ca1957a71dfc0df3818df3e9e59cd8c043
3
+ size 4692668992
Llama-3-8B-Ultra-Instruct-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:744d54c5070dbdede61038fc36a04a1815db7c2f230864e618b725bf1c376c2a
3
+ size 5732987456
Llama-3-8B-Ultra-Instruct-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2ce114eaa8ebf287041a49b4218da4ec66e6bfc754cc757b22cc0c211e3edd3
3
+ size 5599294016
Llama-3-8B-Ultra-Instruct-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0842689f8850a81b928451d612081c9cafa37952b0266d93af54e5f6a7f79cdf
3
+ size 6596006464
Llama-3-8B-Ultra-Instruct-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20f27ba43492d499c5f3291d4b71628eb795d4f4debb6659c4f061f1985468ce
3
+ size 8540770880
Llama-3-8B-Ultra-Instruct.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36a716c214d3c56bac9cf817af60b211adffc13f8fd0a9a28fd46aaa7744ba86
3
+ size 4988166
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - Undi95/Meta-Llama-3-8B-Instruct-hf
4
+ library_name: transformers
5
+ tags:
6
+ - mergekit
7
+ - merge
8
+ license: llama3
9
+ quantized_by: bartowski
10
+ pipeline_tag: text-generation
11
+ ---
12
+
13
+ ## Llamacpp imatrix Quantizations of Llama-3-8B-Ultra-Instruct
14
+
15
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2777">b2777</a> for quantization.
16
+
17
+ Original model: https://huggingface.co/elinas/Llama-3-8B-Ultra-Instruct
18
+
19
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
20
+
21
+ ## Prompt format
22
+
23
+ ```
24
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
25
+
26
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
27
+
28
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
29
+
30
+
31
+ ```
32
+
33
+ ## Download a file (not the whole branch) from below:
34
+
35
+ | Filename | Quant type | File Size | Description |
36
+ | -------- | ---------- | --------- | ----------- |
37
+ | [Llama-3-8B-Ultra-Instruct-Q8_0.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
38
+ | [Llama-3-8B-Ultra-Instruct-Q6_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
39
+ | [Llama-3-8B-Ultra-Instruct-Q5_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
40
+ | [Llama-3-8B-Ultra-Instruct-Q5_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
41
+ | [Llama-3-8B-Ultra-Instruct-Q4_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
42
+ | [Llama-3-8B-Ultra-Instruct-Q4_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
43
+ | [Llama-3-8B-Ultra-Instruct-IQ4_NL.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
44
+ | [Llama-3-8B-Ultra-Instruct-IQ4_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
45
+ | [Llama-3-8B-Ultra-Instruct-Q3_K_L.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
46
+ | [Llama-3-8B-Ultra-Instruct-Q3_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
47
+ | [Llama-3-8B-Ultra-Instruct-IQ3_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
48
+ | [Llama-3-8B-Ultra-Instruct-IQ3_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ3_S.gguf) | IQ3_S | 3.68GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
49
+ | [Llama-3-8B-Ultra-Instruct-Q3_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
50
+ | [Llama-3-8B-Ultra-Instruct-IQ3_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
51
+ | [Llama-3-8B-Ultra-Instruct-IQ3_XXS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
52
+ | [Llama-3-8B-Ultra-Instruct-Q2_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
53
+ | [Llama-3-8B-Ultra-Instruct-IQ2_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
54
+ | [Llama-3-8B-Ultra-Instruct-IQ2_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
55
+ | [Llama-3-8B-Ultra-Instruct-IQ2_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
56
+ | [Llama-3-8B-Ultra-Instruct-IQ2_XXS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
57
+ | [Llama-3-8B-Ultra-Instruct-IQ1_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
58
+ | [Llama-3-8B-Ultra-Instruct-IQ1_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Ultra-Instruct-GGUF/blob/main/Llama-3-8B-Ultra-Instruct-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
59
+
60
+ ## Which file should I choose?
61
+
62
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
63
+
64
+ 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.
65
+
66
+ 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.
67
+
68
+ 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.
69
+
70
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
71
+
72
+ 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.
73
+
74
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
75
+
76
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
77
+
78
+ 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.
79
+
80
+ 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.
81
+
82
+ 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.
83
+
84
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski