Skip to content

calclavia/SeqGAN

 
 

Repository files navigation

Multitasking SeqGAN

An implementation of SeqGAN in Pytorch. Uses generative adversarial methods to train a language model to predict the next character.

Requirements

To install all Python dependencies:

pip install -r requirements.txt

Training

To train the model, run:

python train.py

Generating

To use a trained model to generate text, run:

python generate.py

The saved model file must be located in out/generator.torch.

About

Implementation of Sequence Generative Adversarial Nets with Policy Gradient

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%