splade / query.md
macavaney's picture
Update query.md
5f77918 verified

A newer version of the Gradio SDK is available: 5.3.0

Upgrade

Query Encoding

Let's start by exploring SPLADE's query encoder. The query encoder is a Q→Q (query rewriting, query-to-query) transformer, and can be used in pipelines accordingly. It maps a query string into a sparse dict-formatted query vector, with the tokens as the keys and the weights as values.

Q
SPLADE
Q