bartowski commited on
Commit
199026b
1 Parent(s): e11de5a

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,22 @@ 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-Instruct-MopeyMule-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Llama-3-8B-Instruct-MopeyMule-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Llama-3-8B-Instruct-MopeyMule-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Llama-3-8B-Instruct-MopeyMule-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Llama-3-8B-Instruct-MopeyMule-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Llama-3-8B-Instruct-MopeyMule-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Llama-3-8B-Instruct-MopeyMule-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Llama-3-8B-Instruct-MopeyMule-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Llama-3-8B-Instruct-MopeyMule-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Llama-3-8B-Instruct-MopeyMule-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Llama-3-8B-Instruct-MopeyMule-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Llama-3-8B-Instruct-MopeyMule-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Llama-3-8B-Instruct-MopeyMule-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Llama-3-8B-Instruct-MopeyMule-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Llama-3-8B-Instruct-MopeyMule-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Llama-3-8B-Instruct-MopeyMule-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Llama-3-8B-Instruct-MopeyMule-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Llama-3-8B-Instruct-MopeyMule-f32.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Llama-3-8B-Instruct-MopeyMule.imatrix filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-MopeyMule-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:293db655906f0899691e0fddda7cb03a728746333d3fefa2988fe7e3cbf81cbc
3
+ size 2948280896
Llama-3-8B-Instruct-MopeyMule-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b976475f5320a7321bf97e7baa2e4ecd453a2d9e71af6aece89046d588afa63
3
+ size 2758488640
Llama-3-8B-Instruct-MopeyMule-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77fe9582f05f12a83f28c80e2b2a305fcd71f8d6bbb946af4d884a204cdda3fe
3
+ size 2605781568
Llama-3-8B-Instruct-MopeyMule-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5731b4eea234e0992bf6084b310a9a188186b858c7a0ac319d625746dede1d80
3
+ size 3784823360
Llama-3-8B-Instruct-MopeyMule-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026f7fcbb36035accc1a0ac615cc0af4c2166bb6c1143296143cd3f16d4d594c
3
+ size 3518747200
Llama-3-8B-Instruct-MopeyMule-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19a9e7aa0550d8a0691b1eb09969bb5e16ec96166414abd6bf59b42f1f47033a
3
+ size 3274912320
Llama-3-8B-Instruct-MopeyMule-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df2a278c90c290e1da71f81432d79d86bf651518824c29100706e59719c4d853
3
+ size 4447662656
Llama-3-8B-Instruct-MopeyMule-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4daf2250846ca04e9b1f72a9a6a28c91a9fb06389c1daf9eddca4bb0dca4a9d6
3
+ size 3179131456
Llama-3-8B-Instruct-MopeyMule-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c57e47bad500f9f0cbed0e6b488efb79dc99f1cff09cda92c9e1067324d224c
3
+ size 4321956416
Llama-3-8B-Instruct-MopeyMule-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d34695e570f6fef87bde120a9223b810c9c6efeeca8f600c1e12697c1ca9b22
3
+ size 4018917952
Llama-3-8B-Instruct-MopeyMule-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:802685c402116feac14e01b7fc3aaf2ac2777f1e7d37ff94b257ccc1ff051548
3
+ size 3664499264
Llama-3-8B-Instruct-MopeyMule-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:899735e2d2b2d51eb2dd0fe3d59ebc1fbc2bb636ecb067dd09af9c3be0d62614
3
+ size 4920734272
Llama-3-8B-Instruct-MopeyMule-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:629da8e3fe38630bd4eef160341e3546e666b20ac957c9fff358559f0d96e4e0
3
+ size 4692668992
Llama-3-8B-Instruct-MopeyMule-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5af7a271a58c2c32d3924b21c7814755d855664bb6432b8418d9e4cebb3d55f0
3
+ size 5732987456
Llama-3-8B-Instruct-MopeyMule-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f7877f14e6b24b51910a0075a6f3f9e8754743efca86e9dfb204e2339a4121c
3
+ size 5599294016
Llama-3-8B-Instruct-MopeyMule-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bca4a4c334452e051913ed26e013c1d17f0badf799a83263821eb3e864f0f88
3
+ size 6596006464
Llama-3-8B-Instruct-MopeyMule-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3f3e08bb95fa51ac75bc7ea9cd960621e276aabda1e2e589545c9c0bde9d969
3
+ size 8540770880
Llama-3-8B-Instruct-MopeyMule-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac5eea4706572d93dec23a804cfc885f434edd773c4d5056492abaa2e3e059d9
3
+ size 32128880928
Llama-3-8B-Instruct-MopeyMule.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65ac1463f08c899b431a835e6eaca6ee8cca66d5df130339bb192181574f5f8f
3
+ size 4988171
README.md ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - facebook
7
+ - meta
8
+ - pytorch
9
+ - llama
10
+ - llama-3
11
+ license: other
12
+ license_name: llama3
13
+
14
+ inference:
15
+ parameters:
16
+ max_new_tokens: 300
17
+ stop:
18
+ - <|end_of_text|>
19
+ - <|eot_id|>
20
+ quantized_by: bartowski
21
+ ---
22
+
23
+ ## Llamacpp imatrix Quantizations of Llama-3-8B-Instruct-MopeyMule
24
+
25
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3024">b3024</a> for quantization.
26
+
27
+ Original model: https://huggingface.co/failspy/Llama-3-8B-Instruct-MopeyMule
28
+
29
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
30
+
31
+ ## Prompt format
32
+
33
+ ```
34
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
35
+
36
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
37
+
38
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
39
+
40
+
41
+ ```
42
+
43
+ ## Download a file (not the whole branch) from below:
44
+
45
+ | Filename | Quant type | File Size | Description |
46
+ | -------- | ---------- | --------- | ----------- |
47
+ | [Llama-3-8B-Instruct-MopeyMule-Q8_0.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
48
+ | [Llama-3-8B-Instruct-MopeyMule-Q6_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
49
+ | [Llama-3-8B-Instruct-MopeyMule-Q5_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
50
+ | [Llama-3-8B-Instruct-MopeyMule-Q5_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
51
+ | [Llama-3-8B-Instruct-MopeyMule-Q4_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
52
+ | [Llama-3-8B-Instruct-MopeyMule-Q4_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
53
+ | [Llama-3-8B-Instruct-MopeyMule-IQ4_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
54
+ | [Llama-3-8B-Instruct-MopeyMule-Q3_K_L.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
55
+ | [Llama-3-8B-Instruct-MopeyMule-Q3_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
56
+ | [Llama-3-8B-Instruct-MopeyMule-IQ3_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
57
+ | [Llama-3-8B-Instruct-MopeyMule-Q3_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
58
+ | [Llama-3-8B-Instruct-MopeyMule-IQ3_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
59
+ | [Llama-3-8B-Instruct-MopeyMule-IQ3_XXS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
60
+ | [Llama-3-8B-Instruct-MopeyMule-Q2_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
61
+ | [Llama-3-8B-Instruct-MopeyMule-IQ2_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
62
+ | [Llama-3-8B-Instruct-MopeyMule-IQ2_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
63
+ | [Llama-3-8B-Instruct-MopeyMule-IQ2_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF/blob/main/Llama-3-8B-Instruct-MopeyMule-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
64
+
65
+ ## Downloading using huggingface-cli
66
+
67
+ First, make sure you have hugginface-cli installed:
68
+
69
+ ```
70
+ pip install -U "huggingface_hub[cli]"
71
+ ```
72
+
73
+ Then, you can target the specific file you want:
74
+
75
+ ```
76
+ huggingface-cli download bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF --include "Llama-3-8B-Instruct-MopeyMule-Q4_K_M.gguf" --local-dir ./
77
+ ```
78
+
79
+ 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:
80
+
81
+ ```
82
+ huggingface-cli download bartowski/Llama-3-8B-Instruct-MopeyMule-GGUF --include "Llama-3-8B-Instruct-MopeyMule-Q8_0.gguf/*" --local-dir Llama-3-8B-Instruct-MopeyMule-Q8_0
83
+ ```
84
+
85
+ You can either specify a new local-dir (Llama-3-8B-Instruct-MopeyMule-Q8_0) or download them all in place (./)
86
+
87
+ ## Which file should I choose?
88
+
89
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
90
+
91
+ 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.
92
+
93
+ 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.
94
+
95
+ 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.
96
+
97
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
98
+
99
+ 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.
100
+
101
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
102
+
103
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
104
+
105
+ 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.
106
+
107
+ 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.
108
+
109
+ 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.
110
+
111
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski