Sparse Learned Retrieval (SPLADE-Style)

medium
Unit 21 · APIs & Retrieval0/2 to milestone

SPLADE-style models encode text as sparse vectors over the vocabulary, with learned term weights (including expansion terms that never appear in the text). They're searched with an inverted index, just like BM25.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Sparse Learned Retrieval (SPLADE-Style) · TechGradify