paper-with-me

홈 › Papers

Fine-Tuning Llama 2 Large Language Models for Detecting Online Sexual Predatory Chats and Abusive Texts

2023-08-28 · Thanh Thi Nguyen, Campbell Wilson, Janis Dalins

Detecting online sexual predatory behaviours and abusive language on social media platforms has become a critical area of research due to the growing concerns about online safety, especially for vulnerable populations such as children and adolescents. Researchers have been exploring various techniques and approaches to develop effective detection systems that can identify and mitigate these risks. Recent development of large language models (LLMs) has opened a new opportunity to address this problem more effectively. This paper proposes an approach to detection of online sexual predatory chats and abusive language using the open-source pretrained Llama 2 7B-parameter model, recently released by Meta GenAI. We fine-tune the LLM using datasets with different sizes, imbalance degrees, and languages (i.e., English, Roman Urdu and Urdu). Based on the power of LLMs, our approach is generic and automated without a manual search for a synergy between feature extraction and classifier design steps like conventional methods in this domain. Experimental results show a strong performance of the proposed approach, which performs proficiently and consistently across three distinct datasets with five sets of experiments. This study's outcomes indicate that the proposed method can be implemented in real-world applications (even with non-English languages) for flagging sexual predators, offensive or toxic content, hate speech, and discriminatory language in online discussions and comments to maintain respectful internet or digital communities. Furthermore, it can be employed for solving text classification problems with other potential applications such as sentiment analysis, spam and phishing detection, sorting legal documents, fake news detection, language identification, user intent recognition, text-based product categorization, medical record analysis, and resume screening.

📄 PDF Abstract BibTeX arXiv:2308.14683

Code (0)

등록된 구현이 없습니다.

Tasks

Abusive LanguageFake News DetectionIntent RecognitionLanguage IdentificationProduct CategorizationSentiment Analysistext-classificationText Classification

Similar Papers 제목 키워드 기반

LlamaRestTest: Effective REST API Testing with Small Language Models

2025-01-15 · Myeongsoo Kim, Saurabh Sinha, Alessandro Orso

Modern web services rely heavily on REST APIs, typically documented using the OpenAPI specification. The widespread adoption of this standard has resulted in the development of many black-box testing tools that generate …

LitCab: Lightweight Language Model Calibration over Short- and Long-form Responses

2023-10-30 · Xin Liu, Muhammad Khalifa, Lu Wang

A model is considered well-calibrated when its probability estimate aligns with the actual likelihood of the output being correct. Calibrating language models (LMs) is crucial, as it plays a vital role in detecting and m…

FormLanguage ModelingLanguage ModellingText Generation

Stance Detection on Social Media with Fine-Tuned Large Language Models

2024-04-18 · İlker Gül, Rémi Lebret, Karl Aberer

Stance detection, a key task in natural language processing, determines an author's viewpoint based on textual analysis. This study evaluates the evolution of stance detection methods, transitioning from early machine le…

Few-Shot LearningStance Detection

GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysis

2024-02-21 · Yueqi Xie, Minghong Fang, Renjie Pi, Neil Gong

Large Language Models (LLMs) face threats from jailbreak prompts. Existing methods for detecting jailbreak prompts are primarily online moderation APIs or finetuned LLMs. These strategies, however, often require extensiv…

Evolution of meta's llama models and parameter-efficient fine-tuning of large language models: a survey

2025-10-14 · Abdulhady Abas Abdullah, Arkaitz Zubiaga, Seyedali Mirjalili, Amir H. Gandomi 외 arxiv

This review surveys the rapid evolution of Meta AI's LLaMA (Large Language Model Meta AI) series - from LLaMA 1 through LLaMA 4 and the specialized parameter-efficient fine-tuning (PEFT) methods developed for these model…

parameter-efficient fine-tuning