Update README.md

This commit is contained in:
Andriy Mulyar 2023-03-28 16:11:43 -04:00 committed by GitHub
parent 23de567b86
commit dcc7358e26

View File

@ -50,6 +50,11 @@ cd ../peft
pip install -e .
```
## Training
```bash
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
```
## Generate
@ -58,13 +63,6 @@ python generate.py --config configs/generate/generate.yaml --prompt "Write a scr
```
## Train
```bash
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
```
If you utilize this reposistory, models or data in a downstream project, please consider citing it with:
```