LLM fine-tuning: supervised fine-tuning, LoRA and full-parameter runs
Published
Fine-tuning takes an open-weight base model and trains it further on your own examples so it follows your format, uses your domain's vocabulary and handles the tasks you care about. It is usually the first post-training step, and often the only one a product needs. This page covers how supervised fine-tuning (SFT) works, when LoRA is enough and when a full-parameter run pays off, and what to prepare before you ask a team to run it.

RackShore makes introductions to post-training teams and GPU providers. You contract with them directly. Nothing on this page is an offer or a quote.
What supervised fine-tuning does
Supervised fine-tuning shows the model pairs of prompts and ideal responses and adjusts its weights so it produces responses like them. The base model already knows language and a great deal about the world; SFT teaches it how you want that knowledge used.
Good fits for SFT:
- A fixed output format. JSON for a pipeline, a house style for support replies, a structured clinical or legal summary.
- Domain language. Internal product names, codes, jargon and abbreviations that the base model handles poorly.
- A narrower, cheaper model. Teaching a 7B to 32B model to match a much larger model on one task, so it can be served at a fraction of the compute.
- Tool use and agents. Examples of when to call which tool, with which arguments, and how to read the result.
SFT is weaker at teaching judgment between two acceptable answers, or at pushing past the quality of the examples. That is where preference tuning and RLHF and reinforcement learning come in.
LoRA or full-parameter fine-tuning
| Question | LoRA / QLoRA | Full-parameter |
|---|---|---|
| What is trained | Small adapter matrices added to the frozen model | Every weight in the model |
| GPU memory | Low; QLoRA fits large models on a single node | High; needs optimizer state for every weight, usually sharded across nodes |
| Typical use | Format, style, narrow tasks, many variants of one base | Large behaviour shifts, new languages, continued pretraining on a big corpus |
| Serving | Many adapters can share one deployed base model | A separate full copy of the model per variant |
| Risk | Limited capacity to absorb a lot of new knowledge | More prone to forgetting general skills if the data mix is narrow |
Most projects should start with LoRA. It is fast, cheap to iterate and easy to serve. Move to a full-parameter run when a LoRA plateau is clear on your evaluations and you have enough clean data to justify it.
What to prepare
- The base model. Name the family and size, for example a Llama, Qwen, DeepSeek, Mistral or Gemma checkpoint, and check its licence allows your use.
- Training examples. A few hundred high-quality examples can move a LoRA a long way; full-parameter runs usually want thousands to hundreds of thousands. Quality and consistency matter more than volume.
- A held-out evaluation set. Examples the model never trains on, scored the same way every run. Without one, you cannot tell if a checkpoint is better. See LLM evaluation.
- Data handling rules. Where the data may be stored, who may see it, whether it can leave your cloud account, and how long it is retained.
- Where it runs. Your own GPUs, a managed cluster from the post-training team, or reserved capacity sourced for the job. For larger runs, see GPU cluster rental.
- How it will be served. Batch jobs, a dedicated endpoint or your own inference stack. This affects whether you want adapters or merged weights.
How much compute fine-tuning needs
Compute depends on model size, method, sequence length, dataset size and the number of epochs, so there is no fixed figure. A LoRA on a mid-sized model often fits on one 8-GPU node for hours. A full-parameter run on a 70B-class model or larger typically needs several connected nodes of H100, H200 or B200 GPUs for days. Teams quote the job once they see the model, the data and the target.
Common mistakes
- Training on unreviewed data. Errors and inconsistent formats in the examples become the model's habits.
- No baseline. Score the untuned model with a good prompt first. Sometimes that is enough.
- Judging by a few chats. Use a fixed evaluation set and compare every checkpoint on it.
- Ignoring forgetting. Mix in some general data, and test general skills alongside the target task.
Next step
Tell us the base model, the task and roughly how much data you have. We reply within 24 hours and introduce you to a post-training team, or to GPU capacity if you plan to run it yourself.
Planning a post-training project?
Tell us the model and the goal. We reply within 24 hours.