#904 · Primary category: Education & Research
seqGAN
A simplified PyTorch implementation of "SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient." (Yu, Lantao, et al.)
Project last updated:09/27/18
GitHub Stars
647
Forks
147
Contributors
1
License
Other
Why we included this project
This is a compact, readable PyTorch reimplementation of the SeqGAN paper, aimed at people learning how generative adversarial networks handle discrete sequence data. The author stripped the original reference code down to its essentials, swapping rollout-based policy gradients for a single reward per sentence and using a bidirectional GRU discriminator, so the training loop is much easier to follow. The comments are thorough, and the repo documents the hacks that actually helped stabilize training, like training the discriminator more than the generator and giving each network its own optimizer. Everything runs on synthetic data, so you can reproduce the learning curve and watch how MLE pretraining followed by adversarial training plays out without hunting down a large dataset.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI