Reference 3 stops to get here · leads to 1

Padding Token

A special token used to make sequences the same length in a batch, typically ignored during computation.

Your route here

3 stops · basics first
  1. Token ✓ understood

    The unit of text a language model reads and writes: a word, part of a word, or a character, drawn from the model's fixed vocabulary.

  2. Tokenization ✓ understood

    Splitting text into tokens, usually subword pieces, and mapping each to an integer ID so a language model can process it.

  3. Special Token ✓ understood

    Reserved tokens with special meanings like [CLS], [SEP], [MASK], [PAD] used in various model architectures.

  4. Padding Token · you are here ✓ understood

A special token used to make sequences the same length in a batch, typically ignored during computation.

This concept is essential for understanding large language models and forms a key part of modern AI systems.

  • Special Token
  • Batching
  • Attention Mask

Where it sits

Before this

Special Token
Padding Token

Explore nearby