For Educators

Teach Language Modelling By Building One

OLM is designed for courses, labs, and reading groups that want students to inspect the actual pieces of a language model instead of only using pretrained checkpoints.

Course Outline

  • Set up a language-model lab
  • Understand tokens and next-token prediction
  • Build intuition for embeddings
  • Learn attention step by step
  • Assemble a transformer block
  • Train and inspect a small language model

Start with the Learn From Scratch course, then use the first model tutorial and Block System guide as reading material.