How LLMs Work

Tokens, embeddings, attention and the Transformer: what happens inside a language model.

Articles