Instruction

Build docker image using docker/Dockerfile.

Training

./train.sh offsets 30
./train.sh nli 30

It will save 90 models(111GB). If your GPU have only 8GB of RAM, change from

--train_batch_size 4 --gradient_accumulation_steps 5

to

--train_batch_size 1 --gradient_accumulation_steps 20

in train.sh.

Prediction

python offsets_predict.py --test_file "test_stage_2.tsv"
python nli_predict.py --test_file "test_stage_2.tsv"
python make_submission.py