A big part of this code is borrowed from https://github.com/atulkum/pointer_summarizer except structured attention for the encoder.
Further Instructions - To be released soon!
Implementation of : StructSum: Summarization via Structured Representations
Dataset Instructions : Follow data generation instruction from https://github.com/abisee/cnn-dailymail
We use https://github.com/andersjo/dependency_decoding for chu_liu_edmonds algorithm
This code by default requires Pytorch Nightly version (For batched inverse).
To run with Pytorch stable use --pytorch_version stable
Dependencies are listed in requirements.txt.
Create dir saved_models before running