Small Electra for Hate: A Transformer Lightweight Approach to Hate Text Classification
摘要
Detecting hate speech in text is essential in today’s digital age, where online platforms strive to eliminate toxic discourse and create a healthy environment for users. In response to this challenge, we introduce SE4Hate, a Transformer-based model built on Electra Small, designed to tackle hate speech classification on social networks. Our model achieves an F1 score of 78.8785%, surpassing conventional approaches based on Transformers and Large Language Models (LLMs) like RoBERTa, ChatGPT, and FastChat T5, thanks to its cost-effective architecture and strong performance. Despite trailing the top state-of-the-art approach by 0.6%, which relies on an architecture seven times more complex, the model still provides notable improvements in cost-efficiency while maintaining a lightweight, traditional Transformer-based design.