futianfan / pointer-generator-reproduce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abstractive Summarization

The repository is a reproduction of ACL 2017 paper Get To The Point: Summarization with Pointer-Generator Networks.

It heavily replied on the repository here.

Data preparation

I use the code to process CNN/DailyMail dataset.

Model

Regarding model, i reconstruct the code using Tensorflow. It support (1) Pointer-Generator and (2) Coverage Mechanism

please see model.py for more details

Train & Validation & decode

Training validation and decode can be done concurrently.

please see run.py for more details.

Requirement

It support python3.

Hyperparameter

please see config.py for more details.

Evaluation

ROUGE score, standard metric. I use the code.

About


Languages

Language:Python 100.0%