Machine Translation, 1949 → Today#
Seventy-five years of
machine translation,
rebuilt from scratch.
From Claude Shannon's 1948 entropy equations to LLM-based translation — every system in this course is implemented in Python, runnable in your browser, and tested on the same 20 sentences so you can watch quality evolve across eras.
The arc, at a glance
Hover a milestone for context. Click to jump to its chapter.
How this course works
Everything from scratch
No black boxes. IBM Model 1's EM loop, Bahdanau attention, the Transformer, BLEU — all implemented in plain Python you can read in one sitting.
Runs anywhere
Parts 0–2 need only the Python standard library. Every neural model trains in under 30 minutes on a free Colab T4 — or loads a pre-trained checkpoint instantly.
One test set, every era
Each chapter ends by translating the same 20 held-out sentences. Seventy-five years of progress becomes something you can see, line by line.
The course
Eight parts, in historical order. Each chapter is an executable notebook — open it here, in Colab, or in a Codespace.
Part 0 · Before MT Was MT
The intellectual prehistory: information theory, the Weaver memorandum, and the first impossibility argument.
Part 1 · Rule-Based MT
Dictionaries plus hand-written rules: the Georgetown demo, the Soviet mirror program, SYSTRAN, and interlingua.
Part 2 · Example-Based MT
Nagao's insight: don't translate from rules — translate by analogy to sentences you've seen before.
Part 3 · Statistical MT
The IBM revolution: translation as probabilistic inference. EM, alignments, phrase tables, n-gram LMs.
Part 4 · Neural MT
Sequence-to-sequence learning, the fixed-vector bottleneck, and the attention mechanism that broke it.
Part 5 · The Transformer Era
Self-attention end to end: the architecture that ate NLP, plus the subword revolution and the scaling playbook.
Part 6 · Multilingual & LLM MT
One model, many languages: zero-shot transfer, M2M-100, NLLB-200, and translation as an emergent LLM skill.
Part 7 · Evaluation
How do we even know a translation is good? BLEU, chrF, TER and COMET implemented from scratch, plus human protocols.