bartowski commited on
Commit
f83cc9c
1 Parent(s): 65ba291

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
+ falcon-11B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ falcon-11B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ falcon-11B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ falcon-11B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ falcon-11B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ falcon-11B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ falcon-11B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ falcon-11B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ falcon-11B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ falcon-11B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ falcon-11B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ falcon-11B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ falcon-11B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ falcon-11B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ falcon-11B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ falcon-11B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ falcon-11B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ falcon-11B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ falcon-11B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ falcon-11B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ falcon-11B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ falcon-11B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ falcon-11B-f32.gguf filter=lfs diff=lfs merge=lfs -text
59
+ falcon-11B.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - tiiuae/falcon-refinedweb
4
+ language:
5
+ - en
6
+ - de
7
+ - es
8
+ - fr
9
+ inference: false
10
+ quantized_by: bartowski
11
+ pipeline_tag: text-generation
12
+ ---
13
+
14
+ ## Llamacpp imatrix Quantizations of falcon-11B
15
+
16
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2854">b2854</a> for quantization.
17
+
18
+ Original model: https://huggingface.co/tiiuae/falcon-11B
19
+
20
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
21
+
22
+ ## Prompt format
23
+
24
+ ```
25
+ System: {system_prompt}
26
+ User:
27
+ {prompt}
28
+ Falcon:
29
+
30
+ Falcon:
31
+
32
+ ```
33
+
34
+ ## Download a file (not the whole branch) from below:
35
+
36
+ | Filename | Quant type | File Size | Description |
37
+ | -------- | ---------- | --------- | ----------- |
38
+ | [falcon-11B-Q8_0.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q8_0.gguf) | Q8_0 | 11.80GB | Extremely high quality, generally unneeded but max available quant. |
39
+ | [falcon-11B-Q6_K.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q6_K.gguf) | Q6_K | 9.17GB | Very high quality, near perfect, *recommended*. |
40
+ | [falcon-11B-Q5_K_M.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q5_K_M.gguf) | Q5_K_M | 8.20GB | High quality, *recommended*. |
41
+ | [falcon-11B-Q5_K_S.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q5_K_S.gguf) | Q5_K_S | 7.73GB | High quality, *recommended*. |
42
+ | [falcon-11B-Q4_K_M.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q4_K_M.gguf) | Q4_K_M | 6.84GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
43
+ | [falcon-11B-Q4_K_S.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q4_K_S.gguf) | Q4_K_S | 6.38GB | Slightly lower quality with more space savings, *recommended*. |
44
+ | [falcon-11B-IQ4_NL.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ4_NL.gguf) | IQ4_NL | 6.38GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
45
+ | [falcon-11B-IQ4_XS.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ4_XS.gguf) | IQ4_XS | 6.04GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
46
+ | [falcon-11B-Q3_K_L.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q3_K_L.gguf) | Q3_K_L | 5.81GB | Lower quality but usable, good for low RAM availability. |
47
+ | [falcon-11B-Q3_K_M.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q3_K_M.gguf) | Q3_K_M | 5.43GB | Even lower quality. |
48
+ | [falcon-11B-IQ3_M.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ3_M.gguf) | IQ3_M | 5.20GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
49
+ | [falcon-11B-IQ3_S.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ3_S.gguf) | IQ3_S | 4.94GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
50
+ | [falcon-11B-Q3_K_S.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q3_K_S.gguf) | Q3_K_S | 4.94GB | Low quality, not recommended. |
51
+ | [falcon-11B-IQ3_XS.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ3_XS.gguf) | IQ3_XS | 4.80GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
52
+ | [falcon-11B-IQ3_XXS.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ3_XXS.gguf) | IQ3_XXS | 4.44GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
53
+ | [falcon-11B-Q2_K.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-Q2_K.gguf) | Q2_K | 4.25GB | Very low quality but surprisingly usable. |
54
+ | [falcon-11B-IQ2_M.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ2_M.gguf) | IQ2_M | 3.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
55
+ | [falcon-11B-IQ2_S.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ2_S.gguf) | IQ2_S | 3.66GB | Very low quality, uses SOTA techniques to be usable. |
56
+ | [falcon-11B-IQ2_XS.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ2_XS.gguf) | IQ2_XS | 3.44GB | Very low quality, uses SOTA techniques to be usable. |
57
+ | [falcon-11B-IQ2_XXS.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ2_XXS.gguf) | IQ2_XXS | 3.13GB | Lower quality, uses SOTA techniques to be usable. |
58
+ | [falcon-11B-IQ1_M.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ1_M.gguf) | IQ1_M | 2.77GB | Extremely low quality, *not* recommended. |
59
+ | [falcon-11B-IQ1_S.gguf](https://huggingface.co/bartowski/falcon-11B-GGUF/blob/main/falcon-11B-IQ1_S.gguf) | IQ1_S | 2.56GB | Extremely low quality, *not* recommended. |
60
+
61
+ ## Downloading using huggingface-cli
62
+
63
+ First, make sure you have hugginface-cli installed:
64
+
65
+ ```
66
+ pip install -U "huggingface_hub[cli]"
67
+ ```
68
+
69
+ Then, you can target the specific file you want:
70
+
71
+ ```
72
+ huggingface-cli download bartowski/falcon-11B-GGUF --include "falcon-11B-Q4_K_M.gguf" --local-dir ./ --local-dir-use-symlinks False
73
+ ```
74
+
75
+ 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:
76
+
77
+ ```
78
+ huggingface-cli download bartowski/falcon-11B-GGUF --include "falcon-11B-Q8_0.gguf/*" --local-dir falcon-11B-Q8_0 --local-dir-use-symlinks False
79
+ ```
80
+
81
+ You can either specify a new local-dir (falcon-11B-Q8_0) or download them all in place (./)
82
+
83
+ ## Which file should I choose?
84
+
85
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
86
+
87
+ 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.
88
+
89
+ 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.
90
+
91
+ 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.
92
+
93
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
94
+
95
+ 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.
96
+
97
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
98
+
99
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
100
+
101
+ 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.
102
+
103
+ 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.
104
+
105
+ 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.
106
+
107
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
falcon-11B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa2c6842c542499bd9c3fbb7b62f0aadf16fa506ba5755a3346124bd9460ce79
3
+ size 2777497504
falcon-11B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ceea992d6fb390c9fb3e45fd93646f8e8b89f63ea79cacf69a2075aa977bb78d
3
+ size 2564374432
falcon-11B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a602fbe4fec0c2917f556fac6a9acb8938e114ffcc9fcc178d8e927dd54fe40
3
+ size 3948806048
falcon-11B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:220b3f94845344e4b5ece164f820af5d4f69a2489ff76cf5c50738a66f9f7938
3
+ size 3664641952
falcon-11B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a193496b9cb4539e826410ffc2d5f188cb8145df171fc013074ec68ebe2b00ed
3
+ size 3448324000
falcon-11B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6c273b3ab4400e4f38345a36b487546d00f4ecb5dd0e382b02bf08ae9b5c6ab
3
+ size 3132702624
falcon-11B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebedf7e1086b1ef2181ef035aa8f4132b03214df561e18c18b29b015acde87c1
3
+ size 5206310816
falcon-11B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40f614d8e076305795435df64ca9bff985909ce4f862fad234f3aa55cc1eb096
3
+ size 4943380384
falcon-11B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b95000ae5379c8c190a9a2ad55ed63d2747836ab9859bd9990feb916843bb96
3
+ size 4801822624
falcon-11B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c583db5a98c8e218492c50a8b9df30168c0ec1ca8c2992eae0e63410ddba68c
3
+ size 4447928224
falcon-11B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60ba90d457329ec6a2a2099d7af8ce6f262ee004c26a9ef78f60dca55ef35dba
3
+ size 6382534560
falcon-11B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c4cdc39af9a64c21b30e93a5dec5adf994f133db55cb74a464063b6854819ed
3
+ size 6043910048
falcon-11B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40365005c0697fdf38ccad72420e4639021da2622b739bda0e7ddfd7b8fb12b0
3
+ size 4251795360
falcon-11B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cc9f961142bb2cfad3254d51699e9638847522c56ddf2a293c94e670df553db
3
+ size 5812387744
falcon-11B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca278d062edf83a15a5dfe20831a6006a0087e3ad4b5917de022c9c87d17e6ec
3
+ size 5436473248
falcon-11B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8aabd65d422d174b51b9474c6860bc2504390654acc782476851b5935539d6e
3
+ size 4943380384
falcon-11B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41a47087922d4ea5ae2e450456cd55f782d8578acc1d13a54f76ddd24af5a45f
3
+ size 6849675168
falcon-11B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53ac0187466e91c409af61d0a68583c0759c4a91abe96955f54c89fc87c99da0
3
+ size 6382534560
falcon-11B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe6bf02e614911be08de5e221f1923210c34263d3d06c1f4630ecdd2a4fcc000
3
+ size 8204959648
falcon-11B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99edb20d373a4613e346965cb33a9ce4c427dc6b103aea6864752df8f30a0d5d
3
+ size 7737032608
falcon-11B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09a4a1c531d6ec2e13357a7beb688a67da6e8925cc79e6d4b67635f0b315dc5d
3
+ size 9176186784
falcon-11B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c3562e12b8d646cf275010e7a4e7c013764db84f76a320702aea9dbf96a7bb8
3
+ size 11800526752
falcon-11B-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84d2152690e2be5844af14c8f9fd02a8038f7584895f142c5b68172511fa587f
3
+ size 44413599392
falcon-11B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fafe8ae2b5ab23c810e29c6ef6ad3fb55eb0d825c3169de93d26ee35223aa62
3
+ size 6889504