For more details about our hate speech dataset, please read the following research article
Md Mustafizur Rahman, Dinesh Balakrishnan, Dhiraj Murthy, Mucahid Kutlu, and Matthew Lease, An Information Retrieval Approach to Building Datasets for Hate Speech Detection. [pdf]
- Pooling --> /codes/pooling.py
- Active learning --> /codes/active_learning.py
- BiLSTM [1] [Source code]
- LSTM [2] [Source code]
- BERT [3] [Source code]
The source code for BiLSTM and LSTM used in this project are collected from [4] where the authors made necessary correction for those two models.
- Train.csv --> /data/train_test_sets/
- Test.csv --> /data/train_test_sets/
Two different annotation interfaces used during pilot and main phases are provided in html format under /interface/ directory.
Total Number of Authors: 9534
- Total number of Author with exactly 1 contribution: 9430
- Total number of Author with exactly 2 contribution: 97
- Total number of Author with more than 2 contribution: 7
[1] Sweta Agrawal and Amit Awekar. 2018. Deep learning for detecting cyberbullying across multiple social media platforms. In European Conference on Information Retrieval. Springer, 141–153.
[2] Pinkesh Badjatiya, Shashank Gupta, Manish Gupta, and Vasudeva Varma. 2017. Deep learning for hate speech detection in tweets. In Proceedings of the 26th International Conference on World Wide Web Companion. 759–760.
[3] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. Bert: Pretraining of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805 (2018).
[4] Aymé Arango, Jorge Pérez, and Barbara Poblete. 2019. Hate speech detection is not as easy as you may think: A closer look at model validation. In Proceedings of the 42nd international acm sigir conference on research and development in information retrieval. 45–54.