Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 961 Bytes

README.md

File metadata and controls

51 lines (28 loc) · 961 Bytes

DP-GAN

This is the code used in the paper titled DP-GAN: Diversity-Promoting Generative Adversarial Network for Generating Informative and Diversified Text. The link is http://arxiv.org/abs/1802.01345

Requirements

The software is written in tensorflow. It requires the following packages:

python3

Tensorflow 1.3

Preparing the data

python review_generation_dataset/generate_review.py

The sample is shown in review_generation_dataset/train (test).

How it works

bash run.sh

The default options can be edited in main.py.

Cite

If you use this code, please cite the following paper:

@inproceedings{dp-gan,

author = {Jingjing Xu, Xu Sun, Xuancheng Ren, Junyang Lin, Binzhen Wei, Wei Li},

title = {DP-GAN: Diversity-Promoting Generative Adversarial Network for Generating Informative and Diversified Text},

journal = {CoRR},

volume = {abs/1802.01345},

year = {2018},

url = http://arxiv.org/abs/1802.01345

}