英文

MUDES - {Mu}ltilingual {De}tection of Offensive {S}pans

我们提供最先进的模型来检测社交媒体文本中的有害内容。我们在 this paper 中介绍了我们的框架。我们在 SemEval 2021(任务5)的有害内容跨度任务上评估了我们的模型。我们参与该任务的细节在 this paper 中详细说明。

使用方法

当您安装了 MUDES 后,您可以使用此模型:

pip install mudes

然后您可以像这样使用该模型:

from mudes.app.mudes_app import MUDESApp

app = MUDESApp("en-large", use_cuda=False)
print(app.predict_toxic_spans("You motherfucking cunt", spans=True))

系统演示

一个名为MUDES-UI的实验演示界面已在 GitHub 上发布,可以在 here 中查看。

引用和作者

如果您发现这个模型有帮助,请随意引用我们的出版物。

@inproceedings{ranasinghemudes,
 title={{MUDES: Multilingual Detection of Offensive Spans}}, 
 author={Tharindu Ranasinghe and Marcos Zampieri},  
 booktitle={Proceedings of NAACL},
 year={2021}
}
@inproceedings{ranasinghe2021semeval,
  title={{WLV-RIT at SemEval-2021 Task 5: A Neural Transformer Framework for Detecting Toxic Spans}},
  author = {Ranasinghe, Tharindu  and Sarkar, Diptanu and Zampieri, Marcos and Ororbia, Alex},
  booktitle={Proceedings of SemEval},
  year={2021}
}