]
encoded_inputs = tokenizer(batch_sentences, batch_of_second_sentences, is_split_into_words=True)
And you can add padding, truncation as well as directly return tensors like before:
py
batch = tokenizer(
    batch_sentences,
    batch_of_second_sentences,
    is_split_into_words=True,
    padding=True,
    truncation=True,
    return_tensors="pt",
)
===PT-TF-SPLIT===
batch = tokenizer(
    batch_sentences,
    batch_of_second_sentences,
    is_split_into_words=True,
    padding=True,
    truncation=True,
    return_tensors="tf",
)
