src/transformers/pipelines/base.py/PipelineDataset/__getitem__
class PipelineDataset:        def __getitem__(self, i):
            item = self.dataset[i]
            processed = self.process(item, **self.params)
            return processed