Advanced Large Language Model Fine-Tuning Training Course
| Course code | SD-AI-012 |
|---|---|
| Duration | 5 days |
| Level | Intermediate |
| Category | Artificial Intelligence |
| Delivery | Classroom or live online |
| Language | English |
| Certificate | Certificate of completion |
Course overview
Organisations rarely need a generic chatbot; they need language models that reliably perform a defined task using their terminology, policies, document types and quality thresholds. Fine-tuning can improve classification, extraction, drafting and domain-specific assistance, but poorly prepared data, unsuitable training objectives and weak evaluation can produce memorisation, regressions, unsafe outputs and expensive models that cannot be justified in production. This course equips practitioners to make defensible fine-tuning decisions rather than treating training as a trial-and-error exercise.
Participants work through the end-to-end fine-tuning workflow for transformer-based large language models: selecting a base model, framing an instruction-following task, preparing supervised datasets, tokenising and packing examples, and choosing between full fine-tuning and parameter-efficient methods such as LoRA and QLoRA. They configure training with Hugging Face Transformers and PEFT, monitor experiments in Weights & Biases, diagnose overfitting, and evaluate model quality with task metrics, benchmark sets, error taxonomies and human review rubrics. The course also addresses data governance, licensing, privacy, bias, red-teaming and release controls.
Delivery combines instructor demonstrations with guided notebook labs, model-evaluation workshops and peer review of training decisions. Participants build and assess a fine-tuned model for a realistic enterprise use case, such as support-ticket routing, policy-grounded response drafting or structured information extraction. They leave with a documented fine-tuning experiment pack: dataset specification, training configuration, evaluation report, error-analysis log and production recommendation that can be adapted for a workplace pilot.
The course is designed for ML engineers, data scientists and AI technical leads who already understand Python and core machine-learning concepts and now need to develop, evaluate or govern custom LLM adaptations.
Course objectives
By the end of this course, participants will be able to:
- Design a supervised fine-tuning dataset specification with instruction, input, output, provenance and quality fields
- Select an appropriate base model using task fit, context length, licensing, hardware and deployment constraints
- Prepare and validate instruction datasets through deduplication, formatting checks, PII review and train-validation-test splitting
- Configure LoRA and QLoRA adapters with Hugging Face Transformers and PEFT
- Tune training hyperparameters using learning curves, loss monitoring, checkpoint comparison and experiment tracking
- Evaluate fine-tuned models with task-specific metrics, held-out test sets, human scoring rubrics and error taxonomies
- Conduct safety and regression testing for harmful outputs, data memorisation, prompt sensitivity and capability loss
- Produce a fine-tuning experiment report with deployment recommendations, risks, costs and acceptance criteria
Benefits of attending
For you
- Build evidence-based recommendations on when fine-tuning is preferable to prompting or retrieval-augmented generation
- Gain hands-on experience configuring LoRA and QLoRA adapters for resource-constrained LLM training
- Develop a portfolio-quality experiment report that demonstrates reproducible LLM evaluation practice
- Strengthen credibility in technical design discussions about model quality, safety, cost and deployment readiness
- Acquire a repeatable error-analysis method for improving generative AI systems after initial model training
For your organisation
- Reduce wasted GPU and engineering spend by selecting fit-for-purpose adaptation methods before training begins
- Improve reliability of domain-specific AI applications through controlled datasets, held-out tests and acceptance criteria
- Create auditable evidence for model-release decisions, including provenance, safety findings and known limitations
- Establish repeatable experiment-tracking and evaluation practices across LLM development teams
- Lower operational risk from privacy leakage, model memorisation, biased outputs and unmeasured performance regressions
Target competencies
Who should attend
- Machine Learning Engineers — who need to train, evaluate and package task-specific LLM adaptations
- Data Scientists — who need rigorous dataset, experiment and evaluation methods for generative AI use cases
- AI Engineers — who must move from prompt-only prototypes to measurable model customisation
- MLOps Engineers — who support reproducible training runs, model artefacts and release controls
- AI Technical Leads — who must choose between fine-tuning, retrieval-augmented generation and larger base models
- Data and AI Governance Specialists — who assess training-data provenance, privacy, safety and model-release evidence
Requirements and prerequisites
Participants should be comfortable writing and running Python notebooks, working with pandas data frames and reading basic PyTorch training code. Prior knowledge of supervised learning, train-validation-test splits, loss functions, gradient descent, overfitting and standard evaluation metrics is assumed. Familiarity with transformer concepts such as tokens, embeddings, attention and context windows is helpful; participants should also have used an LLM API or open-source model at least once. No prior experience of LoRA, QLoRA, distributed training, GPU administration or building a model from scratch is required. The course provides guided environments and starter code.
Training methodology
Each day alternates focused instructor-led technical sessions with guided notebook labs using Hugging Face model workflows. Participants inspect real instruction datasets, configure adapter-based training runs, compare checkpoints and interpret learning curves rather than only following prebuilt examples. Small groups review evaluation failures and decide whether the cause is data quality, task design, model capacity or safety risk. Case discussions examine fine-tuning decisions in enterprise settings. On the final day, each participant converts their work into a documented pilot plan with technical assumptions, evaluation gates and release recommendations.
Course outline
Day 1: Fine-tuning strategy and task design
- Fine-tuning versus prompting and retrieval-augmented generation
- Base-model selection by capability, licence and context window
- Instruction-following task decomposition and success criteria
- Supervised fine-tuning data schemas and message templates
- Tokenisation, sequence length and example packing
- Training-data provenance, consent and licensing checks
- GPU memory estimation and training-cost modelling
Workshop: Participants define a target LLM use case and produce a fine-tuning decision canvas with task boundaries, success measures, data sources and cost assumptions.
Day 2: Dataset engineering for supervised fine-tuning
- Instruction-response pair construction and formatting conventions
- Data cleaning with pandas validation rules
- Deduplication and near-duplicate detection
- PII identification, redaction and sensitive-data handling
- Train-validation-test split design for generative tasks
- Dataset versioning and data cards
- Quality sampling and human annotation guidelines
Workshop: Participants transform a raw enterprise-style text dataset into a validated instruction dataset and produce a data card with split rationale and quality checks.
Day 3: Adapter training and experiment control
- Hugging Face Transformers training architecture
- PEFT adapter configuration with LoRA
- QLoRA quantisation and memory-efficient training
- Hyperparameters for batch size, learning rate and epochs
- Gradient accumulation, checkpointing and mixed precision
- Weights & Biases experiment tracking and artefact logging
- Learning-curve interpretation and overfitting diagnosis
Workshop: Participants configure and run a LoRA or QLoRA training experiment, then produce a tracked comparison of two hyperparameter configurations.
Day 4: Evaluation, safety and failure analysis
- Held-out evaluation set construction
- Task metrics for extraction, classification and response generation
- LLM-as-judge limitations and calibration methods
- Human evaluation rubrics and inter-rater review
- Error taxonomies for hallucination, omission and formatting failures
- Memorisation, privacy leakage and prompt-sensitivity testing
- Regression testing against the base model
Workshop: Participants evaluate their fine-tuned model against a held-out test set and produce an error-analysis log with prioritised remediation actions.
Day 5: Production decisions and fine-tuning governance
- Model acceptance thresholds and release gates
- Adapter merging, model packaging and inference trade-offs
- Latency, throughput and cost benchmarking
- Model cards and fine-tuning experiment documentation
- Red-teaming scenarios and escalation criteria
- Monitoring signals for post-release quality drift
- Pilot design, rollback planning and stakeholder approval
Workshop: Participants complete a fine-tuning experiment pack and present a production-pilot recommendation covering evidence, risks, operating costs and release criteria.
Tools & standards covered
PyTorch, Hugging Face Transformers, PEFT, Weights & Biases
A typical training day
| 08:30 – 10:30 | First session |
| 10:30 – 10:45 | Refreshment break |
| 10:45 – 12:30 | Second session |
| 12:30 – 13:30 | Lunch and networking |
| 13:30 – 15:00 | Third session |
| 15:00 – 15:15 | Refreshment break |
| 15:15 – 16:30 | Workshop and daily review |
Live online deliveries follow the same structure in the East Africa Time zone, with shorter screen blocks and longer breaks.
What the fee includes
- Instruction by a practitioner facilitator
- Full course workbook and materials
- Exercise files, templates and case studies
- Certificate of completion
- Refreshments and lunch (classroom deliveries)
- Post-course application plan
- Facilitator follow-up on request
- Group rates from five participants
How you can take this course
Classroom
Scheduled sessions in Nairobi, Mombasa, Kigali, Dar es Salaam, Dubai and Cape Town.
Live online
The same facilitator and materials, delivered live for distributed teams and individuals.
In-house
Delivered privately for your team, at your offices or a venue of your choice, tailored to your context. Request a proposal.
Certification
Participants who complete the full five days receive the Skillset Development Certificate of Completion, stating the course title, course code, dates and delivery format — suitable for professional-development records and employer reimbursement.
Frequently asked questions
Upcoming sessions
-
05 – 09 Oct 2026Book
Dar es Salaam · USD 3,500 -
26 – 30 Oct 2026Book
Live Online · USD 1,500 -
02 – 06 Nov 2026Book
Live Online · USD 1,500 -
09 – 13 Nov 2026Book
Nairobi · USD 3,000 -
09 – 13 Nov 2026Book
Kigali · USD 3,500 -
09 – 13 Nov 2026Book
Mombasa · USD 3,200 -
16 – 20 Nov 2026Book
Live Online · USD 1,500 -
16 – 20 Nov 2026Book
Dubai · USD 4,500
49 more dates — ask us.
Group of 5+?
Request in-house delivery or group rates →Related courses in Artificial Intelligence
UiPath AI Center Intelligent Automation Training Course
UiPath automation teams often reach the point where rules-based workflows cannot reliably classify emails, extract variable document fields,…
Advanced Computer Vision Model Deployment Training Course
Computer vision models that perform well in notebooks can fail under production conditions: camera feeds vary, object sizes shift, latency e…
LangChain Development for Retrieval Augmented Generation Training Course
Retrieval augmented generation (RAG) systems can make internal knowledge usable through natural-language applications, but prototypes often …
Artificial Intelligence Fundamentals for Business Training Course
Business teams are being asked to identify useful AI applications, assess vendor claims, and use generative AI without exposing confidential…