AlgoViz

Training, evaluating and replacing a retriever

medium 6 min

Train a retrieval encoder on queries, useful passages and negatives.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Migrate the encoder while documents are changing

Migrate the encoder while documents are changing. Selected component: Query pairs inside Training lab.
Open full-size diagram

Training lab

Review confusing negatives

Hold out a multilingual test set and add labeled exact-code searches.

A new encoder raises average recall but drops rare part numbers below the agreed floor. What should guide cutover?