def METHOD_NAME(example, task_name, vocab, is_tokenized=True, max_seq_length=128, is_test=False):
    seq1 = convert_example_for_lstm(
        {"sentence": example["sentence1"], "labels": example["labels"]},
        task_name,
        vocab,
        is_tokenized,
        max_seq_length,
        is_test,
    )[:2]
    seq2 = convert_example_for_lstm(
        {"sentence": example["sentence2"], "labels": example["labels"]},
        task_name,
        vocab,
        is_tokenized,
        max_seq_length,
        is_test,
    )
    pair_features = seq1 + seq2
    return pair_features