Views
No views yet
1<|im_start|>user
2{{instruction}}<|im_end|>
3<|im_start|>assistant
4{{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: ascending
10badam_switch_interval: 50
11badam_verbose: 1
12badam_start_block: 13
13badam_mask_mode: scatter
14seed: 314
15
16### dataset
17dataset: airoboros32
18template: hermes_chatml
19cutoff_len: 8192
20overwrite_cache: false
21preprocessing_num_workers: 12
22
23### output
24output_dir: airoboros32-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.00001
35num_train_epochs: 2
36lr_scheduler_type: cosine
37warmup_ratio: 0.01
38pure_bf16: true
39flash_attn: fa2
40
41### eval
42val_size: 0.01
43per_device_eval_batch_size: 1
44eval_strategy: steps
45eval_steps: 1000| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.9124 | 0.2753 | 1000 | 0.9466 |
| 0.8072 | 0.5506 | 2000 | 0.9149 |
| 0.9017 | 0.8258 | 3000 | 0.8982 |
| 0.8883 | 1.1011 | 4000 | 0.8844 |
| 0.8405 | 1.3764 | 5000 | 0.8786 |
| 0.864 | 1.6517 | 6000 | 0.8754 |
| 0.7758 | 1.9270 | 7000 | 0.8752 |
1### model
2model_name_or_path: airoboros32-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: 314
16
17### dataset
18dataset: airoboros32
19template: hermes_chatml
20cutoff_len: 8192
21overwrite_cache: false
22preprocessing_num_workers: 12
23
24### output
25output_dir: airoboros32-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: 1000| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.9691 | 0.2781 | 1000 | 0.8704 |
| 0.7387 | 0.5562 | 2000 | 0.8443 |
| 0.6769 | 0.8343 | 3000 | 0.8250 |
| 0.5156 | 1.1123 | 4000 | 0.8134 |
| 0.4142 | 1.3904 | 5000 | 0.8029 |
| 0.6328 | 1.6685 | 6000 | 0.7953 |
| 0.872 | 1.9466 | 7000 | 0.7927 |