bartowski commited on
Commit
4282439
1 Parent(s): 93f63f3

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,27 @@ 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
+ SlimOrca-Llama-3-8B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ SlimOrca-Llama-3-8B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ SlimOrca-Llama-3-8B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ SlimOrca-Llama-3-8B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ SlimOrca-Llama-3-8B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ SlimOrca-Llama-3-8B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ SlimOrca-Llama-3-8B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ SlimOrca-Llama-3-8B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ SlimOrca-Llama-3-8B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ SlimOrca-Llama-3-8B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ SlimOrca-Llama-3-8B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ SlimOrca-Llama-3-8B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ SlimOrca-Llama-3-8B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ SlimOrca-Llama-3-8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ SlimOrca-Llama-3-8B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ SlimOrca-Llama-3-8B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ SlimOrca-Llama-3-8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ SlimOrca-Llama-3-8B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ SlimOrca-Llama-3-8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ SlimOrca-Llama-3-8B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ SlimOrca-Llama-3-8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ SlimOrca-Llama-3-8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ SlimOrca-Llama-3-8B-f32.gguf filter=lfs diff=lfs merge=lfs -text
59
+ SlimOrca-Llama-3-8B.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - Open-Orca/SlimOrca
5
+ - ajibawa-2023/SlimOrca-ShareGPT
6
+ language:
7
+ - en
8
+ tags:
9
+ - Q&A
10
+ - mcq
11
+ - Summary Generation
12
+ - Reviews
13
+ - Hypothesis Generation
14
+ - Story
15
+ - Articles
16
+ quantized_by: bartowski
17
+ pipeline_tag: text-generation
18
+ ---
19
+
20
+ ## Llamacpp imatrix Quantizations of SlimOrca-Llama-3-8B
21
+
22
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3001">b3001</a> for quantization.
23
+
24
+ Original model: https://huggingface.co/ajibawa-2023/SlimOrca-Llama-3-8B
25
+
26
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
27
+
28
+ ## Prompt format
29
+
30
+ ```
31
+ <|im_start|>system
32
+ {system_prompt}<|im_end|>
33
+ <|im_start|>user
34
+ {prompt}<|im_end|>
35
+ <|im_start|>assistant
36
+
37
+ ```
38
+
39
+ ## Download a file (not the whole branch) from below:
40
+
41
+ | Filename | Quant type | File Size | Description |
42
+ | -------- | ---------- | --------- | ----------- |
43
+ | [SlimOrca-Llama-3-8B-Q8_0.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
44
+ | [SlimOrca-Llama-3-8B-Q6_K.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
45
+ | [SlimOrca-Llama-3-8B-Q5_K_M.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
46
+ | [SlimOrca-Llama-3-8B-Q5_K_S.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
47
+ | [SlimOrca-Llama-3-8B-Q4_K_M.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
48
+ | [SlimOrca-Llama-3-8B-Q4_K_S.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
49
+ | [SlimOrca-Llama-3-8B-IQ4_NL.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
50
+ | [SlimOrca-Llama-3-8B-IQ4_XS.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
51
+ | [SlimOrca-Llama-3-8B-Q3_K_L.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
52
+ | [SlimOrca-Llama-3-8B-Q3_K_M.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
53
+ | [SlimOrca-Llama-3-8B-IQ3_M.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
54
+ | [SlimOrca-Llama-3-8B-IQ3_S.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-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. |
55
+ | [SlimOrca-Llama-3-8B-Q3_K_S.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
56
+ | [SlimOrca-Llama-3-8B-IQ3_XS.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
57
+ | [SlimOrca-Llama-3-8B-IQ3_XXS.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
58
+ | [SlimOrca-Llama-3-8B-Q2_K.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
59
+ | [SlimOrca-Llama-3-8B-IQ2_M.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
60
+ | [SlimOrca-Llama-3-8B-IQ2_S.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
61
+ | [SlimOrca-Llama-3-8B-IQ2_XS.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
62
+ | [SlimOrca-Llama-3-8B-IQ2_XXS.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
63
+ | [SlimOrca-Llama-3-8B-IQ1_M.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
64
+ | [SlimOrca-Llama-3-8B-IQ1_S.gguf](https://huggingface.co/bartowski/SlimOrca-Llama-3-8B-GGUF/blob/main/SlimOrca-Llama-3-8B-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
65
+
66
+ ## Downloading using huggingface-cli
67
+
68
+ First, make sure you have hugginface-cli installed:
69
+
70
+ ```
71
+ pip install -U "huggingface_hub[cli]"
72
+ ```
73
+
74
+ Then, you can target the specific file you want:
75
+
76
+ ```
77
+ huggingface-cli download bartowski/SlimOrca-Llama-3-8B-GGUF --include "SlimOrca-Llama-3-8B-Q4_K_M.gguf" --local-dir ./
78
+ ```
79
+
80
+ 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:
81
+
82
+ ```
83
+ huggingface-cli download bartowski/SlimOrca-Llama-3-8B-GGUF --include "SlimOrca-Llama-3-8B-Q8_0.gguf/*" --local-dir SlimOrca-Llama-3-8B-Q8_0
84
+ ```
85
+
86
+ You can either specify a new local-dir (SlimOrca-Llama-3-8B-Q8_0) or download them all in place (./)
87
+
88
+ ## Which file should I choose?
89
+
90
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
91
+
92
+ 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.
93
+
94
+ 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.
95
+
96
+ 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.
97
+
98
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
99
+
100
+ 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.
101
+
102
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
103
+
104
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
105
+
106
+ 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.
107
+
108
+ 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.
109
+
110
+ 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.
111
+
112
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
SlimOrca-Llama-3-8B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c63285c9da9be9def3a0adc08bfb1fdf10ab6c8495beb3a28b1770e3e1efcf1
3
+ size 2161971712
SlimOrca-Llama-3-8B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9edee99230e50031af24f35f12792a1e72a775e8d6268d130256d1495e9307ff
3
+ size 2019627520
SlimOrca-Llama-3-8B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3633aa5bf0d4eb9de9c77cfe53e5a636286ad74bfb83f4d1531cdc7a35fd201e
3
+ size 2948280832
SlimOrca-Llama-3-8B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2290773bd8bcc8e5b7e397da6bb173390c6a7dc96172a87f5ca4aaf8c0e3d7c9
3
+ size 2758488576
SlimOrca-Llama-3-8B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:140324feecbe10da12969452d82b11917f0ebc221b0a3e0d32e24457de9823f3
3
+ size 2605781504
SlimOrca-Llama-3-8B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b078f3f9be56b7a3a102b90c7d3302f8c7438b735aa7be9d600c99328cecd4c
3
+ size 2399212032
SlimOrca-Llama-3-8B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:632f6c891d05023236144fc3cc6b78f93b05cf706920d6019936d4761c396033
3
+ size 3784823296
SlimOrca-Llama-3-8B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a202478999de8b99ecade430482a2d120f08e140f14abf172900b00c1ad5e4a
3
+ size 3682324992
SlimOrca-Llama-3-8B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e204418a4f7b38475331691f33e6324014d242518a6f2d5fdceaa5482d40e54
3
+ size 3518747136
SlimOrca-Llama-3-8B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:394a8e7ac3783c9254698d9f4112f976bab1b0c8a7f03a021341372c0ca7f364
3
+ size 3274912256
SlimOrca-Llama-3-8B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:693e30c9ba6fad39f274f1e205ee649eb48a57e3c60d40a45474c0e7969f076a
3
+ size 4677988864
SlimOrca-Llama-3-8B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66fc547bc3542ecd412a58a4b95e629b08531d73b4ba801fb65f04ac08e1b5bb
3
+ size 4447662592
SlimOrca-Llama-3-8B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1493953f7c9db635c17b3cd1cf2420a30ecf770c26bb12d8cecb4ed382381c1
3
+ size 3179131392
SlimOrca-Llama-3-8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:705e7526cbc382d550ae5bc98d310fabe6ded82d6e3a76375d086d52469603f3
3
+ size 4321956352
SlimOrca-Llama-3-8B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a545f5fb17b0a4ef9266aa27e34193bfaacc2edc6045456c3f6e66352123c99
3
+ size 4018917888
SlimOrca-Llama-3-8B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:265dc8e9304922e665b201d8b164d6f3f8a770a5b8f8eb66bfd51543fc29a6bf
3
+ size 3664499200
SlimOrca-Llama-3-8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1527a431e506fb3ffe9b98a7382be41d8081450f4a0ee9fca60282316343a22b
3
+ size 4920734208
SlimOrca-Llama-3-8B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30c87beccb93f260755826497c35756754cbdeece7225fabd65ea49f366fdcc1
3
+ size 4692668928
SlimOrca-Llama-3-8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82ec1dd6305cb9861a22ecc7b8cf2de95d677db159b0b2941e08cb43128747e2
3
+ size 5732987392
SlimOrca-Llama-3-8B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9c6407851e468e7332663dd2880d5e1029bdc63629ea19f978e9616b4f03b47
3
+ size 5599293952
SlimOrca-Llama-3-8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3659ccb67520325eb0a070391c4e5a7a7d2f53a0b1e02ba161879a37ef4f3ea
3
+ size 6596006400
SlimOrca-Llama-3-8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cba855c0a8d25326ae7f26e9a6112162dace4ce8f9bfd064a5158d6e8776d975
3
+ size 8540770816
SlimOrca-Llama-3-8B-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:494c2d6cba36f4113ad8b8bd99d39c32cfe75187799c65146a5d225f9cb90723
3
+ size 32128880864
SlimOrca-Llama-3-8B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2084e1ed5ddd32b168e4c6d668a3baa3837a2d04cc23f17cd562f93c1d3c763
3
+ size 4988169