Pretrained Transformers for Offensive Language Identification in Tanglish

Sean Benhur, Kanchana Sivanraju
10/6/2021
cs.CL
transformer-attention

Official code: seanbenhur/tanglish-offensive-language-identification (1 star, Python, MIT, last commit 2021-10-11).

Abstract

This paper describes the system submitted to Dravidian-Codemix-HASOC2021: Hate Speech and Offensive Language Identification in Dravidian Languages (Tamil-English and Malayalam-English). This task aims to identify offensive content in code-mixed comments/posts in Dravidian Languages collected from social media.

Show full abstract

Our approach utilizes pooling the last layers of pretrained transformer multilingual BERT for this task which helped us achieve rank nine on the leaderboard with a weighted average score of 0.61 for the Tamil-English dataset in subtask B. After the task deadline, we sampled the dataset uniformly and used the MuRIL pretrained model, which helped us achieve a weighted average score of 0.67, the top score in the leaderboard. Furthermore, our approach to utilizing the pretrained models helps reuse our models for the same task with a different dataset. Our code and models are available in https://github.com/seanbenhur/tanglish-offensive-language-identification

View on arXivView PDF

Code Implementations(1)

MIT
11PythonOct 1, 20215 years agoMIT

Similar Papers

Cite this paper

@article{benhur2021pretrained,
  title  = {Pretrained Transformers for Offensive Language Identification in Tanglish},
  author = {Sean Benhur and Kanchana Sivanraju},
  year   = {2021},
  eprint = {2110.02852},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.02852}
}

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/2110.02852.svg)](https://codeofpaper.com/paper/2110.02852)

Discussion