Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no seq2seq_gan example #61

Closed
rickykaka opened this issue Dec 10, 2018 · 1 comment
Closed

no seq2seq_gan example #61

rickykaka opened this issue Dec 10, 2018 · 1 comment

Comments

@rickykaka
Copy link

There is no example code for gan training with seq2seq, I know it is somewhat like a combination of seq2seq_attn and seqgan, but still not sure about how to do it specifically. Can someone show me some code to do it properly?
Thanks!!

@rickykaka rickykaka changed the title no seq2seq_gan examples no seq2seq_gan example Dec 10, 2018
@ZhitingHu
Copy link
Member

Building seq2seq with gan training is pretty straightforward.
Starting from seqgan, you basically want to replace the language model architecture in seqgan with the seq2seq architecture in seq2seq_attn. That is, replace Line.58-78 of seqgan with Line.48-60 of seq2seq_attn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants