A learned sparse retriever: each text becomes a handful of weighted vocabulary terms, including terms it never contains.
A document's score for the query is the dot product of the two term lists: the sum, over shared terms, of query weight times document weight. Higher means more relevant.
The page needs WebGPU and downloads 151 MB of weights before the button turns on.