Views
No views yet
0.4.11base_model: Qwen/Qwen2.5-32B
2
3load_in_8bit: false
4load_in_4bit: false
5strict: false
6
7plugins:
8 - axolotl.integrations.liger.LigerPlugin
9liger_rope: true
10liger_rms_norm: true
11liger_swiglu: true
12liger_fused_linear_cross_entropy: true
13
14# plugins:
15# - axolotl.integrations.spectrum.SpectrumPlugin
16
17# spectrum_top_fraction: 0.5
18# # Optional if using a pre-scanned model as your base_model. Useful if using a model mirror
19# spectrum_model_name: Qwen/Qwen2.5-32B
20
21datasets:
22 - path: datasets/deduped_Synthstruct-Gens_processed_sharegpt_converted_cleaned.jsonl
23 type: sharegpt
24 - path: datasets/opus-instruct-22k-no_refusals-filtered.jsonl
25 type: sharegpt
26 - path: datasets/Celeste_Filtered.jsonl
27 type: sharegpt
28 - path: datasets/Gryphe-S3-5-Charcards-names-2k.jsonl
29 type: sharegpt
30 - path: datasets/deduped_SynthRP-Gens_processed_09-25-2024-ShareGPT_converted_cleaned.jsonl
31 type: sharegpt
32 - path: datasets/deduped_Gryphe-4o-WP-1k.jsonl
33 type: sharegpt
34 - path: datasets/deduped_not_samantha_norefusals.jsonl
35 type: sharegpt
36
37chat_template: chatml
38shuffle_merged_datasets: true
39val_set_size: 0.001
40output_dir: ./EVA-Qwen2.5-32B-SFFT-v0.0
41
42sequence_len: 8192
43sample_packing: true
44eval_sample_packing: false
45pad_to_sequence_len: true
46
47# adapter: qlora
48# lora_model_dir:
49# lora_r: 64
50# lora_alpha: 64
51# lora_dropout: 0.05
52# lora_target_linear: true
53# peft_use_dora: true
54
55unfrozen_parameters:
56- ^lm_head.weight$
57- ^model.embed_tokens.weight$
58# input_layernorm layers
59- model.layers.0.input_layernorm
60- model.layers.1.input_layernorm
61- model.layers.2.input_layernorm
62- model.layers.3.input_layernorm
63- model.layers.4.input_layernorm
64- model.layers.5.input_layernorm
65- model.layers.6.input_layernorm
66- model.layers.7.input_layernorm
67- model.layers.8.input_layernorm
68- model.layers.9.input_layernorm
69- model.layers.10.input_layernorm
70- model.layers.11.input_layernorm
71- model.layers.12.input_layernorm
72- model.layers.13.input_layernorm
73- model.layers.14.input_layernorm
74- model.layers.15.input_layernorm
75- model.layers.16.input_layernorm
76- model.layers.17.input_layernorm
77- model.layers.18.input_layernorm
78- model.layers.19.input_layernorm
79- model.layers.20.input_layernorm
80- model.layers.21.input_layernorm
81- model.layers.22.input_layernorm
82- model.layers.23.input_layernorm
83- model.layers.24.input_layernorm
84- model.layers.25.input_layernorm
85- model.layers.26.input_layernorm
86- model.layers.27.input_layernorm
87- model.layers.28.input_layernorm
88- model.layers.29.input_layernorm
89- model.layers.30.input_layernorm
90- model.layers.31.input_layernorm
91# lm_head layers
92# mlp.down_proj layers
93- model.layers.63.mlp.down_proj
94- model.layers.49.mlp.down_proj
95- model.layers.48.mlp.down_proj
96- model.layers.45.mlp.down_proj
97- model.layers.44.mlp.down_proj
98- model.layers.47.mlp.down_proj
99- model.layers.46.mlp.down_proj
100- model.layers.43.mlp.down_proj
101- model.layers.8.mlp.down_proj
102- model.layers.11.mlp.down_proj
103- model.layers.19.mlp.down_proj
104- model.layers.35.mlp.down_proj
105- model.layers.20.mlp.down_proj
106- model.layers.52.mlp.down_proj
107- model.layers.39.mlp.down_proj
108- model.layers.62.mlp.down_proj
109- model.layers.50.mlp.down_proj
110- model.layers.29.mlp.down_proj
111- model.layers.16.mlp.down_proj
112- model.layers.28.mlp.down_proj
113- model.layers.53.mlp.down_proj
114- model.layers.30.mlp.down_proj
115- model.layers.31.mlp.down_proj
116- model.layers.32.mlp.down_proj
117- model.layers.7.mlp.down_proj
118- model.layers.36.mlp.down_proj
119- model.layers.12.mlp.down_proj
120- model.layers.18.mlp.down_proj
121- model.layers.37.mlp.down_proj
122- model.layers.38.mlp.down_proj
123- model.layers.14.mlp.down_proj
124- model.layers.13.mlp.down_proj
125# mlp.gate_proj layers
126- model.layers.43.mlp.gate_proj
127- model.layers.61.mlp.gate_proj
128- model.layers.60.mlp.gate_proj
129- model.layers.44.mlp.gate_proj
130- model.layers.62.mlp.gate_proj
131- model.layers.28.mlp.gate_proj
132- model.layers.29.mlp.gate_proj
133- model.layers.45.mlp.gate_proj
134- model.layers.37.mlp.gate_proj
135- model.layers.35.mlp.gate_proj
136- model.layers.59.mlp.gate_proj
137- model.layers.36.mlp.gate_proj
138- model.layers.30.mlp.gate_proj
139- model.layers.48.mlp.gate_proj
140- model.layers.38.mlp.gate_proj
141- model.layers.27.mlp.gate_proj
142- model.layers.31.mlp.gate_proj
143- model.layers.39.mlp.gate_proj
144- model.layers.34.mlp.gate_proj
145- model.layers.58.mlp.gate_proj
146- model.layers.33.mlp.gate_proj
147- model.layers.26.mlp.gate_proj
148- model.layers.32.mlp.gate_proj
149- model.layers.46.mlp.gate_proj
150- model.layers.42.mlp.gate_proj
151- model.layers.49.mlp.gate_proj
152- model.layers.57.mlp.gate_proj
153- model.layers.50.mlp.gate_proj
154- model.layers.47.mlp.gate_proj
155- model.layers.56.mlp.gate_proj
156- model.layers.63.mlp.gate_proj
157- model.layers.55.mlp.gate_proj
158# mlp.up_proj layers
159- model.layers.61.mlp.up_proj
160- model.layers.60.mlp.up_proj
161- model.layers.32.mlp.up_proj
162- model.layers.59.mlp.up_proj
163- model.layers.58.mlp.up_proj
164- model.layers.57.mlp.up_proj
165- model.layers.44.mlp.up_proj
166- model.layers.28.mlp.up_proj
167- model.layers.35.mlp.up_proj
168- model.layers.36.mlp.up_proj
169- model.layers.31.mlp.up_proj
170- model.layers.34.mlp.up_proj
171- model.layers.55.mlp.up_proj
172- model.layers.29.mlp.up_proj
173- model.layers.49.mlp.up_proj
174- model.layers.30.mlp.up_proj
175- model.layers.53.mlp.up_proj
176- model.layers.43.mlp.up_proj
177- model.layers.56.mlp.up_proj
178- model.layers.33.mlp.up_proj
179- model.layers.54.mlp.up_proj
180- model.layers.62.mlp.up_proj
181- model.layers.27.mlp.up_proj
182- model.layers.51.mlp.up_proj
183- model.layers.52.mlp.up_proj
184- model.layers.37.mlp.up_proj
185- model.layers.45.mlp.up_proj
186- model.layers.26.mlp.up_proj
187- model.layers.42.mlp.up_proj
188- model.layers.50.mlp.up_proj
189- model.layers.48.mlp.up_proj
190- model.layers.39.mlp.up_proj
191# model.embed_tokens layers
192# model.norm layers
193# post_attention_layernorm layers
194- model.layers.0.post_attention_layernorm
195- model.layers.1.post_attention_layernorm
196- model.layers.2.post_attention_layernorm
197- model.layers.3.post_attention_layernorm
198- model.layers.4.post_attention_layernorm
199- model.layers.5.post_attention_layernorm
200- model.layers.6.post_attention_layernorm
201- model.layers.7.post_attention_layernorm
202- model.layers.8.post_attention_layernorm
203- model.layers.9.post_attention_layernorm
204- model.layers.10.post_attention_layernorm
205- model.layers.11.post_attention_layernorm
206- model.layers.12.post_attention_layernorm
207- model.layers.13.post_attention_layernorm
208- model.layers.14.post_attention_layernorm
209- model.layers.15.post_attention_layernorm
210- model.layers.16.post_attention_layernorm
211- model.layers.17.post_attention_layernorm
212- model.layers.18.post_attention_layernorm
213- model.layers.19.post_attention_layernorm
214- model.layers.20.post_attention_layernorm
215- model.layers.21.post_attention_layernorm
216- model.layers.22.post_attention_layernorm
217- model.layers.23.post_attention_layernorm
218- model.layers.24.post_attention_layernorm
219- model.layers.25.post_attention_layernorm
220- model.layers.26.post_attention_layernorm
221- model.layers.27.post_attention_layernorm
222- model.layers.28.post_attention_layernorm
223- model.layers.29.post_attention_layernorm
224- model.layers.30.post_attention_layernorm
225- model.layers.31.post_attention_layernorm
226# self_attn.k_proj layers
227- model.layers.63.self_attn.k_proj
228- model.layers.55.self_attn.k_proj
229- model.layers.60.self_attn.k_proj
230- model.layers.7.self_attn.k_proj
231- model.layers.12.self_attn.k_proj
232- model.layers.13.self_attn.k_proj
233- model.layers.57.self_attn.k_proj
234- model.layers.29.self_attn.k_proj
235- model.layers.14.self_attn.k_proj
236- model.layers.51.self_attn.k_proj
237- model.layers.53.self_attn.k_proj
238- model.layers.54.self_attn.k_proj
239- model.layers.22.self_attn.k_proj
240- model.layers.61.self_attn.k_proj
241- model.layers.18.self_attn.k_proj
242- model.layers.30.self_attn.k_proj
243- model.layers.9.self_attn.k_proj
244- model.layers.24.self_attn.k_proj
245- model.layers.23.self_attn.k_proj
246- model.layers.25.self_attn.k_proj
247- model.layers.10.self_attn.k_proj
248- model.layers.58.self_attn.k_proj
249- model.layers.56.self_attn.k_proj
250- model.layers.15.self_attn.k_proj
251- model.layers.32.self_attn.k_proj
252- model.layers.28.self_attn.k_proj
253- model.layers.8.self_attn.k_proj
254- model.layers.59.self_attn.k_proj
255- model.layers.11.self_attn.k_proj
256- model.layers.48.self_attn.k_proj
257- model.layers.16.self_attn.k_proj
258- model.layers.50.self_attn.k_proj
259# self_attn.o_proj layers
260- model.layers.15.self_attn.o_proj
261- model.layers.23.self_attn.o_proj
262- model.layers.31.self_attn.o_proj
263- model.layers.30.self_attn.o_proj
264- model.layers.18.self_attn.o_proj
265- model.layers.24.self_attn.o_proj
266- model.layers.17.self_attn.o_proj
267- model.layers.28.self_attn.o_proj
268- model.layers.34.self_attn.o_proj
269- model.layers.33.self_attn.o_proj
270- model.layers.25.self_attn.o_proj
271- model.layers.12.self_attn.o_proj
272- model.layers.14.self_attn.o_proj
273- model.layers.29.self_attn.o_proj
274- model.layers.16.self_attn.o_proj
275- model.layers.26.self_attn.o_proj
276- model.layers.22.self_attn.o_proj
277- model.layers.27.self_attn.o_proj
278- model.layers.35.self_attn.o_proj
279- model.layers.20.self_attn.o_proj
280- model.layers.13.self_attn.o_proj
281- model.layers.36.self_attn.o_proj
282- model.layers.19.self_attn.o_proj
283- model.layers.37.self_attn.o_proj
284- model.layers.21.self_attn.o_proj
285- model.layers.11.self_attn.o_proj
286- model.layers.54.self_attn.o_proj
287- model.layers.5.self_attn.o_proj
288- model.layers.38.self_attn.o_proj
289- model.layers.6.self_attn.o_proj
290- model.layers.8.self_attn.o_proj
291- model.layers.9.self_attn.o_proj
292# self_attn.q_proj layers
293- model.layers.1.self_attn.q_proj
294- model.layers.2.self_attn.q_proj
295- model.layers.3.self_attn.q_proj
296- model.layers.45.self_attn.q_proj
297- model.layers.54.self_attn.q_proj
298- model.layers.35.self_attn.q_proj
299- model.layers.48.self_attn.q_proj
300- model.layers.61.self_attn.q_proj
301- model.layers.52.self_attn.q_proj
302- model.layers.50.self_attn.q_proj
303- model.layers.60.self_attn.q_proj
304- model.layers.56.self_attn.q_proj
305- model.layers.58.self_attn.q_proj
306- model.layers.42.self_attn.q_proj
307- model.layers.59.self_attn.q_proj
308- model.layers.44.self_attn.q_proj
309- model.layers.55.self_attn.q_proj
310- model.layers.57.self_attn.q_proj
311- model.layers.41.self_attn.q_proj
312- model.layers.36.self_attn.q_proj
313- model.layers.39.self_attn.q_proj
314- model.layers.4.self_attn.q_proj
315- model.layers.43.self_attn.q_proj
316- model.layers.34.self_attn.q_proj
317- model.layers.46.self_attn.q_proj
318- model.layers.49.self_attn.q_proj
319- model.layers.40.self_attn.q_proj
320- model.layers.25.self_attn.q_proj
321- model.layers.51.self_attn.q_proj
322- model.layers.17.self_attn.q_proj
323- model.layers.37.self_attn.q_proj
324- model.layers.53.self_attn.q_proj
325# self_attn.v_proj layers
326- model.layers.55.self_attn.v_proj
327- model.layers.31.self_attn.v_proj
328- model.layers.47.self_attn.v_proj
329- model.layers.45.self_attn.v_proj
330- model.layers.49.self_attn.v_proj
331- model.layers.48.self_attn.v_proj
332- model.layers.15.self_attn.v_proj
333- model.layers.30.self_attn.v_proj
334- model.layers.7.self_attn.v_proj
335- model.layers.44.self_attn.v_proj
336- model.layers.29.self_attn.v_proj
337- model.layers.51.self_attn.v_proj
338- model.layers.50.self_attn.v_proj
339- model.layers.14.self_attn.v_proj
340- model.layers.54.self_attn.v_proj
341- model.layers.32.self_attn.v_proj
342- model.layers.43.self_attn.v_proj
343- model.layers.10.self_attn.v_proj
344- model.layers.46.self_attn.v_proj
345- model.layers.38.self_attn.v_proj
346- model.layers.57.self_attn.v_proj
347- model.layers.22.self_attn.v_proj
348- model.layers.39.self_attn.v_proj
349- model.layers.6.self_attn.v_proj
350- model.layers.23.self_attn.v_proj
351- model.layers.58.self_attn.v_proj
352- model.layers.53.self_attn.v_proj
353- model.layers.40.self_attn.v_proj
354- model.layers.24.self_attn.v_proj
355- model.layers.9.self_attn.v_proj
356- model.layers.25.self_attn.v_proj
357- model.layers.5.self_attn.v_proj
358
359
360wandb_project: EVA-Qwen2.5-32B-SFFT-v0.0
361wandb_entity:
362wandb_watch:
363wandb_name: Unit-00
364wandb_log_model:
365
366gradient_accumulation_steps: 8
367micro_batch_size: 1
368num_epochs: 3
369optimizer: paged_adamw_8bit
370lr_scheduler: cosine
371learning_rate: 0.00003
372max_grad_norm: 3
373
374train_on_inputs: false
375group_by_length: false
376bf16: auto
377fp16:
378tf32: true
379
380gradient_checkpointing: "unsloth"
381# gradient_checkpointing_kwargs:
382# use_reentrant: true
383early_stopping_patience:
384resume_from_checkpoint:
385local_rank:
386logging_steps: 1
387xformers_attention:
388flash_attention: true
389
390warmup_steps: 20
391evals_per_epoch: 4
392saves_per_epoch: 2
393save_safetensors: true
394hub_model_id:
395hub_strategy:
396debug:
397deepspeed: deepspeed_configs/zero3_bf16.json
398weight_decay: 0.1
399# fsdp:
400# - full_shard
401# - auto_wrap
402# fsdp_config:
403# fsdp_limit_all_gathers: true
404# fsdp_sync_module_states: true
405# fsdp_offload_params: false # Changed from true
406# fsdp_use_orig_params: true # Changed from false
407# fsdp_cpu_ram_efficient_loading: true
408# fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
409# fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
410# fsdp_activation_checkpointing: true
411# fsdp_state_dict_type: SHARDED_STATE_DICT # Changed from FULL_STATE_DICT
412# fsdp_sharding_strategy: FULL_SHARD
413# fsdp_forward_prefetch: true # Added
414# fsdp_backward_prefetch: "BACKWARD_POST" # Added
415# fsdp_backward_prefetch_limit: 1 # Added
416# fsdp_mixed_precision: BF16 # Added