Skip to content

Commit

Permalink
change default lr in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kawine authored Oct 1, 2024
1 parent 1996fe0 commit 000bd35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/scripts/kto.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--model_name_or_path=trl-lib/qwen1.5-1.8b-sft \
--per_device_train_batch_size 16 \
--num_train_epochs 1 \
--learning_rate 5e-7 \
--learning_rate 1e-6 \
--lr_scheduler_type=cosine \
--gradient_accumulation_steps 1 \
--logging_steps 10 \
Expand All @@ -36,7 +36,7 @@
--model_name_or_path=trl-lib/qwen1.5-1.8b-sft \
--per_device_train_batch_size 8 \
--num_train_epochs 1 \
--learning_rate 5e-7 \
--learning_rate 1e-6 \
--lr_scheduler_type=cosine \
--gradient_accumulation_steps 1 \
--logging_steps 10 \
Expand Down

0 comments on commit 000bd35

Please sign in to comment.