CoolFace
Apppublic

terrierteam/splade3

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
query.md11 linesDownload Raw Back to root
1### Query Encoding2 3Let'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.4It maps a query string into a sparse `dict`-formatted query vector, with the tokens as the keys and the weights as values.5 6<div class="pipeline">7  <div class="df" title="Query Frame">Q</div>8  <div class="transformer attn" title="SPLADE Query Transformer">SPLADE</div>9  <div class="df" title="Query Frame">Q</div>10</div>11