Fine-tuning flan-t5-small for classification

I am facing some trouble in using flan-t5. I am a beginner and I wanted to use flan-t5-small for multi class classification. Can I get any code similar to this?