Views
No views yet
1<|im_start|>system
2{{system}}<|im_end|>
3<|im_start|>user
4{{instruction}}<|im_end|>
5<|im_start|>assistant
6{{response}}<|im_end|>1### model
2model_name_or_path: danube2-base-chatml
3
4### method
5stage: sft
6do_train: true
7finetuning_type: full
8use_badam: true
9badam_switch_mode: descending
10badam_switch_interval: 50
11badam_start_block: 22
12badam_mask_mode: scatter
13badam_verbose: 1
14seed: 314
15
16### dataset
17dataset: systemchat11
18template: hermes_chatml
19cutoff_len: 8192
20overwrite_cache: false
21preprocessing_num_workers: 12
22
23### output
24output_dir: systemchat11-chatml-badam
25logging_steps: 5
26save_steps: 1
27save_strategy: epoch
28plot_loss: true
29overwrite_output_dir: false
30
31### train
32per_device_train_batch_size: 2
33gradient_accumulation_steps: 8
34learning_rate: 0.00002
35num_train_epochs: 3
36lr_scheduler_type: cosine
37warmup_ratio: 0.01
38bf16: true
39flash_attn: fa2
40
41### eval
42val_size: 0.01
43per_device_eval_batch_size: 1
44eval_strategy: steps
45eval_steps: 1000
46| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.0062 | 0.8324 | 1000 | 0.9837 |
| 0.8484 | 1.6648 | 2000 | 0.9388 |
| 0.7834 | 2.4971 | 3000 | 0.9309 |
1### model
2model_name_or_path: systemchat11-chatml-badam
3
4### method
5stage: sft
6do_train: true
7finetuning_type: lora
8lora_target: all
9loraplus_lr_ratio: 16.0
10lora_rank: 8
11lora_alpha: 16
12use_unsloth: true
13quantization_bit: 4
14upcast_layernorm: true
15seed: 31415
16
17### dataset
18dataset: systemchat11
19template: hermes_chatml
20cutoff_len: 8192
21overwrite_cache: false
22preprocessing_num_workers: 12
23
24### output
25output_dir: systemchat11-chatml-badam/loraplus
26logging_steps: 1
27save_steps: 1
28save_strategy: epoch
29plot_loss: true
30overwrite_output_dir: false
31
32### train
33per_device_train_batch_size: 4
34gradient_accumulation_steps: 4
35learning_rate: 0.0001
36num_train_epochs: 2.0
37lr_scheduler_type: cosine
38warmup_ratio: 0.01
39bf16: true
40flash_attn: fa2
41
42### eval
43val_size: 0.02
44per_device_eval_batch_size: 1
45eval_strategy: steps
46eval_steps: 500| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.8591 | 0.4204 | 500 | 0.8457 |
| 0.9098 | 0.8409 | 1000 | 0.8251 |
| 0.735 | 1.2613 | 1500 | 0.8304 |
| 0.6811 | 1.6817 | 2000 | 0.8252 |