# Multilabel classification for text

**URL:** <https://discuss.huggingface.co/t/multilabel-classification-for-text/3068>\
**Category:** Beginners\
**Created:** [January 5, 2021, 12:04pm UTC](https://discuss.huggingface.co/t/multilabel-classification-for-text/3068 "2021-01-05T12:04:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![al31415](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/al31415/32/399_2.png) [@al31415](https://discuss.huggingface.co/u/al31415)\
**Post date:** [January 5, 2021, 12:04pm UTC](https://discuss.huggingface.co/t/multilabel-classification-for-text/3068/1 "2021-01-05T12:04:15Z")

</div>

Hello,

Could you please point me out the direction to look for a possibility to do multi-class text classification?  
I need to assign multiple tags (genres) for texts describing movies/books.

---

<div class="post-metadata">

**Author:** ![al31415](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/al31415/32/399_2.png) [@al31415](https://discuss.huggingface.co/u/al31415)\
**Post date:** [January 15, 2021, 12:18pm UTC](https://discuss.huggingface.co/t/multilabel-classification-for-text/3068/2 "2021-01-15T12:18:19Z")

</div>

Should it be done using `class BertForMultipleChoice(BertPreTrainedModel)`?  
Found also [transformers-tutorials/transformers\_multi\_label\_classification.ipynb at master · abhimishra91/transformers-tutorials · GitHub](https://github.com/abhimishra91/transformers-tutorials/blob/master/transformers_multi_label_classification.ipynb) , but authors didn’t use `BertForMultipleChoice` there.
