200loc: Interactive + complete step-by-step guide on how LLMs work

200loc: Interactive + complete step-by-step guide on how LLMs work

200loc is an interactive walkthrough that shows how large language models work end to end by using microgpt, a tiny complete GPT-style model that runs locally in the browser. It keeps the full Python source, model architecture, and every inference step synchronized on screen, so you can follow how text becomes tokens, embeddings, attention, probabilities, and sampled characters without any hidden API call or missing piece.

More projects