Hate Speech Classifier for Social Media Content in English Language
A monolingual model for hate speech classification of social media content in English language. The model was trained on 103190 YouTube comments and tested on an independent test set of 20554 YouTube comments. It is based on English BERT base pre-trained language model.
During training the text was preprocessed using the original English BERT base tokenizer. We suggest the same tokenizer is used for inference.
The model classifies each input into one of four distinct classes:
- 0 - acceptable
- 1 - inappropriate
- 2 - offensive
- 3 - violent
- Downloads last month
This model can be loaded on the Inference API on-demand.