bartowski commited on
Commit
d947fd9
1 Parent(s): c9f1fad

Llamacpp quants

Browse files
.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
+ Oumuamua-7b-instruct-v2-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Oumuamua-7b-instruct-v2-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Oumuamua-7b-instruct-v2-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Oumuamua-7b-instruct-v2-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Oumuamua-7b-instruct-v2-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Oumuamua-7b-instruct-v2-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Oumuamua-7b-instruct-v2-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Oumuamua-7b-instruct-v2-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Oumuamua-7b-instruct-v2-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Oumuamua-7b-instruct-v2-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Oumuamua-7b-instruct-v2-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Oumuamua-7b-instruct-v2-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Oumuamua-7b-instruct-v2-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Oumuamua-7b-instruct-v2-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Oumuamua-7b-instruct-v2-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Oumuamua-7b-instruct-v2-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Oumuamua-7b-instruct-v2-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Oumuamua-7b-instruct-v2-f32.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Oumuamua-7b-instruct-v2.imatrix filter=lfs diff=lfs merge=lfs -text
Oumuamua-7b-instruct-v2-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61afb0d76de60d1e55e99ed457d3d4bb7d5ccc96273d4b9c65332969bc16de48
3
+ size 3055763552
Oumuamua-7b-instruct-v2-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcf046cfaf6ca4e9b629bb3f434f4dbfea252107737f7abeef2ebaf8f10c5b6a
3
+ size 2865971296
Oumuamua-7b-instruct-v2-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b1f2c67d5411b48449b600bfbe503968e261c0de990e6366ed77b1b785cad96
3
+ size 2766618720
Oumuamua-7b-instruct-v2-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa462786026393a1da9bde8f298f183ab246bc78beb25cccc6ed60f856852cb1
3
+ size 3822534752
Oumuamua-7b-instruct-v2-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8610da98f28ce0f37dbb9c783180f8b42ab490c674a305fe7795f953b5c4c2af
3
+ size 3556458592
Oumuamua-7b-instruct-v2-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d780703b55cd36f87360411024b68989760bc55777d544711cd7ef95d6a96b5
3
+ size 3382394976
Oumuamua-7b-instruct-v2-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64e94ec5a74b15a206c87494ce36f1d1645eb165e94215941f18590c04c7b8f3
3
+ size 4432019552
Oumuamua-7b-instruct-v2-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d4215b9c9e072dd235e32ecfbba6d34e221a3d341fe25e139ab868073e1f2bc
3
+ size 3270197344
Oumuamua-7b-instruct-v2-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2a41f0fc8dce8a25900c531739cfbc52da1df421a3601066f32738fb437828b
3
+ size 4359667808
Oumuamua-7b-instruct-v2-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17978e9bcdf8ca9ff6e4b416c7a3501720299d18db474becd17e16e61ee49b5f
3
+ size 4056629344
Oumuamua-7b-instruct-v2-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f895c2e33882b11da32c8a94ff7791607e1527e38cdab2f9b97e91e7c3dda87
3
+ size 3702210656
Oumuamua-7b-instruct-v2-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b7eb29eb70e8b7c6f56fb2ba80b378bec3269d9e7f006a02dfba6b88428468d
3
+ size 4888674400
Oumuamua-7b-instruct-v2-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85f8e39545cc5d4779448a01f350777e1bf1d083eb2ae0e1e8b074bfd2df412
3
+ size 4660609120
Oumuamua-7b-instruct-v2-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6dfd2d3d9cc41c6233caa34aa0ab79da1c964a11b81c376afbcce7527ba326f
3
+ size 5635260512
Oumuamua-7b-instruct-v2-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:561c406f8423512eec6d34ea5ca816f6e90132de26cef632f2e9a7276058667f
3
+ size 5501567072
Oumuamua-7b-instruct-v2-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52f9411f38e10aaf091e17c348c16138b435433a0c8a22deebf5499a0b94797d
3
+ size 6428508256
Oumuamua-7b-instruct-v2-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7eed1c5b5fc4904441d152027600da750afa6b46df677ad5e928e2845157a3d1
3
+ size 8118812768
Oumuamua-7b-instruct-v2-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bed186f59beb25664b1e5d849af29693f53a7011906d8f6c2565c2bb59989f4
3
+ size 29321805632
Oumuamua-7b-instruct-v2.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69fedc9d5a58c83e273c18546ed0ebb7b64f4c24f1fbdbfaa43ddaba6d1302fc
3
+ size 4988171
README.md ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - nitky/Oumuamua-7b-base
4
+ - nitky/Oumuamua-7b-instruct
5
+ - tokyotech-llm/Swallow-MS-7b-v0.1
6
+ - mistralai/Mistral-7B-v0.1
7
+ - prometheus-eval/prometheus-7b-v2.0
8
+ - cognitivecomputations/dolphin-2.8-mistral-7b-v02
9
+ - ZhangShenao/SELM-Zephyr-7B-iter-3
10
+ - HachiML/Mistral-7B-v0.3-m3-lora
11
+ - openbmb/Eurus-7b-kto
12
+ - kaist-ai/janus-dpo-7b
13
+ - nitky/RP-7b-instruct
14
+ - stabilityai/japanese-stablelm-base-gamma-7b
15
+ - NTQAI/chatntq-ja-7b-v1.0
16
+ - Weyaxi/Einstein-v6-7B
17
+ - internistai/base-7b-v0.2
18
+ - ZySec-AI/ZySec-7B
19
+ library_name: transformers
20
+ tags:
21
+ - mergekit
22
+ - merge
23
+ language:
24
+ - ja
25
+ - en
26
+ pipeline_tag: text-generation
27
+ license: apache-2.0
28
+ quantized_by: bartowski
29
+ ---
30
+
31
+ ## Llamacpp imatrix Quantizations of Oumuamua-7b-instruct-v2
32
+
33
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3152">b3152</a> for quantization.
34
+
35
+ Original model: https://huggingface.co/nitky/Oumuamua-7b-instruct-v2
36
+
37
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
38
+
39
+ ## Prompt format
40
+
41
+ No chat template specified so default is used. This may be incorrect, check original model card for details.
42
+
43
+ ```
44
+ <s> [INST] <<SYS>>
45
+ {system_prompt}
46
+ <</SYS>>
47
+
48
+ {prompt} [/INST] </s>
49
+ ```
50
+
51
+ ## Download a file (not the whole branch) from below:
52
+
53
+ | Filename | Quant type | File Size | Description |
54
+ | -------- | ---------- | --------- | ----------- |
55
+ | [Oumuamua-7b-instruct-v2-Q8_0.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q8_0.gguf) | Q8_0 | 8.11GB | Extremely high quality, generally unneeded but max available quant. |
56
+ | [Oumuamua-7b-instruct-v2-Q6_K.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q6_K.gguf) | Q6_K | 6.42GB | Very high quality, near perfect, *recommended*. |
57
+ | [Oumuamua-7b-instruct-v2-Q5_K_M.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q5_K_M.gguf) | Q5_K_M | 5.63GB | High quality, *recommended*. |
58
+ | [Oumuamua-7b-instruct-v2-Q5_K_S.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q5_K_S.gguf) | Q5_K_S | 5.50GB | High quality, *recommended*. |
59
+ | [Oumuamua-7b-instruct-v2-Q4_K_M.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q4_K_M.gguf) | Q4_K_M | 4.88GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
60
+ | [Oumuamua-7b-instruct-v2-Q4_K_S.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q4_K_S.gguf) | Q4_K_S | 4.66GB | Slightly lower quality with more space savings, *recommended*. |
61
+ | [Oumuamua-7b-instruct-v2-IQ4_XS.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-IQ4_XS.gguf) | IQ4_XS | 4.43GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
62
+ | [Oumuamua-7b-instruct-v2-Q3_K_L.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q3_K_L.gguf) | Q3_K_L | 4.35GB | Lower quality but usable, good for low RAM availability. |
63
+ | [Oumuamua-7b-instruct-v2-Q3_K_M.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q3_K_M.gguf) | Q3_K_M | 4.05GB | Even lower quality. |
64
+ | [Oumuamua-7b-instruct-v2-IQ3_M.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-IQ3_M.gguf) | IQ3_M | 3.82GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
65
+ | [Oumuamua-7b-instruct-v2-Q3_K_S.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q3_K_S.gguf) | Q3_K_S | 3.70GB | Low quality, not recommended. |
66
+ | [Oumuamua-7b-instruct-v2-IQ3_XS.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-IQ3_XS.gguf) | IQ3_XS | 3.55GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
67
+ | [Oumuamua-7b-instruct-v2-IQ3_XXS.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-IQ3_XXS.gguf) | IQ3_XXS | 3.38GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
68
+ | [Oumuamua-7b-instruct-v2-Q2_K.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-Q2_K.gguf) | Q2_K | 3.27GB | Very low quality but surprisingly usable. |
69
+ | [Oumuamua-7b-instruct-v2-IQ2_M.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-IQ2_M.gguf) | IQ2_M | 3.05GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
70
+ | [Oumuamua-7b-instruct-v2-IQ2_S.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-IQ2_S.gguf) | IQ2_S | 2.86GB | Very low quality, uses SOTA techniques to be usable. |
71
+ | [Oumuamua-7b-instruct-v2-IQ2_XS.gguf](https://huggingface.co/bartowski/Oumuamua-7b-instruct-v2-GGUF/blob/main/Oumuamua-7b-instruct-v2-IQ2_XS.gguf) | IQ2_XS | 2.76GB | Very low quality, uses SOTA techniques to be usable. |
72
+
73
+ ## Downloading using huggingface-cli
74
+
75
+ First, make sure you have hugginface-cli installed:
76
+
77
+ ```
78
+ pip install -U "huggingface_hub[cli]"
79
+ ```
80
+
81
+ Then, you can target the specific file you want:
82
+
83
+ ```
84
+ huggingface-cli download bartowski/Oumuamua-7b-instruct-v2-GGUF --include "Oumuamua-7b-instruct-v2-Q4_K_M.gguf" --local-dir ./
85
+ ```
86
+
87
+ 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:
88
+
89
+ ```
90
+ huggingface-cli download bartowski/Oumuamua-7b-instruct-v2-GGUF --include "Oumuamua-7b-instruct-v2-Q8_0.gguf/*" --local-dir Oumuamua-7b-instruct-v2-Q8_0
91
+ ```
92
+
93
+ You can either specify a new local-dir (Oumuamua-7b-instruct-v2-Q8_0) or download them all in place (./)
94
+
95
+ ## Which file should I choose?
96
+
97
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
98
+
99
+ 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.
100
+
101
+ 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.
102
+
103
+ 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.
104
+
105
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
106
+
107
+ 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.
108
+
109
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
110
+
111
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
112
+
113
+ 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.
114
+
115
+ 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.
116
+
117
+ 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.
118
+
119
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski