← All tools
EDTOOLKITS GUIDES

Trace one preferred-answer update

By Team Edtoolkits · AI learning

Follow the winner, loser and reference probabilities in the router-support example.

Use the guide alongside the working tool.

Open DPO: Learning From Better-vs-Worse Pairs →

Explore the lesson

Watch two arrows pull an answer up and push another down.

Pick one preferred and one rejected answer.

Train and compare with the starting model.

A comparison to try

Choose the clearer router answer as preferred and an unhelpful answer as rejected. Start from the reference scores and take an update. Compare the two chosen scores and the DPO loss before changing the pair.

Read the result

The update increases preference for the chosen winner relative to the rejected answer and reference. A falling loss shows success on that pair's objective; it does not evaluate every property of the answer.

A mistake to avoid

Preference data can reward the wrong thing. The four scripted replies and score updates do not constitute training a general assistant, and a preferred reply still needs factual and practical review.

Teaching model and privacy

A teaching toy: one question, four fixed answers and a single probability table. Real DPO changes the weights of a large language model using many thousands of pairs. Nothing leaves your browser.

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE