Lecture notes

Module 7: Large Language Models Fundamentals

2 sessions, newest first

Evolution of Language Models and Scaling Laws
Open Models (Llama family)
Transformer Architecture
Self-Attention: Queries, Keys and Values
Positional Encoding
Multi-Head Attention

Module 7: LLM Evolution and the Transformer Architecture, updated (November 10, 2026)

Evolution of Language Models
Transformer Architecture
Training Pipeline Stages (Pretraining, SFT, RLHF, DPO/PPO)
Privacy and Security Risks of LLMs

Module 7, Part 1: LLM Evolution and Basic Model (November 5, 2026)