def METHOD_NAME(cls, examples: List[InputExample], **kwargs):
    sentences1 = []
    sentences2 = []
    scores = []
    for example in examples:
        sentences1.append(example.texts[0])
        sentences2.append(example.texts[1])
        scores.append(example.label)
    return cls(sentences1, sentences2, scores, **kwargs)