Skip to content
Inference Academy

What is constrained decoding?

Masking out tokens that would break a grammar or schema at each decoding step, so the output is valid by construction.

Learn it properly in the lesson →

Where it comes up

Lessons that use this term, most mentions first.

Related terms

All 115 terms