Tensorflow implementaion of Dynamic Coattention Networks.
This repo contains work on progress.
- Python 3.5.2
- TensorFlow
- spaCy 1.2.0
- NLTK
Retrieve json training files from SQuAD.
dataset.py
contains code to create a dataset and vocab for training network.
python3 dataset.py --command create_dataset --input data/train-v1.1.json --output data/train.bin,data/validation.bin --split 0.2,0.8
python3 dataset.py --command create_vocab --input data/train-v1.1.json --output data/vocab
In order to train the network, execute
python main.py --mode train
Modified codes are originally from textsum.