Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaNG authored Mar 5, 2024
1 parent f3da392 commit cc07578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivellava/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def main():
--group_by_modality_length True \
--bf16 True \
--output_dir {OUTPUT_DIR} \
--num_train_epochs 4 \
--num_train_epochs 1 \
--per_device_train_batch_size 16 \
--per_device_eval_batch_size 4 \
--gradient_accumulation_steps 1 \
Expand All @@ -154,7 +154,7 @@ def main():
--save_strategy "steps" \
--save_steps 50 \
--save_total_limit 1 \
--learning_rate 2e-3 \
--learning_rate 2e-5 \
--weight_decay 0. \
--warmup_ratio 0.03 \
--lr_scheduler_type "cosine" \
Expand Down

0 comments on commit cc07578

Please sign in to comment.