hongwang600 / Summarization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for our ACL 2019 paper:

Self-Supervised Learning for Contextualized Extractive Summarization

Paper link: https://arxiv.org/abs/1906.04466

Prepare data

Download data

Requirement

Install pyrouge

pretrain the model

sh run_pretrain.sh

fine-tune the model

sh run_summarization.sh

evaluate the model

copy the model under 'results/models' to 'results/model_to_evaluate.pt'

sh run_eval.sh

About


Languages

Language:Perl 79.0%Language:Python 20.9%Language:Shell 0.0%