0
$\begingroup$

How can I implement a GAN network for text (review) generation?

Please, can someone guide me to resource (code) to help in text generation?

$\endgroup$
  • 2
    $\begingroup$ Welcome to SE:AI. I'd recommend fleshing this out a little--as the question stands, you are likely to receive downvotes and close votes. $\endgroup$ – DukeZhou May 30 at 21:06
  • $\begingroup$ You will not find it here, its advanced. Hey, i am also doing NN - tutorials and hobby home project. Prefer Python, Tensoflow. If you want, we can share contacts and to it together wia shared git account. First try word2vec approach applyed to GAN, then i got idea about semantical vector. $\endgroup$ – user8426627 May 30 at 22:11
  • $\begingroup$ If you and Jerry want to work together, that's great. This site is not a project start-up or forum for meetups though, so you will get downvotes and maybe the answer will be deleted, as it is not a correct use of Stack Exchange. $\endgroup$ – Neil Slater May 31 at 6:38
0
$\begingroup$

For the resources, you can refer to this: https://becominghuman.ai/generative-adversarial-networks-for-text-generation-part-1-2b886c8cab10 If you want to generate text review for specific score, you can input a noise vector and the score to the generator. You could also make a vector filled with the number of score and add noise to that vector instead.

$\endgroup$
0
$\begingroup$

As @Clement mentions, text_gen_description gives a good overview!, but the paper seqGAN paper describes the REINFORCE approach more in depth, as they are the first to do it (i believe). This is probably the approach most take now of days when going the GAN route.

Note that just basic MLE training has shown promise with openAI's GPT2. When i need a text generator, fine tuning one of the provided models is usually my goto.

Also if your looking for seq gans code base (you asked for example code) here is is: git repo

Good Luck!

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.