splade

Configuration and model for SPLADE (SParse Lexical AnD Expansion) type models. Originally proposed in SPLADE: Sparse Lexical and Expansion Model for First Stage Ranking.

Classes

SpladeConfig([query_length, doc_length, ...])

Configuration class for a SPLADE model.

SpladeModel(config, *args, **kwargs)

Sparse lexical SPLADE model.