Back to Glossary
Artificial Intelligence

Transformer Architecture

The Transformer is a neural network architecture using self-attention, the basis for modern LLMs.

Definition

The Transformer is a neural network architecture introduced in the 2017 paper "Attention Is All You Need" by Google. It uses self-attention mechanisms to process sequential data in parallel, replacing the sequential processing of RNNs and LSTMs. The Transformer architecture is the foundation for all modern large language models — GPT, BERT, LLaMA, Claude, and others. Key innovations: (1) Self-attention — each token attends to all others, (2) Multi-head attention — multiple attention patterns, (3) Positional encoding — captures sequence order.

Related Keywords

transformertransformer architectureself attentionattention mechanismai architecture

Explore Harch Corp's GPU Cloud

Leverage transformer architecture in our carbon-aware GPU cloud infrastructure in Morocco.