File size: 1,457 Bytes
a9e1c12
 
 
a3f464a
a9e1c12
 
 
73e019b
 
1d4dfd8
 
 
464b2c0
0e15fa4
73e019b
 
 
be98d79
73e019b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97afe88
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
35
36
---
language: en
license: apache-2.0
datasets:
  - hatexplain
---

The model is used for classifying a text as Abusive (Hatespeech and Offensive) or Normal. The model is trained using data from Gab and Twitter and Human Rationales were included as part of the training data to boost the performance. The model also has a rationale predictor head that can predict the rationales given an abusive sentence.                                                                                                    
 
The dataset and models are available here: https://github.com/punyajoy/HateXplain

**Details of usage**

Please use the **Model_Rational_Label** class inside [models.py](models.py) to load the models. The default prediction in this hosted inference API may be wrong due to the use of different class initialisations.

**For more details about our paper**

Binny Mathew, Punyajoy Saha, Seid Muhie Yimam, Chris Biemann, Pawan Goyal, and Animesh Mukherjee "[HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection)". Accepted at AAAI 2021.

***Please cite our paper in any published work that uses any of these resources.***
~~~

@article{mathew2020hatexplain,
  title={HateXplain: A Benchmark Dataset for Explainable Hate Speech Detection},
  author={Mathew, Binny and Saha, Punyajoy and Yimam, Seid Muhie and Biemann, Chris and Goyal, Pawan and Mukherjee, Animesh},
  journal={arXiv preprint arXiv:2012.10289},
  year={2020}

}

~~~