def METHOD_NAME(self):
    print("Creating all triples for training")
    all_triples = []
    for idx, row in self.df.iterrows():
        print(f"{idx} out of {len(self.df)}")
        h_idx, r_idx, t_idx = self.entity2idx[row[0]], self.relation2idx[row[1]], self.entity2idx[row[2]]
        true_triple = (h_idx, r_idx, t_idx)
        fake_triples = self.create_fake_triples(h_idx=h_idx, r_idx=r_idx, t_idx=t_idx)
        for fake_triple in fake_triples:
            all_triples.append((true_triple, fake_triple))
    return all_triples