YumingSu / StructSum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

structured_summarizer

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

About


Languages

Language:Python 96.5%Language:Shell 3.5%