UTNLP at SemEval-2021 Task 5: A Comparative Analysis of Toxic Span Detection using Attention-based, Named Entity Recognition, and Ensemble Models

Alireza Salemi, Nazanin Sabri, Emad Kebriaei, Behnam Bahrak, Azadeh Shakery
4/10/2021
cs.CL

Official code: alirezasalemi7/SemEval2021-Toxic-Spans-Detection (5 stars, Jupyter Notebook, last commit 2021-07-26).

Abstract

Detecting which parts of a sentence contribute to that sentence's toxicity -- rather than providing a sentence-level verdict of hatefulness -- would increase the interpretability of models and allow human moderators to better understand the outputs of the system. This paper presents our team's, UTNLP, methodology and results in the SemEval-2021 shared task 5 on toxic spans detection.

Show full abstract

We test multiple models and contextual embeddings and report the best setting out of all. The experiments start with keyword-based models and are followed by attention-based, named entity-based, transformers-based, and ensemble models. Our best approach, an ensemble model, achieves an F1 of 0.684 in the competition's evaluation phase.

View on arXivView PDF

Code Implementations(1)

UTNLP: codes for shared task 5 on toxic spans detection in SemEval 2021

50Jupyter Notebook, PythonJan 24, 20215 years ago

Similar Papers

Cite this paper

@article{salemi2021utnlp,
  title  = {UTNLP at SemEval-2021 Task 5: A Comparative Analysis of Toxic Span Detection using Attention-based, Named Entity Recognition, and Ensemble Models},
  author = {Alireza Salemi and Nazanin Sabri and Emad Kebriaei and Behnam Bahrak and Azadeh Shakery},
  year   = {2021},
  eprint = {2104.04770},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.04770}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.04770.svg)](https://codeofpaper.com/paper/2104.04770)

Discussion