Viewing a single comment thread. View all comments

ThrowThisShitAway10 t1_is5n9pc wrote

  1. Have a dataset and a model with trainable weights (neural network)
  2. input data -> network -> prediction data
  3. loss = loss function(prediction, truth)
  4. Perform backpropagation with the loss to update the weights in the neural network. Over time this will minimize the loss and allow the model to "learn" from the data and truth values you provide

The input data could be images of animals and the truth might be a classification on what kind of animal ("dog", "cat", "pig").

3

liljontz t1_is5ut6l wrote

Thank you for this answer! It was very helpful, I'm really new to code in general but my goal is to learn how to make a song lyric generator, all the ones online are multi purpose I want one dedicated to just that. Again thank you!!

3

itsyourboiirow t1_iskrfyz wrote

If you are doing it to learn and for fun, I would look into a Recurrent Neural Network (RNN) or a Long short term memory (LSTM) model for generation. They’re really good at picking up patterns in text. Im sure it would be able to do it well with enough training data.

2

liljontz t1_isku4iq wrote

I am trying to learn for fun, I'll definitely look into that. I'm not amazing at coding but I'm hoping I can learn :)

1