SeqGAN with keras

About this

SeqGAN generate sentences similar to a novel, in this example Soseki Natsume's (Japanese famous novelist) "Kokoro", by adversarial training.

Look at the paper for detail.

In this example, disciminator model differs from paper because keras don't support masking in Conv1D, so disciminator uses LSTM here.

Usage

main.ipynb shows usage and result.

Requirements

Test

python setup.py test