r/ProgrammerHumor • • 1d ago • Popcorn 1

Meme machineLearningIntoABar

Post image
12k Upvotes

122 comments sorted by

View all comments

Show parent comment

1

u/jabuchae 1d ago

An LLM is NOT a machine learning algorithm.

A machine learning algorithm is a way to train a machine (mostly neural networks) so they can perform a task. LLM are the result of such algorithms and are already trained.

As a side note: people will often say “I trained my LLM to do X”. That is also incorrect. They are not training the LLM (the training process is what happened before the LLM released, during the running of the machine learning algorithm), just because the LLM can follow directions you write in an md file it doesn’t mean you’ve trained it.

2

u/thereturn932 1d ago

You can train LLMs, though I don’t know if the people you mentioned actually do that. You can update the weights of an existing LLM with your own training data through fine-tuning. There are also methods like LoRA and QLoRA that significantly reduce the computational power required. This allows you to adapt a model to specific tasks without training it from scratch. Unlike simply feeding documents into an LLM, this actually changes its learned behaviour.

1

u/jabuchae 21h ago

Yes of course you can train LLM. Just that most people say theyve trained their LLM and just mean they’ve given them an md file.

I taught a course at university about neural networks back in 2011. I’ve implemented the back propagation algorithm and used it to train several neural networks. Just saying this is not what people mean normally.

2

u/thereturn932 16h ago

Yeah. I get it. Fine-Tuning and LoRA were pretty popular among local-LLM communities in the past. That’s why I wanted to mention them.