Foundations & Tokenization
Introduction to the LLM landscape and the essential first step of converting text into numerical data.
Core Topics
- What are LLMs?
- GPT Tokenizer
- Byte Pair Encoding
- Coding a Tokenizer
Resources & Assignments
Master the architecture and implementation of Large Language Models by building your own from the ground up, covering everything from tokenization to instruction finetuning.
View course on VizuaraThis comprehensive course takes you deep into the mechanics of modern AI. Instead of just using APIs, you will learn to code the fundamental components of LLMs, including attention mechanisms, transformer blocks, and training loops.
Through 53 hands-on lessons, you will gain a practical understanding of how GPT-style models are architected, trained, and finetuned for specific tasks.
By the end of this course, you will be able to:
Introduction to the LLM landscape and the essential first step of converting text into numerical data.
Core Topics
Resources & Assignments
Deep dive into the core engine of transformers: the self-attention mechanism.
Core Topics
Resources & Assignments
Assembling the building blocks of the transformer model.
Core Topics
Resources & Assignments
Coding a functional GPT-2 style model from scratch.
Core Topics
Resources & Assignments
Setting up the training loop and controlling model generation.
Core Topics
Resources & Assignments
Adapting pretrained models to follow instructions.
Core Topics
Resources & Assignments
Using finetuned LLMs for practical classification tasks.
Core Topics
Resources & Assignments
Consolidating knowledge and final project wrap-up.
Core Topics
Resources & Assignments
Build a functional Byte Pair Encoder from scratch.
Implement multi-head self-attention using PyTorch.
Finetune a transformer model to classify text and evaluate its performance.