FundamentalsFeaturedUpdated 2026-10-24

Transformer

A neural network architecture built around self-attention and parallel training, the foundation of modern large models.

#基础#架构#大模型

In plain language

A Transformer stacks self-attention, feed-forward layers, residual connections and normalization. Unlike recurrent networks, it sees the whole sequence at once, enabling GPU parallelism; positional encodings add order. Encoder-decoder designs suit translation, while decoder-only designs (the GPT family) suit generation. Scaling Transformers produced emergent capabilities but also memory, latency and training-cost challenges.

Example

ChatGPT, Claude and DeepSeek are all built on Transformer variants.

Recommended tools

Related terms