This is a packge of SAN (Stochastic Answer Networks for Machine Reading Comprehension) https://arxiv.org/abs/1809.09194.
######### SETUP ENV ###########
- python3.6
- install requirements:
pip install -r requirements.txt
- download data/word2vec
sh download.sh
Or,
Use our pre-build docker:
docker pull allenlao/pytorchv2 ###############################
######### Train SAN Model #####
- preproces data
python prepro.py
- train a model
python train.py ################################