monot5 / README.md
Sean MacAvaney
update
fcfbc2c
|
raw
history blame
912 Bytes
---
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>