Skip to content

Glossary: Fine-tuning LLMs

Gradient

Also written: gradients

The values, computed in the backward pass, that say how to change each weight to reduce the loss. Each trained parameter needs memory for its gradient.

Where the book teaches it

Related terms

Gradient accumulationgrad_normFull fine-tuning