Transformer Architectures

Core family of deep learning models based on the attention-mechanism, utilizing self-attention to process sequential data in parallel.

Key Components

  • Self-Attention: Mechanism allowing the model to weigh the importance of different parts of the input sequence relative to each other.
  • Multi-Head Attention: Parallel attention layers capturing diverse relationships within the data.
  • Positional Encoding: Adds sequence order information since transformers lack inherent recurrence or convolution.
  • Feed-Forward Networks: Non-linear transformations applied to each position independently.
  • Encoder-Decoder Structure: Standard architecture for sequence-to-sequence tasks, though Decoder-Only variants dominate modern LLMs.

Evolution & Notable Implementations

GPT-3

References