This model was first fine-tuned with
BAdam on
ajibawa-2023/Code-290k-ShareGPT using LLama-Factory.
1<|im_start|>system
2You are a helpful coding assistant.<|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: ascending
10badam_switch_interval: 50
11badam_verbose: 1
12badam_start_block: 8
13seed: 8
14
15### dataset
16dataset: code_290k
17template: hermes_chatml
18cutoff_len: 8192
19overwrite_cache: false
20preprocessing_num_workers: 12
21
22### output
23output_dir: code-290k-chatml-badam
24logging_steps: 5
25save_steps: 1
26save_strategy: epoch
27plot_loss: true
28overwrite_output_dir: false
29
30### train
31per_device_train_batch_size: 2
32gradient_accumulation_steps: 8
33learning_rate: 0.00001
34num_train_epochs: 1
35lr_scheduler_type: constant_with_warmup
36warmup_ratio: 0.01
37bf16: true
38flash_attn: fa2
39
40### eval
41val_size: 0.01
42per_device_eval_batch_size: 1
43eval_strategy: steps
44eval_steps: 1000