How to train T5?

I followed this tutorial on using T5_BASE_GENERATION for summarization. How can I train this model locally using my own dataset? I am new to nlp and pytorch, so any suggestions would be greatly appreciated!