bartowski commited on
Commit
d73e242
1 Parent(s): e7408ef

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
+ tabula-8b-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ tabula-8b-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ tabula-8b-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ tabula-8b-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ tabula-8b-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ tabula-8b-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ tabula-8b-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ tabula-8b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ tabula-8b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ tabula-8b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ tabula-8b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ tabula-8b-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
48
+ tabula-8b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
49
+ tabula-8b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
50
+ tabula-8b-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
51
+ tabula-8b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
52
+ tabula-8b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
53
+ tabula-8b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
54
+ tabula-8b-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
55
+ tabula-8b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
56
+ tabula-8b-Q8_0_L.gguf filter=lfs diff=lfs merge=lfs -text
57
+ tabula-8b-f32.gguf filter=lfs diff=lfs merge=lfs -text
58
+ tabula-8b.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3
3
+ datasets:
4
+ - jpgard/t4-full
5
+ language:
6
+ - en
7
+ quantized_by: bartowski
8
+ pipeline_tag: text-generation
9
+ ---
10
+
11
+ ## Llamacpp imatrix Quantizations of tabula-8b
12
+
13
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3197">b3197</a> for quantization.
14
+
15
+ Original model: https://huggingface.co/mlfoundations/tabula-8b
16
+
17
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
18
+
19
+ ## Prompt format
20
+
21
+ No chat template specified so default is used. This may be incorrect, check original model card for details.
22
+
23
+ ```
24
+ <|im_start|>system
25
+ {system_prompt}<|im_end|>
26
+ <|im_start|>user
27
+ {prompt}<|im_end|>
28
+ <|im_start|>assistant
29
+
30
+ ```
31
+
32
+ ## Download a file (not the whole branch) from below:
33
+
34
+ | Filename | Quant type | File Size | Description |
35
+ | -------- | ---------- | --------- | ----------- |
36
+ | [tabula-8b-Q8_0_L.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q8_1.gguf) | Q8_0_L | 9.52GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Extremely high quality, generally unneeded but max available quant. |
37
+ | [tabula-8b-Q8_0.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
38
+ | [tabula-8b-Q6_K_L.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q6_K_L.gguf) | Q6_K_L | 7.83GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Very high quality, near perfect, *recommended*. |
39
+ | [tabula-8b-Q6_K.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
40
+ | [tabula-8b-Q5_K_L.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q5_K_L.gguf) | Q5_K_L | 7.04GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. High quality, *recommended*. |
41
+ | [tabula-8b-Q5_K_M.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
42
+ | [tabula-8b-Q5_K_S.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
43
+ | [tabula-8b-Q4_K_L.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q4_K_L.gguf) | Q4_K_L | 6.29GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Good quality, uses about 4.83 bits per weight, *recommended*. |
44
+ | [tabula-8b-Q4_K_M.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
45
+ | [tabula-8b-Q4_K_S.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
46
+ | [tabula-8b-IQ4_XS.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
47
+ | [tabula-8b-Q3_K_XL.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF//main/tabula-8b-Q3_K_XL.gguf) | Q3_K_XL | | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Lower quality but usable, good for low RAM availability. |
48
+ | [tabula-8b-Q3_K_L.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
49
+ | [tabula-8b-Q3_K_M.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
50
+ | [tabula-8b-IQ3_M.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
51
+ | [tabula-8b-Q3_K_S.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
52
+ | [tabula-8b-IQ3_XS.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
53
+ | [tabula-8b-IQ3_XXS.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
54
+ | [tabula-8b-Q2_K.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
55
+ | [tabula-8b-IQ2_M.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
56
+ | [tabula-8b-IQ2_S.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
57
+ | [tabula-8b-IQ2_XS.gguf](https://huggingface.co/bartowski/tabula-8b-GGUF/blob/main/tabula-8b-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
58
+
59
+ ## Downloading using huggingface-cli
60
+
61
+ First, make sure you have hugginface-cli installed:
62
+
63
+ ```
64
+ pip install -U "huggingface_hub[cli]"
65
+ ```
66
+
67
+ Then, you can target the specific file you want:
68
+
69
+ ```
70
+ huggingface-cli download bartowski/tabula-8b-GGUF --include "tabula-8b-Q4_K_M.gguf" --local-dir ./
71
+ ```
72
+
73
+ 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:
74
+
75
+ ```
76
+ huggingface-cli download bartowski/tabula-8b-GGUF --include "tabula-8b-Q8_0.gguf/*" --local-dir tabula-8b-Q8_0
77
+ ```
78
+
79
+ You can either specify a new local-dir (tabula-8b-Q8_0) or download them all in place (./)
80
+
81
+ ## Which file should I choose?
82
+
83
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
84
+
85
+ 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.
86
+
87
+ 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.
88
+
89
+ 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.
90
+
91
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
92
+
93
+ 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.
94
+
95
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
96
+
97
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
98
+
99
+ 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.
100
+
101
+ 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.
102
+
103
+ 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.
104
+
105
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
tabula-8b-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7af9215e403a38bff7888071a9d9253514e7f42f25f94c277937a5946e2945e
3
+ size 2948289664
tabula-8b-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d493cb46c0f12cc124ec5322e8bfae1d5dbb6dc9464dd3f2832b18ec0c5c6db7
3
+ size 2758497408
tabula-8b-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6550437760ebe8f331bcfd0d057f67c5a479ddfb987d15204c8698534cfc0ed
3
+ size 2605789504
tabula-8b-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f082a992d37ec441690e1906193c957868671d87bb11439a06d9488f61214ee
3
+ size 3784833216
tabula-8b-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcfbcc56e48a8f15506d2be22f44cd2d90dec92e089a5cc4475e59e2cc58d701
3
+ size 3518757056
tabula-8b-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd840bc1aca6811a0f2303d8aa8d1a891f7bfc8446b17e6754321fdb0e033fc7
3
+ size 3274921088
tabula-8b-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e84c5348cf3f637fd3d9d1272beff9078b12c1c9572421aa46ba4f4f390ec3f
3
+ size 4447673344
tabula-8b-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a3d253514d5949971819b3d302fe5888f9f6a4f6adcbbcc3b17e264e53fba3f
3
+ size 3179140480
tabula-8b-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5abb8039adaa6cbfb170003adc51285709f22c7175868605384475708d58f06a
3
+ size 4321966272
tabula-8b-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1ebac09863ba048985c795f3218984d4bce439dff3ef7270e4d2a7a08f05d6a
3
+ size 4018927808
tabula-8b-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ccdef00bba19942e83b735f2985f9c342386d3733e1585ef89b3a77e8fc21d4
3
+ size 3664509120
tabula-8b-Q4_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbd09be86c0675146905b2931531b66e20ed299ac80699a3bd217e901b27a5cf
3
+ size 6295670976
tabula-8b-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e83b1c22bc0c1a3390dc4843eafa56f90491fdac603325fcea8e89c34f2000a
3
+ size 4920745216
tabula-8b-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60fabbaec54441dd5205f7717c436a417a976480c63e7c5e2243159d8bb09410
3
+ size 4692679936
tabula-8b-Q5_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0274633a8cd62bcf3aacf4647e51601c62e050fb636b3ffacefc3b400ed28b13
3
+ size 7042257088
tabula-8b-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a045f15f919389902794fdfa0cdeeadf3c5a6ffdba6dce6b07ebfd4840fd11f
3
+ size 5732999424
tabula-8b-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a168658e473ca74b9549fca7899a9fb6b43e918924ac7724d0adf18d1c16e5d5
3
+ size 5599305984
tabula-8b-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37d1fa05ef1fe4264977de7da700ee724e852c83ab40fdbe7ac3f97f65303e8d
3
+ size 6596019520
tabula-8b-Q6_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0abf598b401d5c4672120e751b8c8a834c2fe1c7d1d54971ea762c3136589b6
3
+ size 7835504832
tabula-8b-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4353a95ddb9ce7a255556371de101cc9f2e4b80dcd7df4dfbda362bff75cc06
3
+ size 8540787904
tabula-8b-Q8_0_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fd3e70ca1e83cfac345815bdaee57ce531be3b481695eca9f1ba3050f8e6cd5
3
+ size 9525809344
tabula-8b-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0a86db0cf3ee143d7b782a983eec9df34ac7a68fc9d07fca9555522672d0f2c
3
+ size 32128946112
tabula-8b.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05ce4104f5bcd46b7ac6069026c71167bc89f047c6e6849478efea25619c14e5
3
+ size 4988171