Mitigating hate speech online using AI