Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [text-generation]

The tag has no usage guidance.

0
votes
1answer
23 views

What NN architecture to predict fantasy character names based on description?

I would like to build a neural network to predict a fantasy character name given a description. Like 'Scar-faced long haired elf warrior' -> 'Glorfindel' I have a dataset of about 12,000 fantasy ...
1
vote
0answers
19 views

Training a LSTM on two merged writing styles (say Shakespeare and Frost)

I was trying to develop intuitions on how two writing styles can be merged (if at all they can be merged) into a single LSTM and then get meaningful results from the same. Can anybody provide me ...
0
votes
0answers
9 views

Which is the best way to generate synthetic data for data science development

I have a data pipeline in place for streaming and batch data, which collects data from various sources and land it into hadoop's hdfs storage. I want to generate synthetic data with the same schema of ...
3
votes
1answer
55 views

Can someone please explain what this sample function is upto?

So there is a function in Dino_Name_Generator at Deeplearning.ai notebook ...
0
votes
1answer
29 views

Which NN architecture solves my problem?

I want to convert images frame into text, for instance, if I have a image with a dog that plays with a ball I will produce a simple text "Dog plays with ball" (Ok, I know I must have x samples ...
1
vote
0answers
138 views

Why use GAN in NLG?

I am interested in the GAN recently. There are many papers that recently applied GAN to NLG. I do not know much about NLP or NLG, but I wonder why I use GAN for NLG. For better quality? Or for many ...
2
votes
1answer
208 views

Gumbel Softmax vs Vanilla Softmax for GAN training

When training a GAN for text generation, i have seen many people feeding the gumbel-softmax from the generator output and feed into the discriminator. This is to bypass the problem of having to sample ...
1
vote
0answers
64 views

Neural network outputting same result for all inputs

I'm building an encoder-decoder neural network in Keras for sequence generation. The specific task is to try and change the styles of the text. Both my encoder and decoders are LSTMs with latent ...
0
votes
0answers
9 views

Where can I find a dataset of images of faces and descriptions of them?

I'm doing an ML project that generates descriptions of pictures of faces. Is there a publicly-available dataset that has a set of face images along with a short description of what the face looks like?...
2
votes
0answers
40 views

Choosing a right algorithm for template-based text generation

I am doing a text generation project -- the task is to basically represent the statistical data in a readable way. The way I decided to go about this is template-based: each data type has a template ...
3
votes
0answers
578 views

Help with the following error: Variable already exists, disallowed. Did you mean to set reuse=True in VarScope?

I am not sure how to handle this error. This is from an RNN tutorial found here. I vaguely understand that the variables need to be able to be reused, but I don't know how to implement this fix. ...
1
vote
1answer
79 views

Text generation using Tensor Factorization

Text generation is well studied using Markov chains or NNs, but I am not aware of any works to word sequence prediction in terms of subspace learning. Treating phrases or sentences as temporal data ...
5
votes
1answer
767 views

From regression neural network to generative one

I made a neural network with word embedding, RNN and some dense layers to predict the score of computer game reviews based on the title of the game. I used Keras in Python. I was wondering if it would ...
1
vote
1answer
188 views

Given one language ngram model, how do I compare likelihoods of two texts of different length?

Let's say I have conditional probabilities estimates for N-grams and I want to find out which of the two sequences of different length 'looks more natural' in terms of the given model. How does one ...
0
votes
1answer
463 views

Learning character sequences and predicting sequences

I'm novice to deep learning and sorry if these questions may look very basic. ******************* First Question ******************* I need to predict the next k-characters given some initial text ...
1
vote
0answers
212 views

Hyper-parameters for character-level RNN models

I am try to recreate Karpathy's great tutorial on RNN character-level text generation using TensorFlow - Promise to contribute the code back to the community once it works. Meanwhile, my code runs, ...