Antoine's Blog

Physics is the law; everything else is a recommendation

How Large Language Models Work

An exploration of LLMs, from tokenization to next-token prediction. Learn how these systems use probability and patterns to simulate human conversation.