From 052c836bb97ea47410e9b21d19b1c7a5f11c556c Mon Sep 17 00:00:00 2001 From: Yizhen Date: Fri, 28 Jun 2024 02:20:37 +0800 Subject: [PATCH] [Usability] dpo v2 example now using accelerate instead of deepspeed --- scripts/run_dpov2_align.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/run_dpov2_align.sh b/scripts/run_dpov2_align.sh index 9a2b0faae..d96908931 100644 --- a/scripts/run_dpov2_align.sh +++ b/scripts/run_dpov2_align.sh @@ -7,7 +7,6 @@ reference_model_name_or_path=meta-llama/Meta-Llama-3-8B-Instruct dataset_path=data/iterative-prompt/train eval_dataset_path=data/iterative-prompt/eval output_dir=output_models/${run_name} -deepspeed_args="--master_port=11000 --include localhost:4,5,6,7" while [[ $# -ge 1 ]]; do key="$1" @@ -36,10 +35,6 @@ while [[ $# -ge 1 ]]; do output_dir="$2" shift ;; - --deepspeed_args) - deepspeed_args="$2" - shift - ;; *) echo "error: unknown option \"${key}\"" 1>&2 exit 1