Skip to content

Glossary: Vision and Image Generation

Classifier-free guidance

Also written: CFG

A way to steer a diffusion model toward your prompt. Each step makes one prediction with the prompt and one without, and pushes the result toward the prompted one.

Where the book teaches it

Related terms

Guidance scaleNegative prompt