update examples

Former-commit-id: 8bf55682cdfbbdca0f01073eac0084c20a6a09d1
This commit is contained in:
hiyouga
2024-04-23 18:29:46 +08:00
parent 1d2e372a8e
commit 79d34ce0f3
7 changed files with 11 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/bash
CUDA_VISIBLE_DEVICES=0 python ../../src/train_bash.py \
CUDA_VISIBLE_DEVICES=0,1,2,3 accelerate launch \
--config_file ../accelerate/single_config.yaml \
../../src/train_bash.py \
--stage sft \
--do_predict \
--model_name_or_path ../../saves/LLaMA2-7B/full/sft \