-
Notifications
You must be signed in to change notification settings - Fork 4
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
dcgan - for text generation #3
Comments
+1 |
Thanks for the interest in my code! Theoretically, yes, you can change the discriminator and generator networks in my code to whatever you want and run my code for adversarial training. I think the trick would be designing the appropriate generator and discriminator networks for your task, then playing around with training hyperparameters. I think training might be a challenge since you have to "balance" the generator and discriminator during training (so one doesn't take over the other at first); I'm not quite sure how this would work in the text domain. Your idea sounds fascinating but at the moment I'm busy working on other projects. If you get something to work, please keep me posted! |
so - I did some reading /youtube videos about this. From digging through white papers - one approach taken specific to CNN is to limit the vocab of an author to subset used in corpus. (Naturally - characters in a book will skew the vernacular / results - so you'd need to limit / exclude out of character text - you want to have the voice biased to male / female for it to illicit the corresponding tone) You'd then pass the sentence in multiple passes - switching out the words with synonyms used by author. @llSourcell built this repo This is worth checking out - song generator based off of Taylor swift's song corpus. Noteworthy - A supervised char - RNN is probably going to get furtherest fastest - but it's not going win any pulitzer prizes any time soon. |
fyi - GAN Zoo - https://deephunt.in/the-gan-zoo-79597dc8c347?gi=d33c8dc9314a |
Did you get dcgan work for text generation? |
there's some work in this area for text. |
I've seen a lot of work around dcgan for images.
I wondered how this data science could apply to text generation.
I stubbled upon https://github.com/sherjilozair/char-rnn-tensorflow which will spit out a body of work - but I wondered if you had any thoughts how the descriminator vs generator could be used to forge text to simulate a specific author.
I found this CNN for classification.
https://github.com/dennybritz/cnn-text-classification-tf
Theoretically - could your code be plugged into these Covnets?
Let me know if there's interest. I'm building a Parsey McParseface docker api
https://github.com/dmansfield/parsey-mcparseface-api
and I'm looking to explore style transfer for text.
The text was updated successfully, but these errors were encountered: