-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfinetune-roberta-ep10.sh
28 lines (25 loc) · 991 Bytes
/
finetune-roberta-ep10.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
#SBATCH --job-name=finetune-roberta-ep10
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=8
#SBATCH --mem=16GB
#SBATCH --time=167:00:00
#SBATCH --mail-type=END
#SBATCH --mail-user=yw3642@nyu.edu
#SBATCH --output=log/%x-%A.out
#SBATCH --error=log/%x-%A.err
#SBATCH --gres=gpu:1
#SBATCH -p aquila
#SBATCH --nodelist=agpu7
module purge
module load anaconda3 cuda/11.1.1
nvidia-smi
nvcc --version
cd /gpfsnyu/scratch/yw3642/nbme/src
echo "START"
source deactivate
source /gpfsnyu/packages/anaconda3/5.2.0/bin/activate kaggle
python -u train.py --pretrained_checkpoint /gpfsnyu/scratch/yw3642/nbme/ckpt/2022-04-26-00:06:59-7cdb/checkpoint-105370 \
--epochs 10 --batch_size 4 --accumulation_steps 1 --lr 1e-5 --weight_decay 0.0 --seed 42
echo "FINISH"