Back to topics

Language Models

Attention

Weighting what matters in context

Discussedintermediate

About

A mechanism for relating tokens to each other. Query, key, and value projections, and how attention became the core of transformers.

Prerequisites