Skip to content
Inference Academy

What is GBNF?

llama.cpp's grammar format for constraining output to a formal grammar (such as JSON).

Learn it properly in the lesson →

Where it comes up

Lessons that use this term, most mentions first.

All 115 terms