Loading lesson page...
AI From Scratch/Lesson 66/~90 minutes
Cross-Encoder Reranker
A bi-encoder embeds query and document independently. A cross-encoder concatenates them and reads both at once. The cross-encoder is the smartest reader and the slowest. Used as a second stage on the bi-encoder's top-k, it pays for itself.
BuildPythonNo prerequisites