def __getitem__(self, index):
        """Returns one data pair (source and target)."""
        data = {}
        data["X"] = self.X[index]
        data["y"] = self.y[index]
        return data
Returns one data pair (source and target).
dpkd/transformers/examples/research_projects/pplm/run_pplm_discrim_train.py