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.
- Ubuntu 16.04
- Python 3.5.2
- Chainer 3.1.0
- numpy 1.13.3
- cupy 2.1.0
- nltk
- progressbar
- and their dependencies
$ 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>