Extractive Summary
bash download.sh
bash extractive.sh "${TEST_FILE}" "${EXT_FILE}"
bash download.sh
bash seq2seq.sh "${TEST_FILE}" "${S2S_FILE}"
Abstractive (with attention) Summary
bash download.sh
bash attention.sh "${TEST_FILE}" "${ATT_FILE}"
Extractive Summary
python3.6 ./seq_tag/train.py
python3.6 ./seq2seq/train.py
Abstractive (with attention) Summary
python3.6 ./seq2seq/train.py
Plot the distribution of relative location
pip3 install matplotlib.pyplot
pip3 install math
python3.6 ./seq_tag/distribution_plot.py
Visualize the attention weights
pip3 install matplotlib.pyplot
pip3 install matplotlib.ticker
python3.6 ./seq2seq/attention_plot.py