Large Language Models · Level 2 of 5
Stop Sequence
A sequence that causes a decoder or serving system to end generation.
It is an output-control mechanism rather than a factuality check.
Example
Generation stops when a configured delimiter appears.
Listen to the definition and example
Audio transcript
Stop Sequence. A sequence that causes a decoder or serving system to end generation. It is an output-control mechanism rather than a factuality check. For example: Generation stops when a configured delimiter appears.
Explore this concept
Why it matters
This helps you interpret model behavior and control how text is processed or generated.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.