-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_combined.sh
More file actions
executable file
·21 lines (18 loc) · 1.52 KB
/
run_combined.sh
File metadata and controls
executable file
·21 lines (18 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
echo "Starting training for configs/FINETUNE/softmax_pretraining_model/softmax_pretraining_model_combined.yaml..."
accelerate launch --config_file configs/accelerate/accelerate-8gpus.yaml train.py --config configs/FINETUNE/softmax_pretraining_model/softmax_pretraining_model_combined.yaml
if [ $? -ne 0 ]; then
echo "Training failed for configs/FINETUNE/softmax_pretraining_model/softmax_pretraining_model_combined.yaml. Continuing to next job..."
fi
echo "--------------------------------------------------"
echo "Starting training for configs/FINETUNE/softmax_linear_model_correct_nbf/softmax_linear_model_correct_nbf_combined.yaml..."
accelerate launch --config_file configs/accelerate/accelerate-8gpus.yaml train.py --config configs/FINETUNE/softmax_linear_model_correct_nbf/softmax_linear_model_correct_nbf_combined.yaml
if [ $? -ne 0 ]; then
echo "Training failed for configs/FINETUNE/softmax_linear_model_correct_nbf/softmax_linear_model_correct_nbf_combined.yaml. Continuing to next job..."
fi
echo "--------------------------------------------------"
echo "Starting training for configs/FINETUNE/softmax_linear_model/softmax_linear_model_combined.yaml..."
accelerate launch --config_file configs/accelerate/accelerate-8gpus.yaml train.py --config configs/FINETUNE/softmax_linear_model/softmax_linear_model_combined.yaml
if [ $? -ne 0 ]; then
echo "Training failed for configs/FINETUNE/softmax_linear_model/softmax_linear_model_combined.yaml. Continuing to next job..."
fi
echo "--------------------------------------------------"