update examples

Former-commit-id: 2efd9b6ba0
This commit is contained in:
hiyouga
2024-04-23 18:29:46 +08:00
parent a7ec9d4be8
commit 23f738fda5
7 changed files with 11 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/bash
# also launch it on slave machine using slave_config.yaml
CUDA_VISIBLE_DEVICES=0,1,2,3 accelerate launch \
--config_file ../accelerate/master_config.yaml \

View File

@@ -1,6 +1,6 @@
#!/bin/bash
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 accelerate launch \
CUDA_VISIBLE_DEVICES=0,1,2,3 accelerate launch \
--config_file ../accelerate/single_config.yaml \
../../src/train_bash.py \
--stage sft \