LantaoYu / SeqGAN

Implementation of Sequence Generative Adversarial Nets with Policy Gradient
2.09k stars 710 forks source link

Question about the corpus #47

Open wyxcc opened 6 years ago

wyxcc commented 6 years ago

The same question about the input corpus,what if I want to generate some speech or lyrics? Looking forword to your answer!

TobiasLee commented 6 years ago

@wyxcc You can download poem or lyrics corpus, then preprocess e.g. tokenize, padding/truncating it to max length, and save it as the same format l did in SeqGAN_Poem , then modify the dataloader little bit and replace the oracle lstm(that is for synthesised data)

akhileshkumargangwar commented 6 years ago

What is synthetic oracle dataset? If we have text data then how will I use it to generate new text?. For example, if I will apply movie reviews dataset, how will I get generated data in same text form.