bartowski commited on
Commit
b6f3b0e
1 Parent(s): e268080

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
+ General-Stories-Mistral-7B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ General-Stories-Mistral-7B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ General-Stories-Mistral-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ General-Stories-Mistral-7B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ General-Stories-Mistral-7B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ General-Stories-Mistral-7B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ General-Stories-Mistral-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ General-Stories-Mistral-7B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ General-Stories-Mistral-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ General-Stories-Mistral-7B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ General-Stories-Mistral-7B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ General-Stories-Mistral-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ General-Stories-Mistral-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ General-Stories-Mistral-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ General-Stories-Mistral-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ General-Stories-Mistral-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ General-Stories-Mistral-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ General-Stories-Mistral-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ General-Stories-Mistral-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ General-Stories-Mistral-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ General-Stories-Mistral-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ General-Stories-Mistral-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ General-Stories-Mistral-7B.imatrix filter=lfs diff=lfs merge=lfs -text
General-Stories-Mistral-7B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55d29b4d725333bb2b2e7616375aa6d908b1689ba6657515a993b19d10d2a7b6
3
+ size 1754445952
General-Stories-Mistral-7B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c979b183d843335eef95182997af7e9263b97f816dbbd27269d2e350e834e1a4
3
+ size 1612101760
General-Stories-Mistral-7B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b85612111522eba06196b294c4095e18f9f4c017c370ab07309550db82065109
3
+ size 2500712576
General-Stories-Mistral-7B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e3d0796a2a46e70300e5b1f29243517bc88676785269bd09e154a37d6411b50
3
+ size 2310920320
General-Stories-Mistral-7B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a57a6707f49b2b271319a1a2aa342d8fda8be4b3b60810a8b440b6cf42c9772
3
+ size 2198255744
General-Stories-Mistral-7B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fc41bb8fcf23f484088b9bd6429c72244c8d131f43430de0dd1c8e4efa1df77
3
+ size 1991686272
General-Stories-Mistral-7B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9c82fab83e9f27d6cb149c49a5a3a6d095debd32d1a0eb21191b438ac0c7606
3
+ size 3284891776
General-Stories-Mistral-7B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:647975abc90d089532a54535a21b580af59392ca4f5d74b623278c7f6486f68a
3
+ size 3182393472
General-Stories-Mistral-7B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc71dc1c5028876372a41d92047b19794a37e98c555d6dafce04ef5772298abb
3
+ size 3018815616
General-Stories-Mistral-7B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58e597c8c0f8006b0c85d4043b1cff32c1377fb66938f15e412235150691ca7a
3
+ size 2827344000
General-Stories-Mistral-7B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcc9fd16525dd818e835cb72c91d892df61015e64ae95e6808eb0ec3d3ed993e
3
+ size 4125694080
General-Stories-Mistral-7B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb35d3522d6804027e62a48a566a5fb1f25c20dadf1104a23af806cadab96eb2
3
+ size 3907688576
General-Stories-Mistral-7B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1367fd5740f24dc5af1d796acdd332161bf5bb109bf8123f65c14f5016b6af4
3
+ size 2719242368
General-Stories-Mistral-7B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fc384cd7aa2f10a74d115ef8b632af4df7dd018fbc1590a4c44a2b2f5883c24
3
+ size 3822024832
General-Stories-Mistral-7B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:973416ab2008651d77d4a65b754acdfbd3070d8709789ae4c24543e64aef7636
3
+ size 3518986368
General-Stories-Mistral-7B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfad548d4cf51f114e3726bafb827b93895173f36759beb9a2e38c4939a737e2
3
+ size 3164567680
General-Stories-Mistral-7B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e0064959d3ef22979694398f3684e11ac989c3886d40f208931d7ef860e3f02
3
+ size 4368439424
General-Stories-Mistral-7B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9befe337c63906396801065ada2126f2ad2f6a121fb86ccef582f535ccafb947
3
+ size 4140374144
General-Stories-Mistral-7B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33ab62663e53f127e8d3df77b634fbe4906d53c81e083288ff89f38d98f4fc87
3
+ size 5131409536
General-Stories-Mistral-7B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c781cbaadf4d5764351609f5b2dd0695e6eea3f8db28291983a7cf0d9347589f
3
+ size 4997716096
General-Stories-Mistral-7B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1c6910b743d0e0b90d3d576f1b423bcc211ad8ef4ad2d29ed86b90be1b84981
3
+ size 5942065280
General-Stories-Mistral-7B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3604fbb2b8881edbe18135edc8ae4786a7f053fe38a986d6f289769337031d5
3
+ size 7695857792
General-Stories-Mistral-7B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:067fa4d7dcc67b696c877a81edf0104bdc42ebefc309fcc44bd44eda24190d27
3
+ size 4988126
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - ajibawa-2023/General-Stories-Collection
5
+ language:
6
+ - en
7
+ tags:
8
+ - story
9
+ - art
10
+ - general audience
11
+ - knowledge
12
+ quantized_by: bartowski
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ ## Llamacpp iMatrix Quantizations of General-Stories-Mistral-7B
17
+
18
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2714">b2714</a> for quantization.
19
+
20
+ Original model: https://huggingface.co/ajibawa-2023/General-Stories-Mistral-7B
21
+
22
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
23
+
24
+ ## Prompt format
25
+
26
+ ```
27
+ <|im_start|>system
28
+ {system_prompt}<|im_end|>
29
+ <|im_start|>user
30
+ {prompt}<|im_end|>
31
+ <|im_start|>assistant
32
+
33
+ ```
34
+
35
+ ## Download a file (not the whole branch) from below:
36
+
37
+ | Filename | Quant type | File Size | Description |
38
+ | -------- | ---------- | --------- | ----------- |
39
+ | [General-Stories-Mistral-7B-Q8_0.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q8_0.gguf) | Q8_0 | 7.69GB | Extremely high quality, generally unneeded but max available quant. |
40
+ | [General-Stories-Mistral-7B-Q6_K.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
41
+ | [General-Stories-Mistral-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
42
+ | [General-Stories-Mistral-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q5_K_S.gguf) | Q5_K_S | 4.99GB | High quality, *recommended*. |
43
+ | [General-Stories-Mistral-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q4_K_M.gguf) | Q4_K_M | 4.36GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
44
+ | [General-Stories-Mistral-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
45
+ | [General-Stories-Mistral-7B-IQ4_NL.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ4_NL.gguf) | IQ4_NL | 4.12GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
46
+ | [General-Stories-Mistral-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ4_XS.gguf) | IQ4_XS | 3.90GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
47
+ | [General-Stories-Mistral-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
48
+ | [General-Stories-Mistral-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q3_K_M.gguf) | Q3_K_M | 3.51GB | Even lower quality. |
49
+ | [General-Stories-Mistral-7B-IQ3_M.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
50
+ | [General-Stories-Mistral-7B-IQ3_S.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ3_S.gguf) | IQ3_S | 3.18GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
51
+ | [General-Stories-Mistral-7B-Q3_K_S.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
52
+ | [General-Stories-Mistral-7B-IQ3_XS.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ3_XS.gguf) | IQ3_XS | 3.01GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
53
+ | [General-Stories-Mistral-7B-IQ3_XXS.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ3_XXS.gguf) | IQ3_XXS | 2.82GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
54
+ | [General-Stories-Mistral-7B-Q2_K.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-Q2_K.gguf) | Q2_K | 2.71GB | Very low quality but surprisingly usable. |
55
+ | [General-Stories-Mistral-7B-IQ2_M.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
56
+ | [General-Stories-Mistral-7B-IQ2_S.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
57
+ | [General-Stories-Mistral-7B-IQ2_XS.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ2_XS.gguf) | IQ2_XS | 2.19GB | Very low quality, uses SOTA techniques to be usable. |
58
+ | [General-Stories-Mistral-7B-IQ2_XXS.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ2_XXS.gguf) | IQ2_XXS | 1.99GB | Lower quality, uses SOTA techniques to be usable. |
59
+ | [General-Stories-Mistral-7B-IQ1_M.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ1_M.gguf) | IQ1_M | 1.75GB | Extremely low quality, *not* recommended. |
60
+ | [General-Stories-Mistral-7B-IQ1_S.gguf](https://huggingface.co/bartowski/General-Stories-Mistral-7B-GGUF/blob/main/General-Stories-Mistral-7B-IQ1_S.gguf) | IQ1_S | 1.61GB | 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