Skip to content

Implementation of RelGAN: Relational Generative Adversarial Networks for Text Generation

License

Notifications You must be signed in to change notification settings

weilinie/RelGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RelGAN

This repository contains the code to reproduce the core results from the paper RelGAN: Relational Generative Adversarial Networks for Text Generation.

Dependencies

This project uses Python 3.5.2, with the following lib dependencies:

Instructions

The experiments folders contain scripts for starting the different experiments. For example, to reproduce the synthetic data experiments, you can try:

cd oracle/experiments
python3 oracle_relgan.py [job_id] [gpu_id]

or COCO Image Captions:

cd real/experiments
python3 coco_relgan.py [job_id] [gpu_id]

or EMNLP2017 WMT News:

cd real/experiments
python3 emnlp_relgan.py [job_id] [gpu_id]

Note to replace [job_id] and [gpu_id] with appropriate numerical values.

Reference

To cite this work, please use

@INPROCEEDINGS{Nie2019ICLR,
  author = {Nie, Weili and Narodytska, Nina and Patel, Ankit},
  title = {RelGAN: Relational Generative Adversarial Networks for Text Generation},
  booktitle = {International conference on learning representations (ICLR)},
  year = {2019}
}

Acknowledgement

This code is based on the previous benchmarking platform Texygen.

About

Implementation of RelGAN: Relational Generative Adversarial Networks for Text Generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages