Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 923 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 923 Bytes

Chainer implementation of Pointer Generator Networks

Chainer-based implementation of Pointer Generator Networks.

See "Get To The Point: Summarization with Pointer-Generator Networks", Abigail See; Peter J. Liu; Christopher D. Manning, ACL 2017.

This repository is partly derived from this repository and Chainer's official seq2seq example.

Development Environment

  • Ubuntu 16.04
  • Python 3.5.2
  • Chainer 3.1.0
  • numpy 1.13.3
  • cupy 2.1.0
  • nltk
  • progressbar
  • and their dependencies

How to Run

$ python train.py <path/to/training-source> <path/to/training-target> <path/to/source-vocabulary> <path/to/target-vocabulary> --validation-source <path/to/validation-source> --validation-target <path/to/validation-target> -g <gpu-id>