cross-encoder

A model that reads a query and a passage together and outputs one relevance score, instead of embedding each separately.

In more detail

Reading both at once lets it judge relevance much better than comparing two embeddings, at the cost of running the model once per pair. That is why it is used to rerank a shortlist rather than to search.

Related terms

Taught in

References

Certification courses