This commit is contained in:
hiyouga
2024-03-06 17:25:08 +08:00
parent 3e84f430b1
commit 0048a2021e
4 changed files with 15 additions and 17 deletions

View File

@@ -475,8 +475,7 @@ CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \
#### Use Huggingface Accelerate
```bash
accelerate config # configure the environment
accelerate launch src/train_bash.py # arguments (same as above)
accelerate launch --config_file config.yaml src/train_bash.py # arguments (same as above)
```
<details><summary>Example config for LoRA training</summary>