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 PROGRESS0 / 7
0% complete
All weeksCheck off each day to save your progress.
YOUR WEEKLY PLAN

The daily plan

01

Monday

Read

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

Estimated Time

  • 90 Minutes
02

Tuesday

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
03

Wednesday

Study Topic

  • Tokenization

Focus

  • Tokens
  • Token IDs
  • Vocabulary
  • Subword Tokenization

Tokenize

  • "ASP.NET Core is awesome."

Identify

  • Possible Tokens
  • Token Count
  • Vocabulary Mapping

Deliverable

  • Tokenization Notes
04

Thursday

Study Topic

  • Embeddings

Focus

  • Word Embeddings
  • Semantic Meaning
  • Vector Similarity
  • Embedding Space

Draw

  • Text ↓ Embedding Model ↓ Vector ↓ Similarity Search

Deliverable

  • Embedding Architecture Diagram
05

Friday

Study Topic

  • Attention Mechanism

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
06

Saturday

LLM Deep Dive

Study Topic

  • Modern LLM Architecture

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

Deliverable

  • LLM Architecture Sheet
07

Sunday

Review & Documentation

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?

Weekly Deliverables

  • Transformer Notes

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.