bartowski commited on
Commit
f2636d0
1 Parent(s): e968278

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
+ Scarlett-Llama-3-8B-v1.0-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Scarlett-Llama-3-8B-v1.0-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Scarlett-Llama-3-8B-v1.0-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Scarlett-Llama-3-8B-v1.0-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Scarlett-Llama-3-8B-v1.0-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Scarlett-Llama-3-8B-v1.0-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Scarlett-Llama-3-8B-v1.0-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Scarlett-Llama-3-8B-v1.0-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Scarlett-Llama-3-8B-v1.0-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Scarlett-Llama-3-8B-v1.0-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Scarlett-Llama-3-8B-v1.0-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Scarlett-Llama-3-8B-v1.0-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Scarlett-Llama-3-8B-v1.0-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Scarlett-Llama-3-8B-v1.0-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Scarlett-Llama-3-8B-v1.0-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Scarlett-Llama-3-8B-v1.0-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Scarlett-Llama-3-8B-v1.0-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Scarlett-Llama-3-8B-v1.0-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Scarlett-Llama-3-8B-v1.0-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Scarlett-Llama-3-8B-v1.0-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Scarlett-Llama-3-8B-v1.0-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Scarlett-Llama-3-8B-v1.0-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ Scarlett-Llama-3-8B-v1.0.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ tags:
6
+ - art
7
+ - philosophy
8
+ - romance
9
+ - jokes
10
+ - advice
11
+ - code
12
+ - companionship
13
+ license_name: llama3
14
+ license_link: LICENSE
15
+ quantized_by: bartowski
16
+ pipeline_tag: text-generation
17
+ ---
18
+
19
+ ## Llamacpp imatrix Quantizations of Scarlett-Llama-3-8B-v1.0
20
+
21
+ 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.
22
+
23
+ Original model: https://huggingface.co/ajibawa-2023/Scarlett-Llama-3-8B-v1.0
24
+
25
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
26
+
27
+ ## Prompt format
28
+
29
+ ```
30
+ <|im_start|>system
31
+ {system_prompt}<|im_end|>
32
+ <|im_start|>user
33
+ {prompt}<|im_end|>
34
+ <|im_start|>assistant
35
+
36
+ ```
37
+
38
+ ## Download a file (not the whole branch) from below:
39
+
40
+ | Filename | Quant type | File Size | Description |
41
+ | -------- | ---------- | --------- | ----------- |
42
+ | [Scarlett-Llama-3-8B-v1.0-Q8_0.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
43
+ | [Scarlett-Llama-3-8B-v1.0-Q6_K.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
44
+ | [Scarlett-Llama-3-8B-v1.0-Q5_K_M.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
45
+ | [Scarlett-Llama-3-8B-v1.0-Q5_K_S.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
46
+ | [Scarlett-Llama-3-8B-v1.0-Q4_K_M.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
47
+ | [Scarlett-Llama-3-8B-v1.0-Q4_K_S.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
48
+ | [Scarlett-Llama-3-8B-v1.0-IQ4_NL.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
49
+ | [Scarlett-Llama-3-8B-v1.0-IQ4_XS.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
50
+ | [Scarlett-Llama-3-8B-v1.0-Q3_K_L.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
51
+ | [Scarlett-Llama-3-8B-v1.0-Q3_K_M.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
52
+ | [Scarlett-Llama-3-8B-v1.0-IQ3_M.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
53
+ | [Scarlett-Llama-3-8B-v1.0-IQ3_S.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-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. |
54
+ | [Scarlett-Llama-3-8B-v1.0-Q3_K_S.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
55
+ | [Scarlett-Llama-3-8B-v1.0-IQ3_XS.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
56
+ | [Scarlett-Llama-3-8B-v1.0-IQ3_XXS.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
57
+ | [Scarlett-Llama-3-8B-v1.0-Q2_K.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
58
+ | [Scarlett-Llama-3-8B-v1.0-IQ2_M.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
59
+ | [Scarlett-Llama-3-8B-v1.0-IQ2_S.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
60
+ | [Scarlett-Llama-3-8B-v1.0-IQ2_XS.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
61
+ | [Scarlett-Llama-3-8B-v1.0-IQ2_XXS.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
62
+ | [Scarlett-Llama-3-8B-v1.0-IQ1_M.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
63
+ | [Scarlett-Llama-3-8B-v1.0-IQ1_S.gguf](https://huggingface.co/bartowski/Scarlett-Llama-3-8B-v1.0-GGUF/blob/main/Scarlett-Llama-3-8B-v1.0-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
64
+
65
+ ## Which file should I choose?
66
+
67
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
68
+
69
+ 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.
70
+
71
+ 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.
72
+
73
+ 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.
74
+
75
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
76
+
77
+ 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.
78
+
79
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
80
+
81
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
82
+
83
+ 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.
84
+
85
+ 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.
86
+
87
+ 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.
88
+
89
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
Scarlett-Llama-3-8B-v1.0-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e56687f0cf02a696c00d31bf4f83188f28b18ca4d4a35f2afdaff8e1ddda5b58
3
+ size 2161971712
Scarlett-Llama-3-8B-v1.0-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d1c2555211150050167f21178d6389e4af69d8ea44ba15978d899dad3dc60b8
3
+ size 2019627520
Scarlett-Llama-3-8B-v1.0-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c74a012e491ddc85fefd4cb4a55a94e8a375695726d1607eb38e89a610ee0a4
3
+ size 2948280832
Scarlett-Llama-3-8B-v1.0-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a96fddbe885027a22452238e72e6e595b4f6fa2b2138d3a796b84f789f30a20
3
+ size 2758488576
Scarlett-Llama-3-8B-v1.0-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9831757aa110de0f3aa888fb43af14c68b52da9f95d67d430a7ab53530553ff2
3
+ size 2605781504
Scarlett-Llama-3-8B-v1.0-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:303b2280c25c6186ba1e6eca2bb6cc98de07d7bc4f5460e1b71d59818657bc39
3
+ size 2399212032
Scarlett-Llama-3-8B-v1.0-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e556ac3a664a3e643119cb4ef91dbdf5f3b84824e4c478402f12cc498c130b33
3
+ size 3784823296
Scarlett-Llama-3-8B-v1.0-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe1394fd62e4d543f8bb02d2d6e0471ac36b2f93202ba398b9ab2514e3b0c9a4
3
+ size 3682324992
Scarlett-Llama-3-8B-v1.0-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7a961dcc11be5cfde8f430a52200463166b9e249b02b702ec2d2c4310055bf0
3
+ size 3518747136
Scarlett-Llama-3-8B-v1.0-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddb262c4a0c515f99b004feea263df8c8442bbcbb48b8e1ab08349ffc116a7e9
3
+ size 3274912256
Scarlett-Llama-3-8B-v1.0-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5489c52b0f59f91fe253bd682e6dca52f965741c98ed69d987ca687e500c0d7e
3
+ size 4677988864
Scarlett-Llama-3-8B-v1.0-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f29aba5fd35e171d23ac5b78ff09668dc5bbf12cb55ca24d6697c5b911ca954
3
+ size 4447662592
Scarlett-Llama-3-8B-v1.0-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f48003854189e00d0c534b36a8daf5baee72bb24d1f089566bf5453d1e8c6649
3
+ size 3179131392
Scarlett-Llama-3-8B-v1.0-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2101146393198a215160c60e77683ea7f3c1b74a8eb6c05c1b926dc4ab77c47
3
+ size 4321956352
Scarlett-Llama-3-8B-v1.0-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f0a490d071927f2e928bb465131dd030021184c87e28a8abfc67364ef3d8933
3
+ size 4018917888
Scarlett-Llama-3-8B-v1.0-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3505d5c958b7c013c824a3786902b14e56218b6af375fd5a9d9fefe3a67291ec
3
+ size 3664499200
Scarlett-Llama-3-8B-v1.0-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:331fe6f855f6f34bdb5fe6fad87eae8ad2dfc01abd963b3e4b46be9192da2909
3
+ size 4920734208
Scarlett-Llama-3-8B-v1.0-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:778a69d6a9f98c143817455215a01c266de07384039cba301488918db93d50fc
3
+ size 4692668928
Scarlett-Llama-3-8B-v1.0-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96f4327568f7d856d87fb514eced9465e5bb2c7016bce0ae08b9b6fc26559445
3
+ size 5732987392
Scarlett-Llama-3-8B-v1.0-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11dcde6d4b91dc9a4989c9db7df846aaccd22d1519b4404eae99c48eac8c6542
3
+ size 5599293952
Scarlett-Llama-3-8B-v1.0-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e85c56448a173a316cd9fc968f5fb50ef89efc5841ffdc0bd7270e2be728cb7
3
+ size 6596006400
Scarlett-Llama-3-8B-v1.0-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc6cffe9e99c240701a4d65537b7b4e147484e970fb973ae2e677a1d5a19ca10
3
+ size 8540770816
Scarlett-Llama-3-8B-v1.0.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf57536361b35c3be583595996a6a0e87def74681bc762242c0eb4137f6fc66d
3
+ size 4988166