-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbert_job_nofinetune_notitle_nolikes.sh
17 lines (15 loc) · 1.29 KB
/
bert_job_nofinetune_notitle_nolikes.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#SBATCH --time=04:00:00
#SBATCH --account=rrg-emilios
#SBATCH --mail-user=thenachotp@gmail.com
#SBATCH --mail-type=ALL
#SBATCH --job-name=BCS_nofinetune_nolikes_notitles
#SBATCH --cpus-per-task=16
#SBATCH --gres=gpu:v100:1
#SBATCH --mem=32G
#SBATCH --output=%j-%x.log
source ~/bertcommentsum/bin/activate
export CLASSPATH=~/projects/rrg-emilios/nachotp/stanford-corenlp-4.0.0/stanford-corenlp-4.0.0.jar
export CLASSPATH=$CLASSPATH:~/projects/rrg-emilios/nachotp/BertCommentSum/stanford-corenlp-4.0.0-models-spanish.jar
python src/train.py -mode train -dec_dropout 0.2 -sep_optim true -lr_bert 0.002 -lr_dec 0.2 -save_checkpoint_steps 2000 -batch_size 140 -train_steps 200000 -report_every 100 -accum_count 5 -finetune_bert false -predict_title false -include_like_dist false -use_bert_emb true -use_interval true -warmup_steps_bert 20000 -warmup_steps_dec 10000 -max_pos 512 -visible_gpus 0 -log_file logs/nofinetune_nolikes_notitles.log
# python src/train.py -mode train -dec_dropout 0.2 -sep_optim true -predict_title false -lr_bert 0.002 -lr_dec 0.2 -save_checkpoint_steps 2000 -batch_size 140 -train_steps 200000 -report_every 100 -accum_count 5 -use_bert_emb true -use_interval true -warmup_steps_bert 20000 -warmup_steps_dec 10000 -max_pos 512 -visible_gpus -1 -log_file logs/sqrtatt_notitle.log