Model techniques map
Techniquesinference & servingdecoding strategy

specific method · filed under inference & serving

Grammar-constrained decoding

Enforces a constructed grammar or schema during sampling rather than relying on prompt instructions alone.

source
1
model
1
lab adopt it
1
strongest
used

How sources treat it

One count per evidence span, weakest treatment to strongest.

used 1

Documented in

Evidence

1 span quoted from the sources, strongest treatment first.

This prompt alone will, however, only influence the model’s behavior but doesn’t guarantee the full adherence to the schema. For this you still need to construct your own grammar and enforce the schema during sampling.

usedinference servingin gpt-ossOpenAI

Filed alongside

Other methods under inference & serving :: decoding strategy.