About this course

Over three days you will progress from the building blocks of neural networks to fine-tuning modern transformer models. You will build and train networks in PyTorch for image, text and tabular data, work with GPUs and learn to diagnose training problems. Finally, you will fine-tune an open-source language model with LoRA and QLoRA using Hugging Face and evaluate the result.

What you will learn

  • 01Build and train neural networks with PyTorch on a GPU.
  • 02Diagnose and resolve training issues such as overfitting and instability.
  • 03Apply transfer learning with pretrained models from Hugging Face.
  • 04Fine-tune an open-source LLM with LoRA or QLoRA and evaluate the improvement.
  • 05Accelerate training with mixed precision, torch.compile and efficient data loaders.
  • 06Scale training across multiple GPUs with DDP or FSDP.
  • 07Track experiments and training progress with tools such as TensorBoard or Weights & Biases.
  • 08Quantise and export models for efficient inference.

Programme

  1. Module 1

    Neural networks

    Tensors, autograd, layers, loss functions and optimisers in PyTorch. Hands-on: build a network from scratch and train it on a real dataset.

  2. Module 2

    Training like a pro

    Training loops, Dataset and DataLoader, regularisation, learning rate schedules and checkpointing. You will build a reusable training script for use throughout the rest of the course.

  3. Module 3

    Debugging and diagnosis

    Reading loss curves, overfitting a single batch as a sanity check, exploding and vanishing gradients, and experiment tracking with TensorBoard or Weights & Biases. Hands-on: repair a deliberately broken training run.

  4. Module 4

    GPU efficiency

    Mixed precision with bf16, torch.compile, gradient accumulation, memory management and profiling with the PyTorch Profiler. You will measure the speed-up delivered by each optimisation.

  5. Module 5

    Computer vision

    CNNs and vision transformers, data augmentation, and transfer learning with timm and Hugging Face. Hands-on: fine-tune a pretrained model on your own image classification task.

  6. Module 6

    Transformers and NLP

    A close look at attention, tokenisation and the transformer architecture. You will fine-tune an encoder model for text classification with Hugging Face Transformers.

  7. Module 7

    Fine-tuning LLMs

    Preparing datasets and chat templates, LoRA and QLoRA with PEFT and TRL, and judging when fine-tuning outperforms prompting or RAG. Hands-on: fine-tune an open-weight model on a domain-specific task.

  8. Module 8

    Multi-GPU training

    Distributed Data Parallel, FSDP and Hugging Face Accelerate. You will learn which strategy suits the model size and the hardware available.

  9. Module 9

    Evaluation and deployment

    Evaluating models against a baseline, quantisation, exporting to ONNX and serving with vLLM. The course concludes with a capstone project that takes you from dataset to running model.

Audience and prerequisites

Who it is for

Data scientists and ML engineers who want to develop and adapt deep learning models themselves.

Prerequisites

Strong Python skills and machine learning experience. Basic linear algebra is helpful.

Data & analyticsSoftware engineering

Ready to make your team AI fluent?

Book a no-obligation call and we will help you shape the right programme for your organisation.