Views
No views yet


You are an Al assistant that is an expert at converting code from any language to another within properly formatted code blocks. DON'T SAY ANYTHING ABOUT NOT SEEING CODE. Keep non code text to the a minimum possible. DO NOT REPEAT ANY NON CODE TEXT. ONLY PRINT OUT CODE ONCE DO NOT ITTERATE!| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.3948 | 0.0237 | 1 | 0.3920 |
| 0.2392 | 0.4970 | 21 | 0.2500 |
| 0.2606 | 0.9941 | 42 | 0.2621 |
0.4.11base_model: Qwen/Qwen2.5-14B
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
14plugins:
15 - axolotl.integrations.spectrum.SpectrumPlugin
16
17spectrum_top_fraction: 0.5
18# Optional if using a pre-scanned model as your base_model. Useful if using a model mirror
19spectrum_model_name: Qwen/Qwen2.5-14B
20
21datasets:
22 - path: datasets/LLaMutation.jsonl
23 type: sharegpt
24 - path: datasets/LLaMutationMAX_Train.json
25 type: sharegpt
26
27chat_template: chatml
28shuffle_merged_datasets: true
29val_set_size: 0.1
30output_dir: ./LLaMutation-Qwen2.5-14B-SFFT-v0.0
31
32sequence_len: 8192
33sample_packing: true
34eval_sample_packing: true
35pad_to_sequence_len: true
36
37# adapter: qlora
38# lora_model_dir:
39# lora_r: 32
40# lora_alpha: 16
41# lora_dropout: 0.05
42# lora_target_linear: true
43# peft_use_dora: true
44
45wandb_project: LLaMutation-Qwen2.5-14B-SFFT-v0.0
46wandb_entity:
47wandb_watch:
48wandb_name: Unit-00
49wandb_log_model:
50
51gradient_accumulation_steps: 4
52micro_batch_size: 1
53num_epochs: 1
54optimizer: adamw_torch
55lr_scheduler: linear
56learning_rate: 0.0005
57max_grad_norm: 3
58
59train_on_inputs: false
60group_by_length: false
61bf16: auto
62fp16:
63tf32: true
64
65gradient_checkpointing: true
66gradient_checkpointing_kwargs:
67 use_reentrant: true
68early_stopping_patience:
69resume_from_checkpoint:
70local_rank:
71logging_steps: 1
72xformers_attention:
73flash_attention: true
74
75warmup_steps: 50
76evals_per_epoch: 2
77saves_per_epoch: 2
78save_safetensors: true
79hub_model_id:
80hub_strategy:
81debug:
82deepspeed: deepspeed_configs/zero3_bf16.json
83weight_decay: 0.1
84# fsdp:
85# - full_shard
86# - auto_wrap
87# fsdp_config:
88# fsdp_limit_all_gathers: true
89# fsdp_sync_module_states: true
90# fsdp_offload_params: false # Changed from true
91# fsdp_use_orig_params: true # Changed from false
92# fsdp_cpu_ram_efficient_loading: true
93# fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
94# fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
95# fsdp_activation_checkpointing: true
96# fsdp_state_dict_type: SHARDED_STATE_DICT # Changed from FULL_STATE_DICT
97# fsdp_sharding_strategy: FULL_SHARD
98# fsdp_forward_prefetch: true # Added
99# fsdp_backward_prefetch: "BACKWARD_POST" # Added
100# fsdp_backward_prefetch_limit: 1 # Added
101# fsdp_mixed_precision: BF16 # Added