File size: 1,371 Bytes
4f57871
 
 
 
ffe5433
 
 
4f57871
 
5f1e0ee
 
f185e30
773010f
702e9ed
6dc7c7d
702e9ed
 
f185e30
 
 
 
 
 
 
c72f789
f185e30
 
6d6f8f2
 
6e83d0f
b31b850
498e4a0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
widget:

- text: "My name is Mark and I live in London. I am a postgraduate student at Queen Mary University."
language: 
  - en
license: mit
---

# 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.

## Please cite:
Kralj Novak, P., Scantamburlo, T., Pelicon, A., Cinelli, M., Mozetič, I., & Zollo, F. (2022, July). __Handling disagreement in hate speech modelling__. In International Conference on Information Processing and Management of Uncertainty in Knowledge-Based Systems (pp. 681-695). Cham: Springer International Publishing.
https://link.springer.com/chapter/10.1007/978-3-031-08974-9_54

## Tokenizer

During training the text was preprocessed using the original English BERT base tokenizer. We suggest the same tokenizer is used for inference.

## Model output

The model classifies each input into one of four distinct classes:
* 0 - acceptable
* 1 - inappropriate
* 2 - offensive
* 3 - violent


Details on data acquisition and labeling including the Annotation guidelines:  
http://imsypp.ijs.si/wp-content/uploads/2021/12/IMSyPP_D2.2_multilingual-dataset.pdf