Submitted by AutoModerator t3_xznpoh in MachineLearning
liljontz t1_is5iqfm wrote
What do you actually have to do to train an AI? Ive heard it a lot and was wondering what actually goes into it.
ThrowThisShitAway10 t1_is5n9pc wrote
- Have a dataset and a model with trainable weights (neural network)
- input data -> network -> prediction data
- loss = loss function(prediction, truth)
- 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").
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!!
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.
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 :)
Psychological_Gas931 t1_it0etz9 wrote
would you be looking for any work in training models or know anyone who is ? Cheers
Viewing a single comment thread. View all comments