File size: 912 Bytes
9fc16dc
fcfbc2c
 
 
 
9fc16dc
fcfbc2c
9fc16dc
 
 
 
fcfbc2c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
27
28
---
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>