Answers.Body: <p>As @Clement mentions, <a href="https://becominghuman.ai/generative-adversarial-networks-for-text-generation-part-1-2b886c8cab10" rel="nofollow noreferrer">text_gen_description</a> gives a good overview!, but the paper <a href="https://arxiv.org/abs/1609.05473" rel="nofollow noreferrer">seqGAN paper</a> 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.  </p>
  
  <p>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.  </p>
  
  <p>Also if your looking for seq gans code base (you asked for example code) here is is: <a href="https://github.com/LantaoYu/SeqGAN" rel="nofollow noreferrer">git repo</a></p>
  
  <p>Good Luck!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-04T17:11:34.547Z
Answers.LastActivityDate: 2019-06-04T17:11:34.547Z
Answers.UserDisplayName: mshlis
Answers.Body: <p>For the resources, you can refer to this:
  <a href="https://becominghuman.ai/generative-adversarial-networks-for-text-generation-part-1-2b886c8cab10" rel="nofollow noreferrer">https://becominghuman.ai/generative-adversarial-networks-for-text-generation-part-1-2b886c8cab10</a>
  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. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-03T08:13:53.127Z
Answers.LastActivityDate: 2019-06-03T08:13:53.127Z
Answers.UserDisplayName: Clement
Body: <p>How can I implement a GAN network for text (review) generation?</p>
  
  <p>Please, can someone guide me to resource (code) to help in text generation? </p>
  
Tags: <deep-learning><natural-language-processing><generative-adversarial-networks><software-evaluation>
Title: How can I implement a GAN network for text (review) generation?
UserDisplayName: jerry
ThreadText: # How can I implement a GAN network for text (review) generation?
  
  (Asked by: username_0 on 2019-05-30)
  
  How can I implement a GAN network for text (review) generation?
  
  Please, can someone guide me to resource (code) to help in text generation?
  
  **Tags:** deep-learning, natural-language-processing, generative-adversarial-networks, software-evaluation
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-06-04. Score: 2
  
  As @username_2 mentions, [text\_gen\_description](https://becominghuman.ai/generative-adversarial-networks-for-text-generation-part-1-2b886c8cab10) gives a good overview!, but the paper [seqGAN paper](https://arxiv.org/abs/1609.05473) 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](https://github.com/LantaoYu/SeqGAN)
  
  Good Luck!
  
  
  ---
  
  ### Answer by username_2 on 2019-06-03. Score: 0
  
  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.
  
  
  ---
  
  