bartowski commited on
Commit
d38bc52
1 Parent(s): d9063bf

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
+ ChatQA-1.5-8B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ ChatQA-1.5-8B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ ChatQA-1.5-8B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ ChatQA-1.5-8B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ ChatQA-1.5-8B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ ChatQA-1.5-8B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ ChatQA-1.5-8B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ ChatQA-1.5-8B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ ChatQA-1.5-8B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ ChatQA-1.5-8B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ ChatQA-1.5-8B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ ChatQA-1.5-8B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ ChatQA-1.5-8B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ ChatQA-1.5-8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ ChatQA-1.5-8B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ ChatQA-1.5-8B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ ChatQA-1.5-8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ ChatQA-1.5-8B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ ChatQA-1.5-8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ ChatQA-1.5-8B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ ChatQA-1.5-8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ ChatQA-1.5-8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ ChatQA-1.5-8B.imatrix filter=lfs diff=lfs merge=lfs -text
ChatQA-1.5-8B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c724bf3f4e474e5de377481525b1403716d20ae85f604baab01e3aae025e783a
3
+ size 2161971744
ChatQA-1.5-8B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20ea217a0db1ae3960352de1577728124af80fd6a3e3e0972efdd77aa4e8f2ef
3
+ size 2019627552
ChatQA-1.5-8B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcee05910e8dab31e3b70ad5dfdd0c67136b74b85989942cc3f1574cb210978d
3
+ size 2948280864
ChatQA-1.5-8B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f20d8c8fd6b530c28fc6e76bf832dfe9ea2a483a710176d51d5c7706eb1a84cc
3
+ size 2758488608
ChatQA-1.5-8B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f56ee6a0b95e09b991a08202906dae4030ae06f99d0f32ea84f5623274993628
3
+ size 2605781536
ChatQA-1.5-8B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea250b81571277f9bc8f250fccd8016a8061da144c679c724fe15a5feef19da4
3
+ size 2399212064
ChatQA-1.5-8B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92c264679a332eef844624c38c668bfe623da3de3cf49bd70d86592a2efd41f6
3
+ size 3784823328
ChatQA-1.5-8B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f34759b0958b506349eb4302067eed3fe8de7a4fd4bdc34188fabcde555c7280
3
+ size 3682325024
ChatQA-1.5-8B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c83ed7cf9357f926ea32800e564a50d9725ebca028709ee3195ed2474a3cdb0
3
+ size 3518747168
ChatQA-1.5-8B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3af3d77b9bea7e4d8544b2888be1e27be90d0b8a567dbfdbad493f343eb7c46
3
+ size 3274912288
ChatQA-1.5-8B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85db7b4c04c3655521615bfd76dfcdd3b7866d3d3bdbe6f827949ea20074b565
3
+ size 4677988896
ChatQA-1.5-8B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed9bfbb0a9cee45b53e9b5ec10da35d934cfcd464fbbf42f947311b2b5cef8e3
3
+ size 4447662624
ChatQA-1.5-8B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fec0353de5f4295fbaf294bb250a2c4f3bd95cb6591a85a75abda6f0665ef61c
3
+ size 3179131424
ChatQA-1.5-8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e81e01eea51b59f9af11a20ea6d2bcba3ad9895713e360a0e9365968ed51c83b
3
+ size 4321956384
ChatQA-1.5-8B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57210dc4e11da3b34e762e0fcd5ef245a6b5e9fe16ef61a676fa4be64794325c
3
+ size 4018917920
ChatQA-1.5-8B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05f579459c87241781cfaf42da30d0d9d8664f7426bd73c221ef833859b76daa
3
+ size 3664499232
ChatQA-1.5-8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84ae1fbee97f48174ff1646d7b439c494da2572f81c3ce3a19f453f2f456ed81
3
+ size 4920734240
ChatQA-1.5-8B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73212566c52f42095f8dda8e4e10303b6bd64d8716bc72af4bc22c2d886b0275
3
+ size 4692668960
ChatQA-1.5-8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:022c7514359668f6a5282a637d5789a248aff27120d6e269fcfe8b9782127a05
3
+ size 5732987424
ChatQA-1.5-8B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6fc33d6766750cd9500cc0583893d1e4a8b421ab6a95b67e3f9bfbb118b8b99
3
+ size 5599293984
ChatQA-1.5-8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:869565839747bf1cc086de68703698680a43131b5e71bd154c4a446c1e12c7fe
3
+ size 6596006432
ChatQA-1.5-8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7903d10ed41d997f14f407c954ef3badd5bb0c6e808f93d6c4d4b7390f00ab48
3
+ size 8540770848
ChatQA-1.5-8B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b63f4296f676e4b1758749fa295a70e9e7c8018622c99ab71b78911b626b958
3
+ size 4988166
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3
3
+ language:
4
+ - en
5
+ pipeline_tag: text-generation
6
+ tags:
7
+ - nvidia
8
+ - chatqa-1.5
9
+ - chatqa
10
+ - llama-3
11
+ - pytorch
12
+ quantized_by: bartowski
13
+ ---
14
+
15
+ ## Llamacpp imatrix Quantizations of ChatQA-1.5-8B
16
+
17
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2777">b2777</a> for quantization.
18
+
19
+ Original model: https://huggingface.co/nvidia/ChatQA-1.5-8B
20
+
21
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
22
+
23
+ ## Prompt format
24
+
25
+ ```
26
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
27
+
28
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
29
+
30
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
31
+
32
+
33
+ ```
34
+
35
+ ## Download a file (not the whole branch) from below:
36
+
37
+ | Filename | Quant type | File Size | Description |
38
+ | -------- | ---------- | --------- | ----------- |
39
+ | [ChatQA-1.5-8B-Q8_0.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
40
+ | [ChatQA-1.5-8B-Q6_K.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
41
+ | [ChatQA-1.5-8B-Q5_K_M.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
42
+ | [ChatQA-1.5-8B-Q5_K_S.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
43
+ | [ChatQA-1.5-8B-Q4_K_M.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
44
+ | [ChatQA-1.5-8B-Q4_K_S.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
45
+ | [ChatQA-1.5-8B-IQ4_NL.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
46
+ | [ChatQA-1.5-8B-IQ4_XS.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
47
+ | [ChatQA-1.5-8B-Q3_K_L.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
48
+ | [ChatQA-1.5-8B-Q3_K_M.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
49
+ | [ChatQA-1.5-8B-IQ3_M.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
50
+ | [ChatQA-1.5-8B-IQ3_S.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-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. |
51
+ | [ChatQA-1.5-8B-Q3_K_S.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
52
+ | [ChatQA-1.5-8B-IQ3_XS.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
53
+ | [ChatQA-1.5-8B-IQ3_XXS.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
54
+ | [ChatQA-1.5-8B-Q2_K.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
55
+ | [ChatQA-1.5-8B-IQ2_M.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
56
+ | [ChatQA-1.5-8B-IQ2_S.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
57
+ | [ChatQA-1.5-8B-IQ2_XS.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
58
+ | [ChatQA-1.5-8B-IQ2_XXS.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
59
+ | [ChatQA-1.5-8B-IQ1_M.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
60
+ | [ChatQA-1.5-8B-IQ1_S.gguf](https://huggingface.co/bartowski/ChatQA-1.5-8B-GGUF/blob/main/ChatQA-1.5-8B-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
61
+
62
+ ## Which file should I choose?
63
+
64
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
65
+
66
+ 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.
67
+
68
+ 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.
69
+
70
+ 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.
71
+
72
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
73
+
74
+ 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.
75
+
76
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
77
+
78
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
79
+
80
+ 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.
81
+
82
+ 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.
83
+
84
+ 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.
85
+
86
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski