Views
No views yet

1I found success with:
2temperature 0.9-1.2
3min_p 0.08
4tfs 0.97
5smoothing_factor 0.3
6smoothing_curve 1.1
7
8Nymeria preset (more coherent):
9temp 0.9
10top_k 30
11top_p 0.75
12min_p 0.2
13rep_pen 1.1
14smooth_factor 0.25
15smooth_curve 1
161#1. Take a collection of RP and Storywriter 8b models and merge them.
2
3dtype: float32
4merge_method: linear
5 weight: 0.15
6 parameters:
7 - model: tokyotech-llm/Llama-3-Swallow-8B-v0.1
8 weight: 0.4
9 parameters:
10 - model: NeverSleep/Llama-3-Lumimaid-8B-v0.1-OAS
11 weight: 0.1
12 parameters:
13 - model: maldv/llama-3-fantasy-writer-8b
14 weight: 0.6
15 parameters:
16 - model: Nitral-AI/Hathor_Respawn-L3-8B-v0.8
17
18#2. Use task-arithmetic to learn the vector directions from the RP-Mix onto Llama-3-SPPO which is the smartest 8B model imo, this way we can preserve Meta's multi-bullion dollar tuning.
19
20models:
21dtype: float32
22 normalize: false
23parameters:
24base_model: UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter3
25merge_method: task_arithmetic
26 weight: 0.35
27 parameters:
28 - model: rpmix-part1
29 weight: 1.0
30 parameters:
31 - model: UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter3
32
33#2,5. Apply abliteration to the previous model
34
35models:
36dtype: float32
37merge_method: linear
38 weight: 1.0
39 parameters:
40 - model: sppo-rpmix-part2+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
41
42#3. Create an abliterated version of Stheno3.2-8B as we will use this in the 15B frankenmerge.
43
44models:
45dtype: float32
46merge_method: linear
47 weight: 1.0
48 parameters:
49 - model: Sao10K/L3-8B-Stheno-v3.2+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
50
51#4. Make an inverted version of a elinas Llama-3-15B Frankenmerge with the previous models.
52
53models:
54 model: v000000/L3-8B-Stheno-v3.2-abliterated
55 - layer_range: [24, 32]
56- sources:
57 model: v000000/SwallowMaid-8B-L3-SPPO-abliterated
58 - layer_range: [8, 24]
59- sources:
60 parameters:
61 model: v000000/L3-8B-Stheno-v3.2-abliterated
62 - layer_range: [8, 24]
63- sources:
64 model: v000000/SwallowMaid-8B-L3-SPPO-abliterated
65 - layer_range: [0, 24]
66- sources:
67slices:
68
69#5. Make an non-inverted version of a elinas Llama-3-15B Frankenmerge with the previous models.
70merge_method: passthrough
71dtype: float32
72 model: v000000/SwallowMaid-8B-L3-SPPO-abliterated
73 - layer_range: [24, 32]
74- sources:
75 model: v000000/L3-8B-Stheno-v3.2-abliterated
76 - layer_range: [8, 24]
77- sources:
78 model: v000000/SwallowMaid-8B-L3-SPPO-abliterated
79 - layer_range: [8, 24]
80- sources:
81 model: v000000/L3-8B-Stheno-v3.2-abliterated
82 - layer_range: [0, 24]
83- sources:
84slices:
85
86#6. Test the previous two models and determine which is better in the output/input stage and which is best in the middle and we slerp them in a v-shape.
87
88merge_method: passthrough
89dtype: float32
90 t: [0, 0.5, 1, 0.5, 0]
91parameters:
92dtype: float32
93base_model: v000000/Sthalomaid-15B-abliterated
94merge_method: slerp
95 - model: v000000/Sthalomaid-15B-Inverted-abliterated
96 - model: v000000/Sthalomaid-15B-abliterated
97
98#7. Apply Blackroot Lora in a model_stock merge of the different models so far
99
100models:
101dtype: float32
102merge_method: model_stock
103base_model: v000000/Sthalomaid-V-15B-abliterated
104 - model: v000000/Sthalomaid-15B-Inverted-abliterated+Blackroot/Llama-3-8B-Abomination-LORA
105 - model: v000000/Sthalomaid-15B-abliterated+Blackroot/Llama-3-8B-Abomination-LORA
106 - model: v000000/Sthalomaid-V-15B-abliterated+Blackroot/Llama-3-8B-Abomination-LORA #seems to work on 15b
107 - model: v000000/Sthalomaid-15B-Inverted-abliterated
108 - model: v000000/Sthalomaid-15B-abliterated
109 - model: v000000/Sthalomaid-V-15B-abliterated
110
111#7. Create another 15B frankenmerge from just SPPO and abiterate it, this is so we can merge in a smarter model.
112
113models:
114dtype: float32
115merge_method: passthrough
116slices:
117- sources:
118 - layer_range: [0, 24]
119 model: UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter3+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
120- sources:
121 - layer_range: [8, 24]
122 model: UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter3+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
123 parameters:
124- sources:
125 - layer_range: [8, 24]
126 model: UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter3+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
127- sources:
128 - layer_range: [24, 32]
129 model: UCLA-AGI/Llama-3-Instruct-8B-SPPO-Iter3+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
130
131#8. Learn vectors from our previous blackroot model_stock model to smarter SPPO-Iter model to preserve RP capabilities.
132
133models:
134 - model: v000000/HaloMaidRP-V-15B-Blackroot-v0.1
135 parameters:
136 weight: 1.3
137merge_method: task_arithmetic
138base_model: v000000/Llama-3-Instruct-15B-SPPO-Iter3-abliterated
139parameters:
140 normalize: false
141
142#9. Merge the blackroot model_stock-15B and SPPO-15B models together with a smooth gradient.
143
144dtype: float32
145slices:
146 - sources:
147 - model: v000000/HaloMaidRP-V-15B-Blackroot-v0.1
148 layer_range: [0, 64]
149 - model: v000000/HaloMaidRP-V-15B-Blackroot-v0.223
150 layer_range: [0, 64]
151merge_method: slerp
152base_model: v000000/HaloMaidRP-V-15B-Blackroot-v0.223
153parameters:
154 t:
155 - filter: self_attn
156 value: [0, 0.5, 0.3, 0.7, 1, 0.1, 0.6, 0.3, 0.8, 0.5]
157 - filter: mlp
158 value: [1, 0.5, 0.7, 0.3, 0, 0.3, 0.4, 0.7, 0.2, 0.5]
159 - value: 0.5
160dtype: bfloat16 #Oops accidentally swtich to half precision do this also very important
161
162#10. Heal the layers, o_proj and down_proj seems to be the main tensors that determine adaptation to a new architecture, so we can steal them from an already finetuned 15B,
163#this way we don't need to finetune our new frankenmerge at all to have full performance. Why reinvent the wheel?
164#sapphire
165models:
166 - model: v000000/HaloMaidRP1_component
167merge_method: slerp
168base_model: ZeusLabs/L3-Aethora-15B-V2
169parameters:
170 t:
171 - filter: o_proj
172 value: 0
173 - filter: down_proj
174 value: 0
175 - value: 1
176dtype: bfloat16
177
178#11. Go back to an earlier checkpoint that had interesting results with being very depraved before the blackroot model_stock merge and do the same as (10.) to heal it.
179#ruby
180models:
181 - model: v000000/component____HaloMaidRP-V
182merge_method: slerp
183base_model: ZeusLabs/L3-Aethora-15B-V2
184parameters:
185 t:
186 - filter: o_proj
187 value: 0
188 - filter: down_proj
189 value: 0
190 - value: 1
191dtype: bfloat16
192
193#12. Then we merge these two together to get a semi-depraved smart model.
194#emerald (this)
195slices:
196 - sources:
197 - model: v000000/HaloMaidRP-v1.32-15B-Sapphire
198 layer_range: [0, 64]
199 - model: v000000/HaloMaidRP-v1.32-15B-Ruby
200 layer_range: [0, 64]
201merge_method: slerp
202base_model: v000000/HaloMaidRP-v1.32-15B-Sapphire
203parameters:
204 t:
205 - filter: self_attn
206 value: [0.1, 0.6, 0.3, 0.8, 0.5]
207 - filter: mlp
208 value: [0.9, 0.4, 0.7, 0.2, 0.5]
209 - value: 0.5
210dtype: bfloat16
211
212#sapphire version is somewhat better at keeping formatting and is smarter overall, but its very bland imo1<|begin_of_text|><|start_header_id|>system<|end_header_id|>
2
3{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
4
5{input}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
6
7{output}<|eot_id|>
8