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.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Small Electra for Hate: A Transformer Lightweight Approach to Hate Text Classification

  • Ricardo Lazo Vasquez,
  • José Ochoa-Luna

摘要

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.