Project · 2025

LM LAB

Learn how ChatGPT works — from the ground up.

live demoNext.js · AI

Overview

LM LAB is an interactive notebook that walks through the ideas behind language models. Not a course or a tutorial: a tour of the concepts, chapter by chapter, with visualizations you can touch.

From the simplest bigram to attention and text generation, each idea builds on the last.

Features

  • Interactive visualizations
  • 5 guided chapters
  • Live inference
  • Bilingual (EN · ES)

How it works

01Read each chapter at your own pace — concepts first, jargon later.
02Play with the demos: change inputs and watch the model react.
03Connect the ideas until you understand how it predicts the next word.