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
0answers
15 views

How to approach EDI to generate XML using machine learning?

I am a programmer and I have near zero knowledge on machine learning (except the idea of CNNs). As of this stage I was thinking whether it is possible to perform EDI mapping to XML automatically, at ...
3
votes
1answer
31 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
27 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
85 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
139 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
34 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
29 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 ...
0
votes
1answer
630 views

Best way to generate handwritten text?

Given a task of generating handwritten text as image, which architectures would you recommend to use. Input could be either images of handwritten letters, not words, or maybe sequences of points for ...
2
votes
0answers
522 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
75 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
727 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
167 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
412 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
197 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, ...