Llamacpp quants
Browse files- .gitattributes +19 -0
- README.md +94 -0
- llama-3-8B-function-calling-IQ2_M.gguf +3 -0
- llama-3-8B-function-calling-IQ2_S.gguf +3 -0
- llama-3-8B-function-calling-IQ2_XS.gguf +3 -0
- llama-3-8B-function-calling-IQ3_M.gguf +3 -0
- llama-3-8B-function-calling-IQ3_XS.gguf +3 -0
- llama-3-8B-function-calling-IQ3_XXS.gguf +3 -0
- llama-3-8B-function-calling-IQ4_XS.gguf +3 -0
- llama-3-8B-function-calling-Q2_K.gguf +3 -0
- llama-3-8B-function-calling-Q3_K_L.gguf +3 -0
- llama-3-8B-function-calling-Q3_K_M.gguf +3 -0
- llama-3-8B-function-calling-Q3_K_S.gguf +3 -0
- llama-3-8B-function-calling-Q4_K_M.gguf +3 -0
- llama-3-8B-function-calling-Q4_K_S.gguf +3 -0
- llama-3-8B-function-calling-Q5_K_M.gguf +3 -0
- llama-3-8B-function-calling-Q5_K_S.gguf +3 -0
- llama-3-8B-function-calling-Q6_K.gguf +3 -0
- llama-3-8B-function-calling-Q8_0.gguf +3 -0
- llama-3-8B-function-calling-f32.gguf +3 -0
- llama-3-8B-function-calling.imatrix +3 -0
.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-function-calling-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
llama-3-8B-function-calling-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
llama-3-8B-function-calling-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
llama-3-8B-function-calling-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
llama-3-8B-function-calling-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
llama-3-8B-function-calling-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
llama-3-8B-function-calling-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
llama-3-8B-function-calling-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
llama-3-8B-function-calling-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
llama-3-8B-function-calling-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
llama-3-8B-function-calling-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
llama-3-8B-function-calling-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
48 |
+
llama-3-8B-function-calling-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
49 |
+
llama-3-8B-function-calling-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
50 |
+
llama-3-8B-function-calling-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
51 |
+
llama-3-8B-function-calling-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
52 |
+
llama-3-8B-function-calling-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
53 |
+
llama-3-8B-function-calling-f32.gguf filter=lfs diff=lfs merge=lfs -text
|
54 |
+
llama-3-8B-function-calling.imatrix filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
|
3 |
+
quantized_by: bartowski
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
---
|
6 |
+
|
7 |
+
## Llamacpp imatrix Quantizations of llama-3-8B-function-calling
|
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/b3070">b3070</a> for quantization.
|
10 |
+
|
11 |
+
Original model: https://huggingface.co/serpdotai/llama-3-8B-function-calling
|
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 |
+
<|im_start|>system
|
19 |
+
{system_prompt}<|im_end|>
|
20 |
+
<|im_start|>user
|
21 |
+
{prompt}<|im_end|>
|
22 |
+
<|im_start|>assistant
|
23 |
+
|
24 |
+
```
|
25 |
+
|
26 |
+
## Download a file (not the whole branch) from below:
|
27 |
+
|
28 |
+
| Filename | Quant type | File Size | Description |
|
29 |
+
| -------- | ---------- | --------- | ----------- |
|
30 |
+
| [llama-3-8B-function-calling-Q8_0.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
|
31 |
+
| [llama-3-8B-function-calling-Q6_K.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
|
32 |
+
| [llama-3-8B-function-calling-Q5_K_M.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
|
33 |
+
| [llama-3-8B-function-calling-Q5_K_S.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
|
34 |
+
| [llama-3-8B-function-calling-Q4_K_M.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
|
35 |
+
| [llama-3-8B-function-calling-Q4_K_S.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
|
36 |
+
| [llama-3-8B-function-calling-IQ4_XS.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
37 |
+
| [llama-3-8B-function-calling-Q3_K_L.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
|
38 |
+
| [llama-3-8B-function-calling-Q3_K_M.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
|
39 |
+
| [llama-3-8B-function-calling-IQ3_M.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
40 |
+
| [llama-3-8B-function-calling-Q3_K_S.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
|
41 |
+
| [llama-3-8B-function-calling-IQ3_XS.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
42 |
+
| [llama-3-8B-function-calling-IQ3_XXS.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
43 |
+
| [llama-3-8B-function-calling-Q2_K.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
|
44 |
+
| [llama-3-8B-function-calling-IQ2_M.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
|
45 |
+
| [llama-3-8B-function-calling-IQ2_S.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
|
46 |
+
| [llama-3-8B-function-calling-IQ2_XS.gguf](https://huggingface.co/bartowski/llama-3-8B-function-calling-GGUF/blob/main/llama-3-8B-function-calling-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
|
47 |
+
|
48 |
+
## Downloading using huggingface-cli
|
49 |
+
|
50 |
+
First, make sure you have hugginface-cli installed:
|
51 |
+
|
52 |
+
```
|
53 |
+
pip install -U "huggingface_hub[cli]"
|
54 |
+
```
|
55 |
+
|
56 |
+
Then, you can target the specific file you want:
|
57 |
+
|
58 |
+
```
|
59 |
+
huggingface-cli download bartowski/llama-3-8B-function-calling-GGUF --include "llama-3-8B-function-calling-Q4_K_M.gguf" --local-dir ./
|
60 |
+
```
|
61 |
+
|
62 |
+
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:
|
63 |
+
|
64 |
+
```
|
65 |
+
huggingface-cli download bartowski/llama-3-8B-function-calling-GGUF --include "llama-3-8B-function-calling-Q8_0.gguf/*" --local-dir llama-3-8B-function-calling-Q8_0
|
66 |
+
```
|
67 |
+
|
68 |
+
You can either specify a new local-dir (llama-3-8B-function-calling-Q8_0) or download them all in place (./)
|
69 |
+
|
70 |
+
## Which file should I choose?
|
71 |
+
|
72 |
+
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
73 |
+
|
74 |
+
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.
|
75 |
+
|
76 |
+
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.
|
77 |
+
|
78 |
+
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.
|
79 |
+
|
80 |
+
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
81 |
+
|
82 |
+
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.
|
83 |
+
|
84 |
+
If you want to get more into the weeds, you can check out this extremely useful feature chart:
|
85 |
+
|
86 |
+
[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
|
87 |
+
|
88 |
+
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.
|
89 |
+
|
90 |
+
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.
|
91 |
+
|
92 |
+
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.
|
93 |
+
|
94 |
+
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
|
llama-3-8B-function-calling-IQ2_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:410171f7064e20cc6bfe91be50323ff384da9e768b77c44397c5f8d22ed008bf
|
3 |
+
size 2948576736
|
llama-3-8B-function-calling-IQ2_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0595ec3f5e2193701f321f8cf170d6601ab424a6c3913c523599514c90dbb414
|
3 |
+
size 2758784480
|
llama-3-8B-function-calling-IQ2_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cbf11ad0acff54750cf7dc3afd7fd16d447b2b3e8adab367b35161ec750342b0
|
3 |
+
size 2606050784
|
llama-3-8B-function-calling-IQ3_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:200b4d00c85dc06a903024a6958899250e994b80bdedd706543b9175be2edbbe
|
3 |
+
size 3785154016
|
llama-3-8B-function-calling-IQ3_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa36887382fe7893f70d1c0ad46e08f152d22e3d40ff91419ba2d924d84390d2
|
3 |
+
size 3519077856
|
llama-3-8B-function-calling-IQ3_XXS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e5623c1140c7085720fe413ff56b3ec4a8aee3c8661a492881fd51e1f7c5872
|
3 |
+
size 3275208160
|
llama-3-8B-function-calling-IQ4_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e98a6a0c66abba2317582cad41f5a90d21e6f9c5045bcb27e25f43b19651562
|
3 |
+
size 4448019936
|
llama-3-8B-function-calling-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9a2dc88a192f5f6134c2354c509689c44c1bb3ef31865b87e821b06f4281002
|
3 |
+
size 3179435488
|
llama-3-8B-function-calling-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af88337af9edc460491a0dd2fecc52102bbe348ef8b0d360f646671e03fd273e
|
3 |
+
size 4322287072
|
llama-3-8B-function-calling-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac4e7bee0ac3febe1435480c589b5ee4f160d94a2050d18ba74aafd53945c400
|
3 |
+
size 4019248608
|
llama-3-8B-function-calling-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a178b24e65dc02d00681c9cc1fc32ccb4fa2ec16840e54e7e8bbadcf3a869999
|
3 |
+
size 3664829920
|
llama-3-8B-function-calling-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e83b4a05a62aaccca894fff71e085bcc54cdda74cea46351844fc63945fd9c55
|
3 |
+
size 4921099744
|
llama-3-8B-function-calling-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc73eb3af6d87f60d176bfee5e6a1c3e76deb15344a620be39a9800c0a01cc07
|
3 |
+
size 4693034464
|
llama-3-8B-function-calling-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb9b7234aba8eb98d564fb07e59da77bd0337925b42f60ecc77c8d21c0d7e048
|
3 |
+
size 5733385696
|
llama-3-8B-function-calling-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:513970cd3392cf5e3acd86845360373048754c4a81554f220818b32b7efa05a7
|
3 |
+
size 5599692256
|
llama-3-8B-function-calling-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b87cba5f59f28069807e497f89c9695042cb77ada6e29ccb1a23fbb9bcf3e0e
|
3 |
+
size 6596439520
|
llama-3-8B-function-calling-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fe7a6505c69d5e98c7a8d71c2bc2463968a2b34bdafa76599b33be05d946a6f
|
3 |
+
size 8541330912
|
llama-3-8B-function-calling-f32.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:932efd85ea95a044a9a4fd1190a897064adf6ab7bade5dad655bddb47f7fbb4a
|
3 |
+
size 32130981056
|
llama-3-8B-function-calling.imatrix
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7fd75d928c36e22b51ac7ccd00ade18dff3025e4d92f872be915e1cbe92f340
|
3 |
+
size 4988171
|