GitHub - Pringled/pyversity: Fast Diversification for Search & Retrieval
Fast Diversification for Search & Retrieval
Pyversity is a fast, lightweight library for diversifying retrieval results.
Retrieval systems often return highly similar items. Pyversity efficiently re-ranks these results to encourage diversity, surfacing items that remain relevant but less redundant.
It implements several popular diversification strategies such as MMR, MSD, DPP, and Cover with a clear, unified API. More information about the supported strategies can be found in the supported strat...
Read more at github.com