Views
No views yet
<think></think> anymore, so I guess just treat it like any other Samantha tune.0.6.01# Weights and Biases logging config
2wandb_project: Qwen3-4B
3wandb_entity:
4wandb_watch:
5wandb_name: Qwen3-Samantha-v0.1-4B-LoRA-run4
6wandb_log_model:
7
8# Model checkpointing config
9output_dir: ./Outputs/Qwen3-Samantha-v0.1-4B-LoRA-run4
10save_steps: 10
11save_safetensors: true
12save_total_limit: 2
13save_only_model: true
14
15# Model architecture config
16base_model: Qwen/Qwen3-4B
17model_type: AutoModelForCausalLM
18tokenizer_type: AutoTokenizer
19
20# Mixed precision training config
21bf16: true
22fp16: false
23tf32: false
24
25# Model loading config
26load_in_8bit: false
27load_in_4bit: false
28strict: false
29
30# Sequence config
31sequence_len: 2048
32min_sample_len:
33sample_packing: false
34eval_sample_packing: false
35pad_to_sequence_len: true
36train_on_inputs: false
37group_by_length: false
38
39# LoRA adapter config
40adapter: lora
41lora_r: 64
42lora_alpha: 64
43lora_dropout: 0.125
44lora_target_modules:
45 - gate_proj
46 - down_proj
47 - up_proj
48 - q_proj
49 - v_proj
50 - k_proj
51 - o_proj
52
53# Fix uninitialized tokens (such as <|start_header_id|> on the base L3 models)
54fix_untrained_tokens:
55
56# Dataset config
57datasets:
58 - path: digitalpipelines/samantha-1.1-uncensored
59 type: customchatml-regex
60 - path: lodrick-the-lafted/Samantha-Opus
61 type: customchatml-regex
62test_datasets:
63val_set_size: 0.05
64eval_strategy: steps
65eval_steps: 10
66dataset_prepared_path: ./00-Tokenized-Datasets/Qwen3-Samantha-v0.1-4B-FFT-seed42
67shuffle_merged_datasets: true
68
69# Training hyperparameters
70num_epochs: 2
71gradient_accumulation_steps: 2
72micro_batch_size: 16
73eval_batch_size: 16
74warmup_steps: 0
75optimizer: came_pytorch
76optim_args:
77 enable_stochastic_rounding: true
78 enable_cautious: true
79 enable_8bit: true
80optim_target_modules:
81lr_scheduler: rex
82learning_rate: 1e-5
83cosine_min_lr_ratio: 0.05
84loraplus_lr_ratio:
85loraplus_lr_embedding:
86weight_decay: 0.1
87max_grad_norm: 0.5
88logging_steps: 1
89
90# Model optimization
91gradient_checkpointing: offload
92sdp_attention: true
93plugins:
94 - axolotl.integrations.liger.LigerPlugin
95 - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
96cut_cross_entropy: true
97liger_rope: true
98liger_rms_norm: true
99liger_layer_norm: true
100liger_glu_activation: true
101liger_cross_entropy: false
102liger_fused_linear_cross_entropy: false
103lora_mlp_kernel: false
104lora_qkv_kernel: false
105lora_o_kernel: false
106
107# DeepSpeed
108deepspeed:
109
110# Garbage Collection
111gc_steps: 1
112
113# Debug config
114debug: true
115seed: 42
116
117# Token config
118special_tokens:
119 eos_token: "<|im_end|>"
120 pad_token: "<|endoftext|>"
121tokens:
122| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.3445 | 0.0087 | 1 | 2.0134 |
| 1.4708 | 0.0866 | 10 | 1.3584 |
| 1.2713 | 0.1732 | 20 | 1.3324 |
| 1.3535 | 0.2597 | 30 | 1.3123 |
| 1.1763 | 0.3463 | 40 | 1.2995 |
| 1.2369 | 0.4329 | 50 | 1.2897 |
| 1.3555 | 0.5195 | 60 | 1.2847 |
| 1.2712 | 0.6061 | 70 | 1.2751 |
| 1.1881 | 0.6926 | 80 | 1.2679 |
| 1.2572 | 0.7792 | 90 | 1.2626 |
| 1.2649 | 0.8658 | 100 | 1.2596 |
| 1.326 | 0.9524 | 110 | 1.2567 |
| 1.1402 | 1.0346 | 120 | 1.2587 |
| 1.1053 | 1.1212 | 130 | 1.2570 |
| 1.1195 | 1.2078 | 140 | 1.2540 |
| 1.2079 | 1.2944 | 150 | 1.2514 |
| 1.1103 | 1.3810 | 160 | 1.2491 |
| 1.1749 | 1.4675 | 170 | 1.2486 |
| 1.1748 | 1.5541 | 180 | 1.2465 |
| 1.0526 | 1.6407 | 190 | 1.2438 |
| 1.0474 | 1.7273 | 200 | 1.2435 |
| 1.0655 | 1.8139 | 210 | 1.2411 |
| 1.0812 | 1.9004 | 220 | 1.2400 |
| 1.0806 | 1.9870 | 230 | 1.2390 |