Fine-tuning takes an open language model that already understands language in general, such as Llama, Qwen, Mistral or Gemma, and trains it further on your own examples. Show it questions paired with ideal answers, or documents written the way you want, and it learns your vocabulary, your formats and your tone. The result is a model of your own that you keep, version and run on your own hardware.
There are three main ways to do it. Full fine-tuning updates every weight in the model and needs the most GPU memory. LoRA freezes the original model and trains small add-on layers, called adapters, that sit alongside it. QLoRA does the same with the original model compressed to 4-bit, which brings large models within reach of a single card.
The tools are free and open source: Hugging Face Transformers, TRL and PEFT, Unsloth, Axolotl and LLaMA-Factory. The tuned model can then be served to your team with vLLM, Ollama or llama.cpp on the same machine.
Renderboxes is not affiliated with or endorsed by Hugging Face or any model maker.