Spaces:
Sleeping
Sleeping
File size: 877 Bytes
0160adc 70f85dc 0160adc 70f85dc 0160adc 70f85dc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
---
title: PyTerrier Retrieve
emoji: π
colorFrom: green
colorTo: green
sdk: gradio
sdk_version: 3.7
app_file: app.py
pinned: false
---
# π PyTerrier: Retrieve
This is a demonstration of [PyTerrier's TerrierRetrieve transformer](https://pyterrier.readthedocs.io/en/latest/terrier-retrieval.html).
TerrierRetrieve functions as a `QβR` (retrieval, query-to-result) transformer and can be used in pipelines accordingly. For example, you can
pipe the results to a transformer such as `get_text` to load the text associated with the document:
<div class="pipeline">
<div class="df" title="Query Frame">Q</div>
<div class="transformer attn" title="PisaRetrieve Transformer">TerrierRetrieve</div>
<div class="df" title="Result Frame">R</div>
<div class="transformer" title="get_text Transformer">get_text</div>
<div class="df" title="Result Frame">R</div>
</div>
|