Skip to content

Commit 2ac9395

Browse files
committed
fix: update to how to train
1 parent 134d566 commit 2ac9395

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@ pip install -e .
2323

2424
## Generate
2525

26-
`python generate.py --config configs/generate/generate.yaml --prompt "Write a script to reverse a string in Python`
26+
`python generate.py --config configs/generate/generate.yaml --prompt "Write a script to reverse a string in Python`
27+
28+
29+
## Train
30+
31+
`accelerate launch --dynamo_backend=inductor --num_processes=8 --num_machines=1 --machine_rank=0 --deepspeed_multinode_launcher standard --mixed_precision=bf16 --use_deepspeed --deepspeed_config_file=configs/deepspeed/ds_config.json train.py --config configs/train/finetune-7b.yaml`

0 commit comments

Comments
 (0)