Spaces:
Running
Running
Download workbench.html from pgg-engineering/rankfence: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/spaces/pgg-engineering/rankfence/resolve/main/workbench.html
- Command line
-
hf download hf://spaces/pgg-engineering/rankfence/workbench.html
-
curl -L -o workbench.html https://huggingface.co/spaces/pgg-engineering/rankfence/resolve/main/workbench.html
2.03 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>Replay a search query · RankFence</title> | |
| <meta name="description" content="Compare exact reciprocal rank fusion with and without a shard map. Paste ranked ID lists and see how many IDs settle the winners."> | |
| <link rel="stylesheet" href="docs.css"> | |
| </head> | |
| <body> | |
| <header> | |
| <a class="brand" href="index.html">RankFence</a> | |
| <nav><a href="guide.html">Integration guide</a></nav> | |
| </header> | |
| <article> | |
| <h1>Replay a search query</h1> | |
| <p>Compare how many ranked IDs a query needs to read with and without a shard map. The example has four retrievers and twelve entries. Edit the rankings to replay your own query locally.</p> | |
| <label for="input">Ranked lists and shard names</label> | |
| <textarea id="input" rows="14" spellcheck="false" aria-describedby="input-help"></textarea> | |
| <p id="input-help">Use one ordered list per retriever. Give two retrievers the same group if they can return the same document. Omit the groups to allow overlap across all lists.</p> | |
| <div class="controls"> | |
| <label>Top k <input id="k" type="number" min="1" max="100" value="1"></label> | |
| <label>Page size <input id="page" type="number" min="1" max="256" value="1"></label> | |
| <button class="button" id="run">Run replay</button> | |
| <button class="button" id="example">Reset example</button> | |
| </div> | |
| <div class="meter" id="meter-frame" hidden> | |
| <label for="read-meter">Share of ranked IDs read with the shard map</label> | |
| <progress id="read-meter" max="1" value="0"></progress> | |
| </div> | |
| <pre id="output" aria-live="polite"></pre> | |
| <p>The replay checks the winners against exhaustive fusion after simulating equal-sized page rounds. It accepts up to 64 streams and 20,000 IDs. The Python adapter also supports asynchronous pages and early closure of losing shards.</p> | |
| </article> | |
| <script src="workbench.js"></script> | |
| </body> | |
| </html> | |