Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free module

How language models work: transformers from scratch

Learn how a language model works from scratch: tokens, embeddings, attention, a transformer block, next-token training and sampling.

6 lessons370 min lessonAI and data science

Worked in a real lab

Every lesson of this module is worked in a lab started for you alone. The labs it uses:

Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.