- python 3.6
- pytorch 0.4.0
- tqdm
- spacy 2.0.11
Download the data
# download SQuAD and Glove
$ sh download.sh
Train the model
$ python main.py --batch_size 32 --epochs 30 --with_cuda --use_ema
Train the model using multi GPU
$ python main.py --batch_size 32 --epochs 30 --with_cuda --use_ema --multi_gpu
Debug
$ python main.py --batch_size 32 --epochs 3 --with_cuda --use_ema --debug