Hello all,
I’m relatively new to transformer library and its models.
What I’m try-out is fine-tuning pretrained model for classification task.
I understood that BertForSequenceClassification is for classical multi-class classification.
However, I’m confused on how to achieve “multi-label” classification task.
Can anyone guide me to multilabel classification?
ps.)
What I mean by Multiclass, it means labels are exclusive to each other
ex)

num_labels = 5
labels=[0, 1, 0, 0, 0]

Multilabel

num_labels = 5
labels = [1, 0, 0, 1, 0]