primeqa.util.dataloader.distloader_seq_pair.SeqPairBatches#
- class primeqa.util.dataloader.distloader_seq_pair.SeqPairBatches(insts: List[primeqa.util.dataloader.distloader_seq_pair.SeqPairInst], hypers: primeqa.util.transformers_utils.hypers_base.HypersBase, *, cls_id, sep_id, is_separate, is_single)#
Bases:
primeqa.util.dataloader.distloader_base.DistBatchesBase
Methods
make_batch
make_batch_joined
make_batch_separate
make_batch_single
post_init