Specializations
Large Language Models (LLMs)
From recurrent networks to Transformers to the agents built on them.
Overview
Students trace the ideas that led to today's language models: sequence modeling with RNNs and LSTMs, the attention mechanism, and the Transformer. They build a small Transformer themselves, then learn how large models are trained, prompted, and turned into agents.
Curriculum
- 01
Sequence models
- Word embeddingsRecurrent neural networks (RNNs)Long short-term memory (LSTM)Vanishing gradients
- 02
The Transformer
- Self-attention, step by stepMulti-head attention and positional encodingBuilding a mini Transformer in PyTorchEfficient attention variants
- 03
LLMs and agents
- Pretraining, fine-tuning, and alignmentPrompting and retrieval-augmented generationTool use and LLM agentsEvaluating LLM systems
What students will be able to do
- Explain and implement self-attention
- Train a small language model
- Build an LLM application with tools and retrieval