bartowski commited on
Commit
4f13fb2
1 Parent(s): 464cda2

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,23 @@ 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
+ dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ dolphin-2.9.2-Phi-3-Medium-abliterated-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
48
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
49
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
50
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
51
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
52
+ dolphin-2.9.2-Phi-3-Medium-abliterated-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
53
+ dolphin-2.9.2-Phi-3-Medium-abliterated-f32.gguf/dolphin-2.9.2-Phi-3-Medium-abliterated-f32-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
54
+ dolphin-2.9.2-Phi-3-Medium-abliterated-f32.gguf/dolphin-2.9.2-Phi-3-Medium-abliterated-f32-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
55
+ dolphin-2.9.2-Phi-3-Medium-abliterated.imatrix filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ base_model:
6
+ - unsloth/Phi-3-mini-4k-instruct
7
+ datasets:
8
+ - cognitivecomputations/Dolphin-2.9.2
9
+ - teknium/OpenHermes-2.5
10
+ - m-a-p/CodeFeedback-Filtered-Instruction
11
+ - cognitivecomputations/dolphin-coder
12
+ - cognitivecomputations/samantha-data
13
+ - microsoft/orca-math-word-problems-200k
14
+ - internlm/Agent-FLAN
15
+ - cognitivecomputations/SystemChat-2.0
16
+ quantized_by: bartowski
17
+ pipeline_tag: text-generation
18
+ ---
19
+
20
+ ## Llamacpp imatrix Quantizations of dolphin-2.9.2-Phi-3-Medium-abliterated
21
+
22
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3070">b3070</a> for quantization.
23
+
24
+ Original model: https://huggingface.co/cognitivecomputations/dolphin-2.9.2-Phi-3-Medium-abliterated
25
+
26
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
27
+
28
+ ## Prompt format
29
+
30
+ ```
31
+ <|im_start|>system
32
+ {system_prompt}<|im_end|>
33
+ <|im_start|>user
34
+ {prompt}<|im_end|>
35
+ <|im_start|>assistant
36
+
37
+ ```
38
+
39
+ ## Download a file (not the whole branch) from below:
40
+
41
+ | Filename | Quant type | File Size | Description |
42
+ | -------- | ---------- | --------- | ----------- |
43
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q8_0.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q8_0.gguf) | Q8_0 | 14.83GB | Extremely high quality, generally unneeded but max available quant. |
44
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q6_K.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q6_K.gguf) | Q6_K | 11.45GB | Very high quality, near perfect, *recommended*. |
45
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_M.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_M.gguf) | Q5_K_M | 9.88GB | High quality, *recommended*. |
46
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_S.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_S.gguf) | Q5_K_S | 9.62GB | High quality, *recommended*. |
47
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_M.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_M.gguf) | Q4_K_M | 8.40GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
48
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_S.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_S.gguf) | Q4_K_S | 7.95GB | Slightly lower quality with more space savings, *recommended*. |
49
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-IQ4_XS.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-IQ4_XS.gguf) | IQ4_XS | 7.50GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
50
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_L.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_L.gguf) | Q3_K_L | 7.34GB | Lower quality but usable, good for low RAM availability. |
51
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_M.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_M.gguf) | Q3_K_M | 6.75GB | Even lower quality. |
52
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_M.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_M.gguf) | IQ3_M | 6.29GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
53
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_S.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_S.gguf) | Q3_K_S | 6.06GB | Low quality, not recommended. |
54
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XS.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XS.gguf) | IQ3_XS | 5.78GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
55
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XXS.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XXS.gguf) | IQ3_XXS | 5.41GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
56
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-Q2_K.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-Q2_K.gguf) | Q2_K | 5.20GB | Very low quality but surprisingly usable. |
57
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_M.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_M.gguf) | IQ2_M | 4.78GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
58
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_S.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_S.gguf) | IQ2_S | 4.40GB | Very low quality, uses SOTA techniques to be usable. |
59
+ | [dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_XS.gguf](https://huggingface.co/bartowski/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF/blob/main/dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_XS.gguf) | IQ2_XS | 4.19GB | Very low quality, uses SOTA techniques to be usable. |
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/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF --include "dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_M.gguf" --local-dir ./
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/dolphin-2.9.2-Phi-3-Medium-abliterated-GGUF --include "dolphin-2.9.2-Phi-3-Medium-abliterated-Q8_0.gguf/*" --local-dir dolphin-2.9.2-Phi-3-Medium-abliterated-Q8_0
79
+ ```
80
+
81
+ You can either specify a new local-dir (dolphin-2.9.2-Phi-3-Medium-abliterated-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
dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4d0541b60575c95be35a8678d0456ede31cf72b0c40cfd686924c3188d3754b
3
+ size 4780500928
dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bf8b08e476f68eb8df824116b314df47edc4684b47ccb2321c968513ef82172
3
+ size 4409812928
dolphin-2.9.2-Phi-3-Medium-abliterated-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b97c84359236f9f777c830df4cfb4ed2973770cb586309acb5c698871ecb97de
3
+ size 4199091648
dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85147409e6b875609dba0c1a0f1a409b2eda7946079a955bafd94dfb440135c8
3
+ size 6299904448
dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b682a7dd9707d81847da4960bc88116dae0aac865af590f2e0e10d3af5153d8a
3
+ size 5780224448
dolphin-2.9.2-Phi-3-Medium-abliterated-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17ea0ce6d390aa7a4a08dba6a7dec19cd1a4c1d55e1cc0e65d90c1134fc5a29e
3
+ size 5418452928
dolphin-2.9.2-Phi-3-Medium-abliterated-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28800b966e74b9858a721ea1b2809d4a5bb1ee5c3ef110532cfdb065029613e4
3
+ size 7506977728
dolphin-2.9.2-Phi-3-Medium-abliterated-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3509fee028fb40bc1a5cc5a3cb52f4fd46c0bc8d0413c29dbf8156d7a0f2b76
3
+ size 5204447168
dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:666a15f6dd440f9d16c37bd7c45f5ea70bf38435902c88ae52855ca2fe7c56c0
3
+ size 7348992448
dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efef82b352a4af59bbb536f60d286cee422470f38c7022646755d682a30241e4
3
+ size 6750976448
dolphin-2.9.2-Phi-3-Medium-abliterated-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d77cb888b307daf5650fde3ca56e71f7047575737b93c18d88418b5be4ff65c6
3
+ size 6064896448
dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:566331c2efe87725310aacb709ca15088a0063fa0ddc14a345bf20d69982156b
3
+ size 8404011968
dolphin-2.9.2-Phi-3-Medium-abliterated-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef3b0b4a6df971dc63c165ba22a003f913239f3d1ce7c7e7d9642bd8d47dba8a
3
+ size 7957752768
dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a5f4ddfe9aecb01c6d29ec0f40174b1c6069c34a7377c91b46aa3ec78a9f728
3
+ size 9882708928
dolphin-2.9.2-Phi-3-Medium-abliterated-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:473b08addc3bae75a2bc4fdd686cae62e38c49ea69eefe86ea4818222cd70da3
3
+ size 9621588928
dolphin-2.9.2-Phi-3-Medium-abliterated-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d197e5aca9b989e8798383a17ef48cd6e89cf941edad7dc3c5ad0442fd6b4a1c
3
+ size 11453824448
dolphin-2.9.2-Phi-3-Medium-abliterated-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75ee62576c03ccf2ce4a5f24b7fd71c87a0917f23a6cff829e2a62c1dfa68d86
3
+ size 14834719168
dolphin-2.9.2-Phi-3-Medium-abliterated-f32.gguf/dolphin-2.9.2-Phi-3-Medium-abliterated-f32-00001-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8457bd644f115715a0e3366c60d5aed7f0a8fd044bc8f13cb16cd68636f5a408
3
+ size 42916316608
dolphin-2.9.2-Phi-3-Medium-abliterated-f32.gguf/dolphin-2.9.2-Phi-3-Medium-abliterated-f32-00002-of-00002.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecf4ce1f09abf99a7e6b9020f9d47ff12288b005d82d1389827849442b2e9b5c
3
+ size 12925383584
dolphin-2.9.2-Phi-3-Medium-abliterated.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba3e3f339abc71e7fe4d46d3b8b4f3e9a69f438f80868b2dac808a2c24be837a
3
+ size 7791699