WhoBuilt

byte-pair encoding

A tokenization method that combines frequent character pairs into reusable tokens.

Also known as BPE, byte pair encoding

Timeline 0

Dated events, newest first. Open the sources under any item.

How we verify
20251 event
  1. as of Jul 2025uses
    GPT-2 uses byte-pair encoding
    “Here's how they did their training in BPE”
    28:47inHow LLMs work for Web Devs: GPT in 600 lines of Vanilla JSYouTube

Talks 2

1:21:26
Training an LLM from Scratch, Locally

Angelos Perivolaropoulos walks through training a small GPT-2-style language model from scratch using PyTorch and a Shakespeare dataset. He explains character-level tokenization, transformer components, next-token prediction, the training loop, validation, and text generation, highlighting the trade-offs involved in training locally. He also discusses how post-training and high-quality data shape larger reasoning models, and compares text modeling with audio and multimodal systems. The workshop ends with suggestions for experiments and a reproducible model-generation challenge.

May 4, 2026· 1 h 21 minDiscussed 13:22
1:41:33
How LLMs work for Web Devs: GPT in 600 lines of Vanilla JS

Ishan Anand explains how GPT-2 works using a browser-based implementation in vanilla JavaScript, showing how text becomes tokens and embeddings, passes through attention and MLP blocks, and yields a next-token prediction. He builds intuition for byte-pair encoding, positional embeddings, attention, neural networks, and backpropagation with examples rather than advanced math. He then describes how training turns a next-word predictor into a helpful assistant through instruction tuning and reinforcement learning from human feedback. The talk also compares GPT-2 with newer models, touching on RoPE, reasoning models, and mixture-of-experts architectures.

Jul 13, 2025· 1 h 42 minDiscussed 23:02