Case & CodeA FIELD GUIDE TO AI
Start learning
Advanced

Reward model

Also: reward models

In plain words

A helper model that scores answers so the main model can learn what people like.

The fuller definition

A reward model assigns a numerical score intended to represent a training preference or objective. Its score can guide optimization of another model.

Three ways to change what a model does
IN THE PROMPT

Supply instructions and examples each time. Nothing in the model changes.

RETRIEVAL

Fetch current documents and put them in context. Facts can change daily.

FINE-TUNING

Train the parameters on examples. Changes behaviour and style; poor at keeping facts current.

Most legal tasks need the first two. Fine-tuning is a project, with data, evaluation, and maintenance, and it is the wrong tool for facts that change.

A concrete example

A reward model scores candidate answers for how well they match preferences learned from feedback.

The distinction that matters

A high reward score is not a universal truth or quality guarantee; the scoring proxy can be imperfect.

Related terms

Where it is taught

How models learn from examples

Source and further reading

Hugging Face · LLM course

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC