Replies: 2 comments 2 replies
-
I would recommend checking the example notebook here https://colab.research.google.com/drive/1P9iQHtUH5KUbTVtp8B4-AopZzEEPE0lw?usp=sharing . This can handle multi-class and multi-label. You just need to change the problem_type parameter in the config when instantiating the model using .from_pretrained() (https://github.com/huggingface/transformers/blob/master/src/transformers/models/bert/modeling_bert.py#L1561) |
Beta Was this translation helpful? Give feedback.
-
hi Farah also my case is the same for you but another content I'm collected dataset about racism and classification for multiclass (5) |
Beta Was this translation helpful? Give feedback.
-
Hi Wissam!
Im an absolute beginner to BERT, and would really appreciate your insight. I'm collected Arabic hate-speech (misogynistic) Tweets, and I want to use AraBERT to build a multiclass classifier to distinguish the different contexts the tweets occur in (4 classes).
Which model/library do you think is best for that? Would Fast-Bert work?
Best,
Farah
Beta Was this translation helpful? Give feedback.
All reactions