Skip to content

Commit

Permalink
add use_chat_template to lighteval
Browse files Browse the repository at this point in the history
  • Loading branch information
mlabonne authored Apr 20, 2024
1 parent c419032 commit 6f1e0ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runpod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,15 @@ elif [ "$BENCHMARK" == "lighteval" ]; then
echo "Multi-GPU mode enabled."
accelerate launch --multi_gpu --num_processes=${num_gpus} run_evals_accelerate.py \
--model_args "pretrained=${MODEL_ID}" \
--use_chat_template \
--tasks ${LIGHT_EVAL_TASK} \
--output_dir="./evals/"

elif [[ $num_gpus -eq 1 ]]; then
echo "Single-GPU mode enabled."
accelerate launch run_evals_accelerate.py \
--model_args "pretrained=${MODEL_ID}" \
--use_chat_template \
--tasks ${LIGHT_EVAL_TASK} \
--output_dir="./evals/"
else
Expand Down

0 comments on commit 6f1e0ef

Please sign in to comment.