Stop Sequence

Noun · AI & Machine Learning

Definitions

  1. A token sequence that tells a generation system where to stop producing output when that sequence appears. Stop sequences are used to control output boundaries and prevent unwanted continuation.

    In plain English: A sequence that tells the model when to stop generating.

    Example: "They added a stop sequence after the closing brace so the model would not continue generating commentary beyond the JSON object."

Related Terms