Understand Language Models
Learn how text prediction, tokenisation and language modelling work.
Build Your Own GPT
Implement transformer architecture, self-attention and text generation.
Customise Models Efficiently
Fine-tune language models using LoRA and domain-specific training.
Make Models Deployment-Ready
Reduce model size and improve efficiency through quantization.
Hands-On Generative AI Engineering
What You'll Build
Five technical modules that take you from language modelling fundamentals to building GPT, fine-tuning models and optimising them for deployment.
01 Language Modeling from First Principles Output: Predictive-Text Engine +
Build a predictive language model using word counts and probability. Implement smoothing techniques and evaluate model performance through cross-entropy and perplexity. Establish the foundations needed to understand modern LLMs.
02 Build GPT from Scratch Output: Your Own GPT Model +
Build a decoder-only GPT model in PyTorch. Implement a byte-pair tokenizer, self-attention with causal masking, transformer blocks, the training loop and text generation. Understand the architecture behind modern language models.
03 LoRA from Scratch Output: LoRA Adapter for GPT-2 +
Implement Low-Rank Adaptation (LoRA) to fine-tune pretrained models efficiently. Freeze pretrained weights, train a low-rank update, merge or swap adapters and understand QLoRA. Explore adapting GPT-2 while training approximately 0.2% of its parameters.
04 Legal-Clause GPT: Fine-Tune GPT-2 Output: Clause-Tagging Model +
Fine-tune GPT-2 using real legal-contract clauses. Train a model to classify clauses by type, then evaluate its accuracy on unseen examples. Learn to customise a pretrained model for a specific domain.
05 Neural Network Quantization Output: Quantized Model +
Reduce neural network size and improve deployment efficiency. Explore weights-only quantization, static quantization, quantization-aware training and calibration techniques to make models smaller and faster.
Approximately 40 hours of self-paced online learning across five modules, with AI mentor support. Each module produces a working model or adaptation that you can run and keep. Modules are best completed in sequence.
Access your practical lessons, coding exercises and AI mentor support through RRS.
What You'll Achieve
- Understand language models beyond black-box prompting.
- Build a GPT architecture and understand its components.
- Fine-tune models for specific client requirements.
- Reduce adaptation costs and optimise model size for deployment.
Who Should Attend?
- Machine Learning and Software Engineers
- Forward-Deployed and Client-Facing GenAI Engineers
- Teams Customising LLMs for Client Applications
- Researchers and Advanced Students
Your Learning Experience
- Sign in to the RRS Learning Portal.
- Complete five self-paced, hands-on engineering modules.
- Build and train models in PyTorch with AI mentor support.
- Complete module assessments and retain your working builds.
Before You Begin
Quick Answers
What background do I need?
You should have solid Python programming skills and some machine learning knowledge. The programme includes model building and training in PyTorch. The first module provides a gradual introduction without requiring a neural network.
How long does the programme take?
Approximately 40 hours in total, delivered through five self-paced modules of 7, 10, 8, 8 and 7 hours respectively.
Can I take individual modules?
Access is provided by track. Participants follow the complete five-module learning pathway.
Go Beyond Prompting. Master the Model.
Build, fine-tune and optimise language models for practical generative AI applications.
