Adapting Safe-for-Work Classifier for Malaysian Language Text: Enhancing Alignment in LLM-Ops Framework

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Razak, Aisyah, Nazhan, Ariff, Adha, Kamarul, Adzlan, Wan Adzhar Faiq, Ahmad, Mas Aisyah, Azman, Ammar
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929442600779776
author Razak, Aisyah
Nazhan, Ariff
Adha, Kamarul
Adzlan, Wan Adzhar Faiq
Ahmad, Mas Aisyah
Azman, Ammar
author_facet Razak, Aisyah
Nazhan, Ariff
Adha, Kamarul
Adzlan, Wan Adzhar Faiq
Ahmad, Mas Aisyah
Azman, Ammar
contents As large language models (LLMs) become increasingly integrated into operational workflows (LLM-Ops), there is a pressing need for effective guardrails to ensure safe and aligned interactions, including the ability to detect potentially unsafe or inappropriate content across languages. However, existing safe-for-work classifiers are primarily focused on English text. To address this gap for the Malaysian language, we present a novel safe-for-work text classifier tailored specifically for Malaysian language content. By curating and annotating a first-of-its-kind dataset of Malaysian text spanning multiple content categories, we trained a classification model capable of identifying potentially unsafe material using state-of-the-art natural language processing techniques. This work represents an important step in enabling safer interactions and content filtering to mitigate potential risks and ensure responsible deployment of LLMs. To maximize accessibility and promote further research towards enhancing alignment in LLM-Ops for the Malaysian context, the model is publicly released at https://huggingface.co/malaysia-ai/malaysian-sfw-classifier.
format Preprint
id arxiv_https___arxiv_org_abs_2407_20729
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adapting Safe-for-Work Classifier for Malaysian Language Text: Enhancing Alignment in LLM-Ops Framework
Razak, Aisyah
Nazhan, Ariff
Adha, Kamarul
Adzlan, Wan Adzhar Faiq
Ahmad, Mas Aisyah
Azman, Ammar
Computation and Language
As large language models (LLMs) become increasingly integrated into operational workflows (LLM-Ops), there is a pressing need for effective guardrails to ensure safe and aligned interactions, including the ability to detect potentially unsafe or inappropriate content across languages. However, existing safe-for-work classifiers are primarily focused on English text. To address this gap for the Malaysian language, we present a novel safe-for-work text classifier tailored specifically for Malaysian language content. By curating and annotating a first-of-its-kind dataset of Malaysian text spanning multiple content categories, we trained a classification model capable of identifying potentially unsafe material using state-of-the-art natural language processing techniques. This work represents an important step in enabling safer interactions and content filtering to mitigate potential risks and ensure responsible deployment of LLMs. To maximize accessibility and promote further research towards enhancing alignment in LLM-Ops for the Malaysian context, the model is publicly released at https://huggingface.co/malaysia-ai/malaysian-sfw-classifier.
title Adapting Safe-for-Work Classifier for Malaysian Language Text: Enhancing Alignment in LLM-Ops Framework
topic Computation and Language
url https://arxiv.org/abs/2407.20729