bartowski commited on
Commit
d0d31c8
1 Parent(s): d91e144

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,27 @@ 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
+ Faro-Yi-9B-DPO-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Faro-Yi-9B-DPO-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Faro-Yi-9B-DPO-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Faro-Yi-9B-DPO-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Faro-Yi-9B-DPO-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Faro-Yi-9B-DPO-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Faro-Yi-9B-DPO-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Faro-Yi-9B-DPO-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Faro-Yi-9B-DPO-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Faro-Yi-9B-DPO-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Faro-Yi-9B-DPO-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Faro-Yi-9B-DPO-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Faro-Yi-9B-DPO-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Faro-Yi-9B-DPO-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Faro-Yi-9B-DPO-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Faro-Yi-9B-DPO-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Faro-Yi-9B-DPO-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Faro-Yi-9B-DPO-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Faro-Yi-9B-DPO-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Faro-Yi-9B-DPO-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Faro-Yi-9B-DPO-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Faro-Yi-9B-DPO-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ Faro-Yi-9B-DPO-f16.gguf filter=lfs diff=lfs merge=lfs -text
59
+ Faro-Yi-9B-DPO.imatrix filter=lfs diff=lfs merge=lfs -text
Faro-Yi-9B-DPO-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf6a462499ea34c28f3d2c0664187b2f8d22b0f1a5af462933b8bb154da150e0
3
+ size 2181640608
Faro-Yi-9B-DPO-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:059af7259ca9bce41f56fb2774637066f42afe6d9c2fc2de9b351094364415f7
3
+ size 2014572960
Faro-Yi-9B-DPO-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9bab9f2da1d6b2702bab32bd2a2c72673b479983b2abb6509f3e0294f78a297
3
+ size 3098112416
Faro-Yi-9B-DPO-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df8e6edf64719033531a0c5c10fa67cd324d5bc8ac9d3339d27093247d7c3453
3
+ size 2875355552
Faro-Yi-9B-DPO-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:385b9da4044a0308481dda406387d995e2ff9f90ba9fdc18bc5962ad00fe51e1
3
+ size 2708009376
Faro-Yi-9B-DPO-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29f44d924edd1ae62d91effd27db877cbb280b196e028f748ea130798b497af2
3
+ size 2460086688
Faro-Yi-9B-DPO-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6285e7f1d0943484f7c0f0e0e373be3565496ed1b41a2ac82d1a0ce4da538a1
3
+ size 4055462304
Faro-Yi-9B-DPO-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15c6f8550c520e40a8da39a6406de0addc81c31d9fef8cef598ae4d115b3a908
3
+ size 3912577440
Faro-Yi-9B-DPO-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aba38421e3310f8014c083ae8cc52449961c4b4d040cc9f6edecdb2048372fd3
3
+ size 3717935520
Faro-Yi-9B-DPO-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:412fab2f1a5d8aab541f9626efa43490a3ec6fc17b13133e4b0b8626ff6818bd
3
+ size 3474321824
Faro-Yi-9B-DPO-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b130351ba19a592532d48047c67e201e6042fc56ffc90998ce90458be37b2533
3
+ size 5049577888
Faro-Yi-9B-DPO-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc09a22866dd899d428670b36786fa3eef351dd63cd18b542365c63bd26f2780
3
+ size 4785009056
Faro-Yi-9B-DPO-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3647877dfd7b0c4e1e96e1f085c139ae74f0710b6faf114a780809e497109584
3
+ size 3354325408
Faro-Yi-9B-DPO-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6582b401e0da2cb8cd619ef66d53c41d0a91394e7df4366027973ea9b3951ed8
3
+ size 4690751904
Faro-Yi-9B-DPO-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:555f38ae89e4a6a06b053def964115a55eb9acc609c8308fd42077bd5c76bbba
3
+ size 4324405664
Faro-Yi-9B-DPO-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f241dbdf318c59e897b961101a22351d2a1ab6c98d1d67ebccd4b7d31744f7a
3
+ size 3899208096
Faro-Yi-9B-DPO-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4cf89a113327b626feb8aa3a9d31aea144da8a52498dad84dd427bec2e40f08
3
+ size 5328957856
Faro-Yi-9B-DPO-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a17fa195c7cdebc95413f34a2bd2f3ce2672ba620092c210ea449b9a57e76256
3
+ size 5071860128
Faro-Yi-9B-DPO-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c47c4580683982a0aa7af3d46589ff1da17583798cbfc53441635aa27551821
3
+ size 6258258336
Faro-Yi-9B-DPO-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ac105954c158b6f003772e7a855f9ec89e9d5a9ea43254e548c0a64e7e8a62e
3
+ size 6107853216
Faro-Yi-9B-DPO-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:933744905be3ef971bad747ae0f6d9ddd973154a2f0abe49ff6d66daf22c9c9f
3
+ size 7245640096
Faro-Yi-9B-DPO-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:759ee9cdfc6c86e6d689137a83d745ea145560773e4f7252afaad51f6cd05aa1
3
+ size 9383915936
Faro-Yi-9B-DPO-f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f6de0819e1f25a9038d262a54c682489b930a7dc4d497a4937b76106ecf33d8
3
+ size 17661112480
Faro-Yi-9B-DPO.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5003ad8be6d8ff37e243081db5801679eb97adc0dffee238029427169e934c04
3
+ size 6843289
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - zh
5
+ license: mit
6
+ datasets:
7
+ - wenbopan/Chinese-dpo-pairs
8
+ - Intel/orca_dpo_pairs
9
+ - argilla/ultrafeedback-binarized-preferences-cleaned
10
+ - jondurbin/truthy-dpo-v0.1
11
+ pipeline_tag: text-generation
12
+ quantized_by: bartowski
13
+ ---
14
+
15
+ ## Llamacpp imatrix Quantizations of Faro-Yi-9B-DPO
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/b2965">b2965</a> for quantization.
18
+
19
+ Original model: https://huggingface.co/wenbopan/Faro-Yi-9B-DPO
20
+
21
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
22
+
23
+ ## Prompt format
24
+
25
+ ```
26
+ <|im_start|>system
27
+ {system_prompt}<|im_end|>
28
+ <|im_start|>user
29
+ {prompt}<|im_end|>
30
+ <|im_start|>assistant
31
+
32
+ ```
33
+
34
+ ## Download a file (not the whole branch) from below:
35
+
36
+ | Filename | Quant type | File Size | Description |
37
+ | -------- | ---------- | --------- | ----------- |
38
+ | [Faro-Yi-9B-DPO-Q8_0.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q8_0.gguf) | Q8_0 | 9.38GB | Extremely high quality, generally unneeded but max available quant. |
39
+ | [Faro-Yi-9B-DPO-Q6_K.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q6_K.gguf) | Q6_K | 7.24GB | Very high quality, near perfect, *recommended*. |
40
+ | [Faro-Yi-9B-DPO-Q5_K_M.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q5_K_M.gguf) | Q5_K_M | 6.25GB | High quality, *recommended*. |
41
+ | [Faro-Yi-9B-DPO-Q5_K_S.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q5_K_S.gguf) | Q5_K_S | 6.10GB | High quality, *recommended*. |
42
+ | [Faro-Yi-9B-DPO-Q4_K_M.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q4_K_M.gguf) | Q4_K_M | 5.32GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
43
+ | [Faro-Yi-9B-DPO-Q4_K_S.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q4_K_S.gguf) | Q4_K_S | 5.07GB | Slightly lower quality with more space savings, *recommended*. |
44
+ | [Faro-Yi-9B-DPO-IQ4_NL.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ4_NL.gguf) | IQ4_NL | 5.04GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
45
+ | [Faro-Yi-9B-DPO-IQ4_XS.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ4_XS.gguf) | IQ4_XS | 4.78GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
46
+ | [Faro-Yi-9B-DPO-Q3_K_L.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q3_K_L.gguf) | Q3_K_L | 4.69GB | Lower quality but usable, good for low RAM availability. |
47
+ | [Faro-Yi-9B-DPO-Q3_K_M.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q3_K_M.gguf) | Q3_K_M | 4.32GB | Even lower quality. |
48
+ | [Faro-Yi-9B-DPO-IQ3_M.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ3_M.gguf) | IQ3_M | 4.05GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
49
+ | [Faro-Yi-9B-DPO-IQ3_S.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ3_S.gguf) | IQ3_S | 3.91GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
50
+ | [Faro-Yi-9B-DPO-Q3_K_S.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q3_K_S.gguf) | Q3_K_S | 3.89GB | Low quality, not recommended. |
51
+ | [Faro-Yi-9B-DPO-IQ3_XS.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ3_XS.gguf) | IQ3_XS | 3.71GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
52
+ | [Faro-Yi-9B-DPO-IQ3_XXS.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ3_XXS.gguf) | IQ3_XXS | 3.47GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
53
+ | [Faro-Yi-9B-DPO-Q2_K.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-Q2_K.gguf) | Q2_K | 3.35GB | Very low quality but surprisingly usable. |
54
+ | [Faro-Yi-9B-DPO-IQ2_M.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ2_M.gguf) | IQ2_M | 3.09GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
55
+ | [Faro-Yi-9B-DPO-IQ2_S.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ2_S.gguf) | IQ2_S | 2.87GB | Very low quality, uses SOTA techniques to be usable. |
56
+ | [Faro-Yi-9B-DPO-IQ2_XS.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ2_XS.gguf) | IQ2_XS | 2.70GB | Very low quality, uses SOTA techniques to be usable. |
57
+ | [Faro-Yi-9B-DPO-IQ2_XXS.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ2_XXS.gguf) | IQ2_XXS | 2.46GB | Lower quality, uses SOTA techniques to be usable. |
58
+ | [Faro-Yi-9B-DPO-IQ1_M.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ1_M.gguf) | IQ1_M | 2.18GB | Extremely low quality, *not* recommended. |
59
+ | [Faro-Yi-9B-DPO-IQ1_S.gguf](https://huggingface.co/bartowski/Faro-Yi-9B-DPO-GGUF/blob/main/Faro-Yi-9B-DPO-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
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/Faro-Yi-9B-DPO-GGUF --include "Faro-Yi-9B-DPO-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/Faro-Yi-9B-DPO-GGUF --include "Faro-Yi-9B-DPO-Q8_0.gguf/*" --local-dir Faro-Yi-9B-DPO-Q8_0
79
+ ```
80
+
81
+ You can either specify a new local-dir (Faro-Yi-9B-DPO-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