Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1 |
# Hate Speech Classifier for Social Media Content in English Language
|
2 |
|
3 |
-
A 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.
|
4 |
|
5 |
-
## Tokenizer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Hate Speech Classifier for Social Media Content in English Language
|
2 |
|
3 |
+
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.
|
4 |
|
5 |
+
## Tokenizer
|
6 |
+
|
7 |
+
During training the text was preprocessed using the original English BERT base tokenizer. We suggest the same tokenizer is used for inference.
|
8 |
+
|
9 |
+
## Model output
|
10 |
+
|
11 |
+
The model classifies each input into one of four distinct classes:
|
12 |
+
* 0 - appropriate
|
13 |
+
* 1 - inappropriate
|
14 |
+
* 2 - offensive
|
15 |
+
* 3 - violent
|