Skip to content

Pytorch implementation of NAACL 2018 paper "A Discourse-Aware Attention Model for Abstractive Summarization of Long Documents"

Notifications You must be signed in to change notification settings

mohitm15/long-summarization-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

long-summarization

Pytorch implementation of NAACL 2018 "A Discourse-Aware Attention Model for Abstractive Summarization of Long Documents" (original TensorFlow code)

Data

Two datasets of long documents are provided by original authors.

ArXiv dataset: Download
PubMed dataset: Download

We also provide small try_out.zip file for the test purpose.

Requirements

  • Python 3.7
  • Pytorch 1.0.1
  • Pyrouge

Run training

python src/main.py -data pubmed -save_dir SAVE_DIR

Run decoding

python src/decode.py -data pubmed -mode decode -train_from models/MODEL_PATH

About

Pytorch implementation of NAACL 2018 paper "A Discourse-Aware Attention Model for Abstractive Summarization of Long Documents"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published