def METHOD_NAME(self, index):
    t1, t2 = self.get_corpus_line(index)
    # output_text, label(isNotNext:0, isNext:1)
    if random.random() > 0.5:
        return t1, t2, 1
    else:
        return t1, self.get_random_line(), 0