jiangqn / TextVAE-pytorch

Implementation of Variational Auto-Encoder for text generation in pytorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextVAE-pytorch

Implementation of Variational Auto-Encoder for text generation in pytorch.

Reference: Generating Sentences from a Continuous Space. ACL 2016. [paper]

Usage

Modify model and sample configuration in config.yaml or write new configuration file. Specify task (train, test, sample), gpu and config in command.

Train

python main.py --task train

Test

python main.py --task test

Sample

python main.py --task sample

About

Implementation of Variational Auto-Encoder for text generation in pytorch.

License:MIT License


Languages

Language:Python 100.0%