DA5004 paper series · Weeks 1–4All resources ↗
DA5004 paper series · Weeks 1–4

From tokens
to Transformers.

Attend. Predict. Decode.

On this page

LLM — Knowledge Map

moctransformers

This map organizes an IIT Madras DA5004-style course for Weeks 1–4, scoped by the supplied ebook. Later-week material is archived; the ebook guides scope and the primary papers adjudicate technical claims.

Curriculum Spine

Week Notes Exam-focused notes Question bank Core question Status
1 Week 1: From Sequence Models to Transformer Encoders Week 1: Attention and Encoder Exam Guide Week 1: LLM Exam Questions and Worked Answers How does attention address the seq2seq bottleneck and build an encoder? Notes, exam guide and question bank
2 Week 2: Transformer Decoding, Position, Normalization, and Training Week 2: Transformer Decoder Exam-Focused Notes Week 2: LLM Exam Questions and Worked Answers How do decoder attention, position and training machinery complete the Transformer? Notes, exam guide and question bank
3 Week 3: Language Modelling, GPT-1, and Transfer Week 3: Learn Language Modelling and Prepare for the Exam Week 3: LLM Exam Questions and Worked Answers How do autoregressive language models support GPT pre-training and task adaptation? Notes, exam guide and question bank
4 Week 4: Decoding Strategies and Bidirectional Language Representation Week 4: Decoding and BERT — Exam-Focused Notes Week 4: LLM Exam Questions and Worked Answers How do decoding strategies and bidirectional BERT representations serve different language tasks? Notes, exam guide and question bank

Weekly Topics

Topic names follow sources/topics.json; links identify related concept notes. Some topics also require the weekly notes for full coverage.

Week 1

Week 2

Week 3

Week 4

Concept Taxonomy

Attention family

Sequence-to-Sequence Bottleneck · Bahdanau Attention · Self-Attention · Scaled Dot-Product Attention · Multi-Head Attention · Masked Self-Attention · Cross-Attention

Transformer components & training

Position-Wise Feed-Forward Network · Encoder Layer Parameter Count · Sinusoidal Positional Encoding · Residual Connections · Layer Normalization · Label Smoothing · Learning-Rate Warmup · Teacher Forcing

Language modelling & GPT

Language-Modelling Objective · Perplexity · Causal Language Modelling · GPT-1 Architecture · Pretrain–Fine-tune Paradigm · Task-Specific Input Transformations

Decoding

Greedy and Beam Search · Top-k and Top-p Sampling · Temperature Scaling

BERT

BERT Masked Language Modelling · BERT Input Embeddings · Next Sentence Prediction · BERT Parameter Count

Central Governing Paradigm

seq2seq → attention → self-attention → full Transformer
                                          ├→ decoder-only (GPT) → decoding
                                          └→ encoder-only (BERT) → task predictions

Exam Resources and Sources

Answer provenance: All answers are derived; none are official answer keys.