Spaces:
Sleeping
Sleeping
title: PyTerrier MonoT5 | |
emoji: π | |
colorFrom: green | |
colorTo: green | |
sdk: gradio | |
sdk_version: 3.7 | |
app_file: app.py | |
pinned: false | |
# π PyTerrier: MonoT5 | |
This is a demonstration of [PyTerrier's T5 package](https://github.com/terrierteam/pyterrier_t5). | |
MonoT5 functions as a `RβR` (reranking, result-to-result) transformer and can be used in pipelines accordingly. For example, you will | |
often pipe the output of a first-stage retrieval function into MonoT5: | |
<div class="pipeline"> | |
<div class="df" title="Query Frame">Q</div> | |
<div class="transformer" 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 class="transformer attn" title="MonoT5 Transformer">MonoT5</div> | |
<div class="df" title="Result Frame">R</div> | |
</div> | |