mlsanityData to 7 Oct 2026

Fine-Tuning Large Language Models with QLoRA for Offensive Language Detection in Roman Urdu-English Code-Mixed Text

arXiv 2510.03683 ↗First posted 4 Oct 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

The use of derogatory terms in languages that employ code mixing, such as Roman Urdu, presents challenges for Natural Language Processing systems due to unstated grammar, inconsistent spelling, and a scarcity of labeled data. In this work, we propose a QLoRA based fine tuning framework to improve offensive language detection in Roman Urdu-English text. We translated the Roman Urdu-English code mixed dataset into English using Google Translate to leverage English LLMs, while acknowledging that this translation reduces direct engagement with code mixing features. Our focus is on classification performance using English translated low resource inputs. We fine tuned several transformers and large language models, including Meta LLaMA 3 8B, Mistral 7B v0.1, LLaMA 2 7B, ModernBERT, and RoBERTa, with QLoRA for memory efficient adaptation. Models were trained and evaluated on a manually annotated Roman Urdu dataset for offensive vs non offensive content. Of all tested models, the highest F1 score of 91.45 was attained by Meta LLaMA 3 8B, followed by Mistral 7B at 89.66, surpassing traditional transformer baselines. These results demonstrate the efficacy of QLoRA in fine tuning high performing models for low resource environments such as code mixed offensive language detection, and confirm the potential of LLMs for this task. This work advances a scalable approach to Roman Urdu moderation and paves the way for future multilingual offensive detection systems based on LLMs.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 21 of its 45 references that are in the map. First posted on arXiv 4 Oct 2025.

Builds on

21 of 45 references.

References · 21

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  5. 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
  6. 2021Persistent Anti-Muslim Bias in Large Language Modelscited by 376
  7. 2017Deep Learning for Hate Speech Detection in Tweetscited by 180
  8. 2022Language Models that Seek for Knowledge: Modular Search & Generation for Dialogue and Prompt Completioncited by 102
  9. 2020Hate Speech Detection and Racial Bias Mitigation in Social Media based on BERT modelcited by 87
  10. 2021Overview of the HASOC track at FIRE 2020: Hate Speech and Offensive Content Identification in Indo-European Languagescited by 38
  11. 2023HARE: Explainable Hate Speech Detection with Step-by-Step Reasoningcited by 30
  12. 2024Don't Go To Extremes: Revealing the Excessive Sensitivity and Calibration Limitations of LLMs in Implicit Hate Speech Detectioncited by 25
9 more
  1. 2024On Zero-Shot Counterspeech Generation by LLMscited by 17
  2. 2024Outcome-Constrained Large Language Models for Countering Hate Speechcited by 12
  3. 2023Social-LLM: Modeling User Behavior at Scale using Language Models and Social Network Datacited by 11
  4. 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitationscited by 10
  5. 2023HateRephrase: Zero- and Few-Shot Reduction of Hate Intensity in Online Posts using Large Language Modelscited by 8
  6. 2024Target Span Detection for Implicit Harmful Contentcited by 8
  7. 2023LLM generated responses to mitigate the impact of hate speechcited by 7
  8. 2023Evaluating ChatGPT's Performance for Multilingual and Emoji-based Hate Speech Detectioncited by 6
  9. 2024Using LLMs to discover emerging coded antisemitic hate-speech in extremist social mediacited by 4

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.