# Finetuning T5 for multi class classification

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffinetuning-t5-for-multi-class-classification%2F13438%3E%5C
**Category:** Intermediate\
**Created:** [January 6, 2022, 12:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffinetuning-t5-for-multi-class-classification%2F13438 "2022-01-06T12:45:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitkayal](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@amitkayal](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Famitkayal)%5C
**Post date:** [January 6, 2022, 12:45pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffinetuning-t5-for-multi-class-classification%2F13438%2F1 "2022-01-06T12:45:24Z")

</div>

Hello,

I wanted to train T5 model for my multi class sentiment analysis and it has 4 classes. Do I need to add 'multilabel classification: before my text? I was looking for an example but could not locate that.

Can you please help me on this?

Thanks  
Amit
