
How Language Models Work
AGAI 102 · Module 1
Understand the core mechanics behind modern language models, including tokens, context windows, attention, and the transformer architecture.
Lessons in this module
1
Tokens and Context
Learn how language models break text into tokens, why context windows matter, and how tokenization affects cost, performance, and reliability.
2
Attention and Transformers
Understand how attention allows language models to connect information across a sequence and why transformers became the dominant architecture for LLMs.
Ask your AI guide
AI Chat· AI Fundamentals & Large Language Models — How Language Models Work
🤖
Ask anything about AI Fundamentals & Large Language Models — How Language Models Work, or choose a suggested question below.
AI responses are educational and may not be perfectly accurate. Press Enter to send, Shift+Enter for new line.