Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

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

Domaine:

natural language processing

Type de record:

papermodeldataset
Créateur:
HusQasMehZai
Hôte:avatar
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. 25 pages, 22 figures

Visit

arxiv.org

Tasks

code switchinghate speech detectiontext classification

Tags

Computation and Language

Similaires

Low-Resource Hate Speech Detection in English-Swahili Code-Switched Text Using Fine-Tuning of Pre-trained Language Models"RoU-AudioTox: Roman Urdu Audio-Text Dataset for Offensive Speech Detection and Transcription"An Attention Based Neural Network for Code Switching Detection: English & Roman UrduAdversarial Evaluation of Large Language Models for Building Robust Offensive Language Detection in Moroccan Arabicshruthi0429/BLOOMZ-and-mT5-Fine-Tuning-Optimizing-Large-Language-Models-for-a-Low-Resource-LanguageFine-Tuning DeepSpeech Speech-To-Text Model for Nigerian English and Yoruba-English Code-Switched Speech

Low-Resource Hate Speech Detection in English-Swahili Code-Switched Text Using Fine-Tuning of Pre-trained Language Models

The use of social media in East Africa has grown rapidly, and with it, the spread of hate speech has

"RoU-AudioTox: Roman Urdu Audio-Text Dataset for Offensive Speech Detection and Transcription"

"Since online communications are growing, those who speak Roman Urdu experience more problems with o

An Attention Based Neural Network for Code Switching Detection: English & Roman Urdu

Code-switching is a common phenomenon among people with diverse lingual background and is widely use

Adversarial Evaluation of Large Language Models for Building Robust Offensive Language Detection in Moroccan Arabic

Offensive language detection is crucial for ensuring safe and inclusive digital environments. Identi

shruthi0429/BLOOMZ-and-mT5-Fine-Tuning-Optimizing-Large-Language-Models-for-a-Low-Resource-Language

# BLOOMZ and mT5 Fine-Tuning: Optimizing Large Language Models for a Low-Resource Language This rep

Fine-Tuning DeepSpeech Speech-To-Text Model for Nigerian English and Yoruba-English Code-Switched Speech

International audience Speech-to-Text (STT) systems, despite their stellar performanc