-
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.
adding fix for wandb tags and distributed ranks
- Loading branch information
1 parent
cd4e0c2
commit 7b73354
Showing
6 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -17,6 +17,7 @@ uvicorn | |
pydantic | ||
fastapi | ||
sse-starlette | ||
packaging | ||
matplotlib | ||
py-cpuinfo | ||
deepspeed | ||
|
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 |
---|---|---|
@@ -1,21 +1,23 @@ | ||
python src/train_bash.py \ | ||
CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \ | ||
--stage rm \ | ||
--model_name_or_path meta-llama/Llama-2-13b \ | ||
--model_name_or_path meta-llama/Llama-2-13b-hf \ | ||
--do_train \ | ||
--dataset comparison_gpt4_en \ | ||
--template default \ | ||
--finetuning_type lora \ | ||
--lora_target q_proj,v_proj \ | ||
--resume_lora_training False \ | ||
--checkpoint_dir ./llama-2-13b-rm \ | ||
--output_dir ./llama-2-13b-rm \ | ||
--per_device_train_batch_size 2 \ | ||
--gradient_accumulation_steps 4 \ | ||
--per_device_train_batch_size 8 \ | ||
--gradient_accumulation_steps 8 \ | ||
--lr_scheduler_type cosine \ | ||
--logging_steps 10 \ | ||
--save_steps 1000 \ | ||
--learning_rate 1e-6 \ | ||
--num_train_epochs 1.0 \ | ||
--plot_loss \ | ||
--fp16 \ | ||
--hf_auth_token "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" | ||
--use_auth_token True \ | ||
--wandb_token "99caa13ec9552adf0e92e5c30021307ce3cf7fa4" \ | ||
--hf_auth_token "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" \ | ||
--deepspeed ./deepspeed_config_s2.json |
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
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
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
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