AI Dynamics

Global AI News Aggregator

BM25_PT: Matrix Multiplication for Efficient Search Scoring

my library is here, bm25_pt: http://
github.com/jxmorris12/bm2
5_pt
… the key insight is that you can reduce the BM25 scoring to a single matrix multiplication. everything in the big fraction on the right side here can be stored in a big matrix of scores then, bm25(q) = bag(q) @ scores.T

→ View original post on X — @jxmnop,

Commentaires

Leave a Reply

Your email address will not be published. Required fields are marked *