Advanced Large Language Model Fine-Tuning Training Course

5 days Artificial Intelligence Certificate on completion
Course codeSD-AI-012
Duration5 days
LevelIntermediate
CategoryArtificial Intelligence
DeliveryClassroom or live online
LanguageEnglish
CertificateCertificate 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

Fine-tuning designInstruction dataset curationLoRA adaptationLLM evaluationError taxonomy analysisModel release governance

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:30First session
10:30 – 10:45Refreshment break
10:45 – 12:30Second session
12:30 – 13:30Lunch and networking
13:30 – 15:00Third session
15:00 – 15:15Refreshment break
15:15 – 16:30Workshop 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

You should be able to work in Python notebooks, manipulate tabular data and understand supervised-learning basics such as validation splits, loss and overfitting. The course teaches LoRA, QLoRA and LLM-specific training workflows, but it does not teach Python or machine learning from first principles.

No personal GPU or paid cloud account is required for the guided course labs; a prepared training environment and starter notebooks are used. Bring a laptop capable of running a modern browser and Python notebook environment if you wish to follow along locally.

It is best suited to ML engineers, data scientists, AI engineers and technical leads who are developing custom LLM capabilities for a defined business task. It is also relevant to MLOps and AI governance professionals who need to review training evidence and release controls.

Prompt engineering focuses on directing an existing model at inference time, while RAG focuses on supplying external knowledge at inference time. This course focuses on changing model behaviour through supervised adapter training, then proving whether the resulting model is better, safe enough and worth deploying.

You can use the dataset specification, experiment template, evaluation rubric and release checklist as a structure for an internal pilot. The methods apply to tasks such as extraction, classification, controlled drafting, routing and domain-specific response generation.

You leave with a documented fine-tuning experiment pack containing a dataset plan, training configuration, tracked experiment results, evaluation findings and error analysis. You also receive a production recommendation that identifies whether to proceed, retrain, use RAG instead or retain the base model.

Upcoming sessions

  • 05 – 09 Oct 2026
    Dar es Salaam · USD 3,500
    Book
  • 26 – 30 Oct 2026
    Live Online · USD 1,500
    Book
  • 02 – 06 Nov 2026
    Live Online · USD 1,500
    Book
  • 09 – 13 Nov 2026
    Nairobi · USD 3,000
    Book
  • 09 – 13 Nov 2026
    Kigali · USD 3,500
    Book
  • 09 – 13 Nov 2026
    Mombasa · USD 3,200
    Book
  • 16 – 20 Nov 2026
    Live Online · USD 1,500
    Book
  • 16 – 20 Nov 2026
    Dubai · USD 4,500
    Book

49 more dates — ask us.


Group of 5+?

Request in-house delivery or group rates →

Related courses in Artificial Intelligence

5 Days Certificate

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,…

5 Days Certificate

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…

5 Days Certificate

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 …

5 Days Certificate

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…