My input sentence is very long(more than 512). What should I do when I want to fintune model about classify?Thanks

I want to user BigBird to try my task, but have a new problem, I am very Confusion.