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,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 \