- Glossary
- Stop sequence
Glossary term
Stop sequence
A string that makes the model stop generating as soon as it produces it.
Also called stop sequences, stop_sequences.
Open lesson 6.3
Stop sequences and max_tokens · Chapter 6, and 2 more lessons below
In plain words
Useful for structured formats; the stop sequence itself is not included in the output.
Taught in
Also in these lessons
Context windowInput tokensmax_tokensOutput tokensPrefillingSoftmaxStructured outputsTokenToken countingTool usetool_use blockVocabulary