File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import models .base as base_module
22import models .T5Rewriter as t5_rewriter
33
4- from typing import List , Tuple
4+ from typing import Tuple
55
66import pandas as pd
77import pyterrier as pt
88from pyterrier_t5 import MonoT5ReRanker , DuoT5ReRanker
99
1010import torch
1111
12- BATCH_SIZE = 128 if torch .cuda .is_available () else 8
12+ BATCH_SIZE = 64 if torch .cuda .is_available () else 8
1313
1414
1515class Baseline (base_module .Pipeline ):
Original file line number Diff line number Diff line change 11import models .base as base_module
22import models .T5Rewriter as t5_rewriter
33
4- from typing import List , Tuple
4+ from typing import Tuple
55
66import pandas as pd
77import pyterrier as pt
88from pyterrier_t5 import MonoT5ReRanker , DuoT5ReRanker
99
1010import torch
1111
12- BATCH_SIZE = 128 if torch .cuda .is_available () else 8
12+ BATCH_SIZE = 64 if torch .cuda .is_available () else 8
1313
1414
1515class BaselinePRF (base_module .Pipeline ):
You can’t perform that action at this time.
0 commit comments