Ensemble learning using transformers

I work on multiple-choice QA, and I want to use ensemble learning on transformers.
Assume the first model is trained with Bert, the second is trained with Roberta and etc. I want to ensemble predictions of these models using majority voting to develop the final system. Is there a notebook that I can follow? or how can I do it?
Thank you