Spaces:
Running
Running
Update query.md
Browse files
query.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
### Query Encoding
|
2 |
|
3 |
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.
|
4 |
-
It maps a query string into
|
5 |
-
query re-weighted and weighted expansion terms added.
|
6 |
|
7 |
<div class="pipeline">
|
8 |
<div class="df" title="Query Frame">Q</div>
|
|
|
1 |
### Query Encoding
|
2 |
|
3 |
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.
|
4 |
+
It 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>
|