You can get the first batch of the training dataloader by doing:
for batch in trainer.get_train_dataloader():
    break

and then access the sentences in batch. You will need to decode the inputs using your tokenizer though.