Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
---
|
2 |
license: gemma
|
3 |
-
base_model: HuggingFaceH4/zephyr-7b-gemma-sft-v0.1
|
4 |
tags:
|
5 |
- alignment-handbook
|
6 |
- generated_from_trainer
|
@@ -11,93 +10,60 @@ model-index:
|
|
11 |
results: []
|
12 |
quantized_by: bartowski
|
13 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
---
|
|
|
15 |
|
16 |
-
|
17 |
|
18 |
-
|
|
|
|
|
19 |
|
20 |
-
|
21 |
|
22 |
-
|
|
|
23 |
|
24 |
-
## Prompt
|
|
|
|
|
|
|
|
|
25 |
|
26 |
```
|
27 |
-
<bos><|im_start|>system
|
28 |
-
{system_prompt}<|im_end|>
|
29 |
<|im_start|>user
|
30 |
{prompt}<|im_end|>
|
31 |
<|im_start|>assistant
|
32 |
|
33 |
```
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
| Filename | Quant type | File Size | Description |
|
38 |
-
| -------- | ---------- | --------- | ----------- |
|
39 |
-
| [DiscoPOP-zephyr-7b-gemma-Q8_0.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q8_0.gguf) | Q8_0 | 9.81GB | Extremely high quality, generally unneeded but max available quant. |
|
40 |
-
| [DiscoPOP-zephyr-7b-gemma-Q6_K.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q6_K.gguf) | Q6_K | 7.93GB | Very high quality, near perfect, *recommended*. |
|
41 |
-
| [DiscoPOP-zephyr-7b-gemma-Q5_K_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q5_K_M.gguf) | Q5_K_M | 7.07GB | High quality, *recommended*. |
|
42 |
-
| [DiscoPOP-zephyr-7b-gemma-Q5_K_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q5_K_S.gguf) | Q5_K_S | 6.90GB | High quality, *recommended*. |
|
43 |
-
| [DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf) | Q4_K_M | 6.25GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
|
44 |
-
| [DiscoPOP-zephyr-7b-gemma-Q4_K_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q4_K_S.gguf) | Q4_K_S | 5.97GB | Slightly lower quality with more space savings, *recommended*. |
|
45 |
-
| [DiscoPOP-zephyr-7b-gemma-IQ4_XS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ4_XS.gguf) | IQ4_XS | 5.69GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
46 |
-
| [DiscoPOP-zephyr-7b-gemma-Q3_K_L.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q3_K_L.gguf) | Q3_K_L | 5.63GB | Lower quality but usable, good for low RAM availability. |
|
47 |
-
| [DiscoPOP-zephyr-7b-gemma-Q3_K_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q3_K_M.gguf) | Q3_K_M | 5.29GB | Even lower quality. |
|
48 |
-
| [DiscoPOP-zephyr-7b-gemma-IQ3_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ3_M.gguf) | IQ3_M | 5.03GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
49 |
-
| [DiscoPOP-zephyr-7b-gemma-Q3_K_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q3_K_S.gguf) | Q3_K_S | 4.91GB | Low quality, not recommended. |
|
50 |
-
| [DiscoPOP-zephyr-7b-gemma-IQ3_XS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ3_XS.gguf) | IQ3_XS | 4.72GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
|
51 |
-
| [DiscoPOP-zephyr-7b-gemma-IQ3_XXS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ3_XXS.gguf) | IQ3_XXS | 4.51GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
|
52 |
-
| [DiscoPOP-zephyr-7b-gemma-Q2_K.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-Q2_K.gguf) | Q2_K | 4.40GB | Very low quality but surprisingly usable. |
|
53 |
-
| [DiscoPOP-zephyr-7b-gemma-IQ2_M.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ2_M.gguf) | IQ2_M | 4.16GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
|
54 |
-
| [DiscoPOP-zephyr-7b-gemma-IQ2_S.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ2_S.gguf) | IQ2_S | 3.95GB | Very low quality, uses SOTA techniques to be usable. |
|
55 |
-
| [DiscoPOP-zephyr-7b-gemma-IQ2_XS.gguf](https://huggingface.co/bartowski/DiscoPOP-zephyr-7b-gemma-GGUF/blob/main/DiscoPOP-zephyr-7b-gemma-IQ2_XS.gguf) | IQ2_XS | 3.84GB | Very low quality, uses SOTA techniques to be usable. |
|
56 |
-
|
57 |
-
## Downloading using huggingface-cli
|
58 |
-
|
59 |
-
First, make sure you have hugginface-cli installed:
|
60 |
-
|
61 |
-
```
|
62 |
-
pip install -U "huggingface_hub[cli]"
|
63 |
-
```
|
64 |
-
|
65 |
-
Then, you can target the specific file you want:
|
66 |
-
|
67 |
-
```
|
68 |
-
huggingface-cli download bartowski/DiscoPOP-zephyr-7b-gemma-GGUF --include "DiscoPOP-zephyr-7b-gemma-Q4_K_M.gguf" --local-dir ./
|
69 |
-
```
|
70 |
-
|
71 |
-
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:
|
72 |
-
|
73 |
-
```
|
74 |
-
huggingface-cli download bartowski/DiscoPOP-zephyr-7b-gemma-GGUF --include "DiscoPOP-zephyr-7b-gemma-Q8_0.gguf/*" --local-dir DiscoPOP-zephyr-7b-gemma-Q8_0
|
75 |
-
```
|
76 |
-
|
77 |
-
You can either specify a new local-dir (DiscoPOP-zephyr-7b-gemma-Q8_0) or download them all in place (./)
|
78 |
-
|
79 |
-
## Which file should I choose?
|
80 |
-
|
81 |
-
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
82 |
-
|
83 |
-
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.
|
84 |
-
|
85 |
-
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.
|
86 |
|
87 |
-
|
88 |
|
89 |
-
|
|
|
90 |
|
91 |
-
|
92 |
|
93 |
-
|
94 |
|
95 |
-
|
96 |
|
97 |
-
|
98 |
|
99 |
-
|
100 |
|
101 |
-
|
102 |
|
103 |
-
|
|
|
1 |
---
|
2 |
license: gemma
|
|
|
3 |
tags:
|
4 |
- alignment-handbook
|
5 |
- generated_from_trainer
|
|
|
10 |
results: []
|
11 |
quantized_by: bartowski
|
12 |
pipeline_tag: text-generation
|
13 |
+
lm_studio:
|
14 |
+
param_count: 8b
|
15 |
+
use_case: general
|
16 |
+
release_date: 13-06-2024
|
17 |
+
model_creator: SakanaAI
|
18 |
+
prompt_template: ChatML
|
19 |
+
system_prompt: none
|
20 |
+
base_model: gemma
|
21 |
+
original_repo: SakanaAI/DiscoPOP-zephyr-7b-gemma
|
22 |
+
base_model: SakanaAI/DiscoPOP-zephyr-7b-gemma
|
23 |
---
|
24 |
+
## ๐ซ Community Model> DiscoPOP-zephyr-7b-gemma by Sakana AI
|
25 |
|
26 |
+
*๐พ [LM Studio](https://lmstudio.ai) Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on [Discord](https://discord.gg/aPQfnNkxGC)*.
|
27 |
|
28 |
+
**Model creator:** [Sakana AI](https://huggingface.co/SakanaAI)<br>
|
29 |
+
**Original model**: [DiscoPOP-zephyr-7b-gemma](https://huggingface.co/SakanaAI/DiscoPOP-zephyr-7b-gemma)<br>
|
30 |
+
**GGUF quantization:** provided by [bartowski](https://huggingface.co/bartowski) based on `llama.cpp` release [b3145](https://github.com/ggerganov/llama.cpp/releases/tag/b3145)<br>
|
31 |
|
32 |
+
## Model Summary:
|
33 |
|
34 |
+
This model is based on the Zephyr 7b Gemma model, trained with a brand new technique called DiscoPOP. DiscoPOP is Sakana AI's Discovered Preference Optimization algorithm.<br>
|
35 |
+
This training method is brand new, discovered through experimental model prompting to discover new bespoke training techniques.
|
36 |
|
37 |
+
## Prompt template:
|
38 |
+
|
39 |
+
Choose the `ChatML` preset in your LM Studio.
|
40 |
+
|
41 |
+
Under the hood, the model will see a prompt that's formatted like so:
|
42 |
|
43 |
```
|
|
|
|
|
44 |
<|im_start|>user
|
45 |
{prompt}<|im_end|>
|
46 |
<|im_start|>assistant
|
47 |
|
48 |
```
|
49 |
|
50 |
+
This model is not tuned for a system prompt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
+
## Technical Details
|
53 |
|
54 |
+
DiscoPOP was discovered through a new method proposed by Sakana AI. In this method, an LLM is prompted to propose and implement new preference optimization loss functions based on previously-evaluated performance metrics.<br>
|
55 |
+
This process leads to the discovery of previously-unknown preference optimization algorithms. DiscoPOP represents the best performing discovered preference optimizer.<br>
|
56 |
|
57 |
+
DiscoPOP achieves a higher score (Reward) while deviating less from the base model (KL Divergence), compared to existing state-of-the-art methods such as DPO.
|
58 |
|
59 |
+
For a deeper analysis and additional details, you can read their blog post here: https://sakana.ai/llm-squared/
|
60 |
|
61 |
+
## Special thanks
|
62 |
|
63 |
+
๐ Special thanks to [Georgi Gerganov](https://github.com/ggerganov) and the whole team working on [llama.cpp](https://github.com/ggerganov/llama.cpp/)
|
64 |
|
65 |
+
๐ Special thanks to [Kalomaze](https://github.com/kalomaze) and [Dampf](https://github.com/Dampfinchen) for their work on the dataset (linked [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)) that was used for calculating the imatrix for all sizes.
|
66 |
|
67 |
+
## Disclaimers
|
68 |
|
69 |
+
LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Community Model is the sole responsibility of the person or entity who originated such Model. LM Studio may not monitor or control the Community Models and cannot, and does not, take responsibility for any such Model. LM Studio disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Community Models. LM Studio further disclaims any warranty that the Community Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Community Models, your downloading of any Community Model, or use of any other Community Model provided by or through LM Studio.
|