2
$\begingroup$

I'd like a tutorial for text generation using GANs, specifically for names. I have a list of company names and would like the network to generate novel ones.

This is one of the only few examples of GANs in MMA:

Here's the training data:

train = CompanyData[#, "Name"] & /@ CompanyData[];
Length[train] (* 77,563 *)
RandomSample[train, 3] (* {"Microsoft", "MST Investment", "Cyberaton"} *)

Here are the starting points and resources that I've found:

$\endgroup$
  • 2
    $\begingroup$ Unfortunately GAN training isn't really well-supported in Wolfram Language as of 12.0. I expect they will add this functionality in future. In the meantime you can approximate a GAN by using a negative learning rate as shown in the answers to this question. $\endgroup$ – Carl Lange Aug 5 at 19:22
  • 1
    $\begingroup$ But there are some examples of training the WGAN... why can't this work exactly? Just asking for a simple vanilla gan, on words of only a few characters, it can't really be impossible no? $\endgroup$ – user5601 Aug 5 at 19:41
  • $\begingroup$ I don't think it's impossible - just that it's not well-supported :) $\endgroup$ – Carl Lange Aug 5 at 20:17

Your Answer

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

Browse other questions tagged or ask your own question.