Skip to content
Menu
English

Transformer

Attention-based neural architecture that replaced recurrence with self-attention.

architecture Algorithms 30 relationships

Overview

The Transformer is a neural network architecture that processes a whole sequence at once using self-attention instead of stepping through it one token at a time. It solves the problem that recurrent networks could not parallelise training and struggled to relate distant positions in a sequence. It exists because attention alone turned out to be sufficient for translation quality, and because removing recurrence made training scale across many accelerators. Almost every large language model in use today is a Transformer variant, which makes it the single most load-bearing node in this graph.

Technology Graph

How Transformer connects to the rest of the stack.

Uses and depends on

Used by

Applied to

Classification

Alternatives

  • LSTM architecture

    An alternative to Transformer · source

  • RNN architecture

    An alternative to Transformer · source

Comparisons

Side-by-side breakdowns with the alternatives above.