Bidirectional Attention Flow for Machine Comprehension, Minjoon Seo, Aniruddha Kembhavi, Ali Farhadi, Hannaneh Hajishirzi https://arxiv.org/abs/1611.01603
This repo contains the implementation of Bi-Directional Attention Flow (BIDAF) network in PyTorch.
$ ./download.sh // download squad dataset
$ python -m squad.prepro // build documents
And you also need to download glove 6B dataset under dataset
directory.
$ python main.py --help
$ python main.py
$ python main.py --resume ./checkpoints/Epoch-12.model --test 1