train: change lr
This commit is contained in:
parent
9fce0acb9b
commit
dc953dd514
|
@ -8,7 +8,7 @@ finetuning_type: lora
|
||||||
lora_target: q_proj,v_proj
|
lora_target: q_proj,v_proj
|
||||||
|
|
||||||
### dataset
|
### dataset
|
||||||
dataset: alpaca_en
|
dataset: alpaca_gpt4_zh
|
||||||
template: llama2
|
template: llama2
|
||||||
cutoff_len: 1024
|
cutoff_len: 1024
|
||||||
max_samples: 100000
|
max_samples: 100000
|
||||||
|
@ -16,7 +16,7 @@ overwrite_cache: true
|
||||||
preprocessing_num_workers: 16
|
preprocessing_num_workers: 16
|
||||||
|
|
||||||
### output
|
### output
|
||||||
output_dir: ./saves/LLaMA2-7B/lora/train_24_8_12_23_21
|
output_dir: ./saves/LLaMA2-7B/lora/train_24_8_13_07_26
|
||||||
logging_steps: 3
|
logging_steps: 3
|
||||||
save_steps: 100
|
save_steps: 100
|
||||||
plot_loss: true
|
plot_loss: true
|
||||||
|
@ -25,7 +25,7 @@ overwrite_output_dir: true
|
||||||
### train
|
### train
|
||||||
per_device_train_batch_size: 2
|
per_device_train_batch_size: 2
|
||||||
gradient_accumulation_steps: 8
|
gradient_accumulation_steps: 8
|
||||||
learning_rate: 5.0e-5
|
learning_rate: 1.5e-4
|
||||||
num_train_epochs: 10
|
num_train_epochs: 10
|
||||||
lr_scheduler_type: cosine
|
lr_scheduler_type: cosine
|
||||||
warmup_ratio: 0.1
|
warmup_ratio: 0.1
|
||||||
|
|
Loading…
Reference in New Issue