Home Knowledge Base Stop tokens

Stop tokens is the special token IDs that instruct the decoder to terminate generation immediately when emitted - they provide low-level termination control at token granularity.

What Is Stop tokens?

Why Stop tokens Matters

How It Is Used in Practice

Stop tokens is a foundational primitive for deterministic decode termination - correct token mapping is essential to avoid truncation or runaway output.

stop tokenstext generation

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.