lodrick-the-lafted commited on
Commit
cb0f5a5
1 Parent(s): fc25777

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -97
README.md CHANGED
@@ -1,107 +1,13 @@
1
-
2
  ---
3
  base_model:
4
- - princeton-nlp/gemma-2-9b-it-SimPO
5
- - nbeerbower/gemma2-gutenberg-9B
6
  library_name: transformers
7
  tags:
8
  - mergekit
9
  - merge
10
  license: gemma
11
  ---
12
- # Gemma-2-Ataraxy-9B
13
-
14
- ![Ataraxy](https://i.imgur.com/aP03a5d.png)
15
-
16
- ## GGUF / EXL2 Quants
17
-
18
- Huge thanks to [@mradermacher](https://huggingface.co/mradermacher) and [@bartowski](https://huggingface.co/bartowski) for making these GGUF quants available to us.
19
-
20
- Bartowski quants (imatrix): [bartowski/Gemma-2-Ataraxy-9B-GGUF](https://huggingface.co/bartowski/Gemma-2-Ataraxy-9B-GGUF)
21
-
22
- Mradermacher quants (static): [mradermacher/Gemma-2-Ataraxy-9B-GGUF](https://huggingface.co/mradermacher/Gemma-2-Ataraxy-9B-GGUF)
23
-
24
- Mradermacher quants (imatrix): [mradermacher/Gemma-2-Ataraxy-9B-i1-GGUF](https://huggingface.co/mradermacher/Gemma-2-Ataraxy-9B-i1-GGUF)
25
-
26
- I think bartowski and mradermacher use different calibration data for imatrix quants, or maybe you prefer static quants. Pick your poison :).
27
-
28
- EXL2 quants from CameronRedmore: [CameronRedmore/Gemma-2-Ataraxy-9B-exl2](https://huggingface.co/CameronRedmore/Gemma-2-Ataraxy-9B-exl2)
29
- ## Format
30
-
31
- Use Gemma 2 format.
32
-
33
- ## Benchmarks and Leaderboard Rankings
34
-
35
- OpenLLM: Pending in Queue
36
-
37
- Creative Writing V2 - Score: 82.64 (Rank 1)
38
-
39
- https://eqbench.com/creative_writing.html
40
-
41
- That's right, much to everyone's surprise (mine included) this model has topped eqbench.com's creative writing benchmark. Big thanks to _sqrkl for taking the time to bother benchmarking this model and adding it ot his leaderboard, and [@nbeerbower](https://huggingface.co/nbeerbower) for entertaining my suggestions for his amazing gutenberg tunes.
42
-
43
- ![Reddit](https://i.imgur.com/iL8BcYb.png)
44
-
45
- ![Leaderboard](https://i.imgur.com/gJd9Pab.png)
46
-
47
- ## Try it out
48
-
49
- I will be hosting this model in Q8_0 quant, with 4k context using koboldcpp, for free unlimited use until around the 26th or 27th. This should have up to 32t/s.
50
-
51
- ![https://kerry-circulation-child-suspected.trycloudflare.com/](https://kerry-circulation-child-suspected.trycloudflare.com/)
52
-
53
- UPDATE: Sorry, looks like the cloud flare tunnel or my PC died :( and I'm not home until late tomorrow night to fix this.
54
-
55
- ## Preface and Rambling
56
-
57
- My favorite Gemma 2 9B models are the SPPO iter3 and SimPO finetunes, but I felt the slerp merge between the two (nephilim v3) wasn't as good for some reason. The Gutenberg Gemma 2 finetune by nbeerbower is another my favorites. It's trained on one of my favorite datasets, and actually improves the SPPO model's average openllm leaderboard 2 average score by a bit, on top of improving it's writing capabilities and making the LLM sound less AI-like. However I still liked the original SPPO finetune just a bit more.
58
-
59
- Someone suggested that merging the base model on top of the gutenberg may help with tame it back down, which gave me a (possibly) better idea; slerp merging the SimPO finetune on top of the Gutenberg finetune, which is similar to the pretty popular Nephilim v3 recipe, using the Gutenberg finetune in place of the SPPO model, which I thought may give us better results since Gutenberg was trained on top of SPPO.
60
-
61
- I wasn't entirely too sure, since if nephilim v3 is anything to go by, it was probably going to also end up worse than the parent models. Normally when I try merges like these, they dont go anywhere. I'm pretty picky, and very skeptical usually, so most times I find that the merge is usually just not better than the original models or only marginally better. Tried this merge anyways to see how it goes, and much to my surprise, this time, I feel like I got very good results. Figured I'd share, and hopefully this wont be just me introducing more useless slop into a world that already has way too many unnecessary merges.
62
-
63
- If you're looking for a mistral nemo 12B model instead, I HIGHLY recommend Mistral Nemo Gutenberg v2 by nbeerbower. It's head and shoulders above the many other mistral nemo finetunes I've tried (the first version of mistral nemo gutenburg, romulus simpo, and magnum mini 1.1 being close second favorites).
64
-
65
- ## Why Gutenberg?
66
-
67
- We use gutenberg 9b, which is finetuned over SPPO cause of how good the gutenberg dpo dataset is. It's not a german dataset like it sounds, it's a dataset based off of project gutenberg, a public domain collection of popular classic fictions, like Moby Dick, for example. This data set also uses LLM generated responses as the negative prompt, to train models to not sounds so much like AI, or your typical LLMs, and more like actual humans (based on the creative works from project gutenberg). This is quality writing, hence quality data, not just random RP logs, or synthetic data. This dataset, when trained for 3 epochs has shown to increase llama 3 average scores on the old openllm leaderboard, from 72 to 73 (nobody really got higher than 73 before the board revamp), and has already again, proven to increase average openllm 2 leaderboard scores, increasing the average score from 21.47 to 22.61, improving on sppo. Thats a huge improvement. That said, I didnt like gutenberg 9b more than original sppo in real use, felt a tiny bit overfit, so we tried this merge. Did not expect much, because of neph v3 turning out worse than either of its parents, but this surprisingly came out great.
68
-
69
- ## Why is it 10b??
70
-
71
- See https://github.com/arcee-ai/mergekit/issues/390
72
-
73
- Model is not actually 10b, mergekit is randomly adding lm_head for some reason when doing SLERP merge with Gemma 2 models. I believe Nephilim v3 had a similar issue before they used some sort of workaround that I'm not aware of. Doesn't seem like this affects the GGUF quants, as they're the correct size, so I will leave it as is until mergekit gets a commit that addresses this issue.
74
-
75
- ## Merge Details
76
- ### Merge Method
77
-
78
- This model was merged using the SLERP merge method.
79
-
80
- ### Models Merged
81
-
82
- The following models were included in the merge:
83
- * [princeton-nlp/gemma-2-9b-it-SimPO](https://huggingface.co/princeton-nlp/gemma-2-9b-it-SimPO)
84
- * [nbeerbower/gemma2-gutenberg-9B](https://huggingface.co/nbeerbower/gemma2-gutenberg-9B)
85
-
86
- ### Configuration
87
 
88
- The following YAML configuration was used to produce this model:
89
 
90
- ```yaml
91
- base_model: nbeerbower/gemma2-gutenberg-9B
92
- dtype: bfloat16
93
- merge_method: slerp
94
- parameters:
95
- t:
96
- - filter: self_attn
97
- value: [0.0, 0.5, 0.3, 0.7, 1.0]
98
- - filter: mlp
99
- value: [1.0, 0.5, 0.7, 0.3, 0.0]
100
- - value: 0.5
101
- slices:
102
- - sources:
103
- - layer_range: [0, 42]
104
- model: princeton-nlp/gemma-2-9b-it-SimPO
105
- - layer_range: [0, 42]
106
- model: nbeerbower/gemma2-gutenberg-9B
107
- ```
 
 
1
  ---
2
  base_model:
3
+ - lemon07r/Gemma-2-Ataraxy-9B
 
4
  library_name: transformers
5
  tags:
6
  - mergekit
7
  - merge
8
  license: gemma
9
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
+ This is the [lemon07r/Gemma-2-Ataraxy-9B](https://huggingface.co/lemon07r/Gemma-2-Ataraxy-9B) model without extra params.
12
 
13
+ The included script should remove the spurious lm_head of any gemma-2-9b merges made with the older mergekit, but I only tested it with this model.