Reference 5 stops to get here

Repetition Penalty

A technique reducing the likelihood of previously generated tokens to avoid repetitive outputs.

Your route here

5 stops · basics first
  1. Natural Language Processing ✓ understood

    The field of AI that lets computers read, interpret, translate and generate human language, from spam filters and search to chatbots.

  2. Token ✓ understood

    The basic unit of text that a language model processes, typically representing a word, subword, or character. Tokens are the fundamental building blocks for LLM input and output.

  3. Tokenization ✓ understood

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

  4. Language Modeling ✓ understood

    Learning probability distributions over sequences of words to predict what comes next.

  5. Text Generation ✓ understood

    Automatically creating coherent text using language models, from simple completion to creative writing.

  6. Repetition Penalty · you are here ✓ understood

A technique reducing the likelihood of previously generated tokens to avoid repetitive outputs.

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

  • Generation
  • Sampling
  • Decoding

Where it sits

Before this

Text Generation
Repetition Penalty

Leads to

Nothing yet: a destination in its own right.

Explore nearby