mirror of https://github.com/hpcaitech/ColossalAI
[format] applied code formatting on changed files in pull request 3025 (#3026)
Co-authored-by: github-actions <github-actions@github.com>pull/3029/head
parent
cd2b0eaa8d
commit
e86d9bb2e1
|
@ -15,9 +15,9 @@ Use these code to train your reward model.
|
|||
|
||||
```shell
|
||||
# Naive reward model training
|
||||
python train_reward_model.py --pretrain <your model path> --model <your model type> --strategy naive
|
||||
python train_reward_model.py --pretrain <your model path> --model <your model type> --strategy naive
|
||||
# use colossalai_zero2
|
||||
torchrun --standalone --nproc_per_node=2 train_reward_model.py --pretrain <your model path> --model <your model type> --strategy colossalai_zero2
|
||||
torchrun --standalone --nproc_per_node=2 train_reward_model.py --pretrain <your model path> --model <your model type> --strategy colossalai_zero2
|
||||
```
|
||||
|
||||
## Train with dummy prompt data (Stage 3)
|
||||
|
|
Loading…
Reference in New Issue