Open-weight models such as Llama, Mistral, Qwen and Gemma are now good enough for many production tasks, and they can run on your own hardware or cloud account. That brings control over data, cost and latency, but also new responsibilities: choosing the right model, preparing training data, tuning without breaking what already works, and serving the result reliably. This course covers the full path, and is honest about when a hosted API or better prompting is the smarter choice.
What you'll learn
- The open-weight landscape: model families, sizes, licences and what "open" actually permits
- When to fine-tune, and when prompting, RAG or a larger hosted model is the better answer
- Building and cleaning training datasets, including synthetic data and its risks
- Supervised fine-tuning with LoRA and QLoRA on a single GPU
- Preference tuning methods such as DPO, at a practical level
- Quantisation formats and their trade-offs in quality, memory and speed
- Running models locally with Ollama and llama.cpp
- Serving at scale with vLLM or similar engines: batching, throughput and GPU sizing
- Evaluating a tuned model against the base model and a hosted baseline
- Security, licensing and data-governance questions for self-hosted models
Who it's for
- ML and backend engineers who need a model they can host, customise or run offline
- Teams with strict data-residency or privacy requirements
- Developers curious about local models who want a structured, practical path
Prerequisites
- Confident Python, including virtual environments and the command line
- Experience calling LLM APIs and basic familiarity with PyTorch or Hugging Face libraries
- Access to a GPU, either local or rented from a cloud provider
Outcomes
By the end of this course you will be able to:
- Decide whether fine-tuning is justified for a given problem.
- Prepare a dataset and fine-tune an open-weight model with LoRA or QLoRA.
- Quantise and serve a model with a realistic picture of cost and throughput.
- Prove with evaluation whether the tuned model is actually better.
Course outline
| Module | Topic |
|---|---|
| 1 | Open-weight models, licences and the landscape |
| 2 | Fine-tune, prompt or retrieve? Making the call |
| 3 | Running models locally with Ollama and llama.cpp |
| 4 | Dataset design, cleaning and synthetic data |
| 5 | Supervised fine-tuning with LoRA and QLoRA |
| 6 | Preference tuning and DPO basics |
| 7 | Quantisation and memory planning |
| 8 | Serving with vLLM: batching and throughput |
| 9 | Evaluation against baselines |
| 10 | Security, licensing and governance |
| 11 | Project: tune, evaluate and deploy a task-specific model |
FAQ
Do I need my own GPU?
No. Rented cloud GPUs are fine, and small models can be tuned on a single modest card using QLoRA. We show how to estimate the hardware you need before you spend money.
Will a fine-tuned small model beat the best hosted models?
Sometimes, on a narrow task with good data. On broad reasoning it usually will not. The course teaches you to measure this rather than assume it.
Does fine-tuning teach a model new facts?
Not reliably. For facts that change, retrieval works better; see RAG in Production.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.