Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 985 Bytes

File metadata and controls

15 lines (10 loc) · 985 Bytes

anti-hate-reddit-bot-with-PRAW-and-BERT

This was the POC work for a much improved version which has been built now under the name Project Shhor and has won an International Hackathon by United Nations Populations Fund: https://www.shhorai.com

This is a reddit bot that detects hate speech in hindi-english code mixed comments in a subreddit, and warns the user posting hate speech upto three times and then permanently bans the user with a message.

The detection is done with distil-bert model built on hindi-english code mixed dataset of 12433 annotated sentences.

Detailed blog on the project:

https://medium.com/@barua.aindriya/reddit-bot-to-fight-hindi-english-code-mixed-hate-speech-with-bert-214624392c3a

Demo:

https://www.reddit.com/r/nlptestsubreddit/comments/q95m15/india_itna_intolerant_ho_raha_hai_din_bar_din/

Functionality:

bot drawio (1)