Ir para o conteúdo
Menu
Português

Constrained Decoding

Restricting which tokens a model may emit at each step.

technique Técnicas 3 relationships

Visão geral

Constrained decoding masks the logits so only tokens consistent with a grammar, schema or regular expression remain possible. It solves the problem that asking for valid output produces valid output most of the time, and a pipeline cannot be built on most of the time. It exists because enforcement during generation removes the need for retries and repair logic afterwards.

Grafo de tecnologias

Como Constrained Decoding se liga ao resto do stack.

Usa e depende de

Aplicado a