-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
deepspeed fastchat/train/train_lora.py \ | ||
--model_name_or_path ./vicuna-7b-1.5 \ | ||
--lora_r 8 \ | ||
--lora_alpha 16 \ | ||
--lora_dropout 0.05 \ | ||
--data_path ./data/dummy_conversation.json \ | ||
--bf16 True \ | ||
--output_dir ./checkpoints \ | ||
--num_train_epochs 3 \ | ||
--per_device_train_batch_size 1 \ | ||
--per_device_eval_batch_size 1 \ | ||
--gradient_accumulation_steps 1 \ | ||
--evaluation_strategy "no" \ | ||
--save_strategy "steps" \ | ||
--save_steps 1200 \ | ||
--save_total_limit 100 \ | ||
--learning_rate 2e-5 \ | ||
--weight_decay 0. \ | ||
--warmup_ratio 0.03 \ | ||
--lr_scheduler_type "cosine" \ | ||
--logging_steps 1 \ | ||
--tf32 True \ | ||
--model_max_length 2048 \ | ||
--q_lora True \ | ||
--deepspeed playground/deepspeed_config_s2.json |