Home / Phase 2 · Agents & RAG / Week 9
Phase 2 · Agents & RAG / WEEK 09 OF 26 Transformer Theory & LLM Foundations Develop a deep understanding of Transformer architecture, the foundation behind modern Large Language Models (LLMs) such as GPT, Claude, Gemini, and Copilot. By the end of the week, you should understand how tokens, embeddings, attention, encoders, and decoders work together.
WEEKLY PROGRESS 0 / 7
0% complete
YOUR WEEKLY PLAN
The daily plan 7 days · self-paced
Focus Why Transformers Matter Evolution from RNNs High-Level Architecture Language Model Fundamentals Create notes explaining Why Transformers replaced RNNs Benefits: - Parallelization - Scalability - Better Context Handling Deliverable Transformer Introduction Notes
Watch
The Narrated Transformer (Jay Alammar) Focus Encoder Stack Decoder Stack Model Architecture Data Flow Architecture Exercise Input ↓ Encoder ↓ Attention ↓ Decoder ↓ Output Deliverable Transformer Architecture Diagram
Focus Tokens Token IDs Vocabulary Subword Tokenization Tokenize "ASP.NET Core is awesome." Identify Possible Tokens Token Count Vocabulary Mapping
Focus Word Embeddings Semantic Meaning Vector Similarity Embedding Space Draw Text ↓ Embedding Model ↓ Vector ↓ Similarity Search Deliverable Embedding Architecture Diagram
Focus Self-Attention Query Key Value Describe "The cat sat on the mat." Explain how attention helps the model understand: cat ↔ sat cat ↔ mat Deliverable Attention Notes ☐ Self-Attention Diagram
Focus Transformers Embeddings Attention Context Windows Inference Process Create Diagram User Prompt ↓ Tokenization ↓ Embeddings ↓ Transformer Layers ↓ Attention ↓ Prediction ↓ Generated Token Stretch Goal Research GPT Models Claude Models Gemini Models Phi Models
Create Transformer-CheatSheet.md Include Transformer Overview Tokenization Embeddings Attention Encoders Decoders Context Windows Review Questions 1. Why did Transformers replace RNNs? 2. What is tokenization? 3. What is an embedding? 4. What is self-attention? 5. How do LLMs generate text? Architecture Diagram Tokenization Notes Embedding Diagram Attention Diagram LLM Architecture Sheet Transformer Cheat Sheet
WEEK 09 OUTCOMES Success criteria Track the skills and outcomes this week is designed to build.
WEEK 09 CHECKPOINT Milestones Mark the portfolio artifacts and deliverables you’ve completed.
YOUR WORKSPACE Week notes Capture questions, decisions, or next steps as you work.
Saved in this browser
Weekly activities adapted from the Week 9 workbook. Learning resource links open in a new tab.