Let's start at the very beginning. A large language model, or LLM, is a program that has read a huge amount of text. It can write, answer questions, and summarise. But it knows a little about everything, and not much about your work. Fine-tuning changes that.
Think about a doctor. First, they go to medical school, and learn a bit of everything. That takes years. Then, they train as a specialist, for example, a heart doctor. That's much shorter, and it builds on what they already know. A model works the same way. Fine-tuning is the specialist training.
We need two words before we go further. Inside every model are millions of numbers, called weights, or parameters. The weights hold everything the model has learned. Training means changing the weights, so the model gets better at a task. And fine-tuning means training an already trained model a little more, on your own examples.
Here are the steps. Start with a model that's already trained. Collect examples of your task. Each example is an input, and the answer you want. Show the examples to the model. It compares its answer with yours, and nudges its weights. Repeat many times. The result is a model that does your task well.
Let's recap. An LLM has read a lot of text, and knows a bit of everything. Its knowledge lives in numbers called weights. And fine-tuning trains it a little more, on your examples. Next, how an LLM actually works.