Skip to content

amitbcp/multilingual_profanity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OctoCuss: Cross-lingual profane swear words dataset for Low Resource Languages

About OctoCuss

We contribute a cross-lingual dataset with task-specific instructions that explicitly instructs LLMs to generate responses incorporating swear words in contexts like professional emails, academic writing, or casual messages. It aims to evaluate the current state of LLMs in handling offensive instructions in diverse situations involving low resource languages.

Languages

English, Spanish (EU), French (EU), German (EU), Hindi (IND), Marathi (IND), Bengali (IND), Gujarati (IND)

Dataset Formation

Case 1

English Prompt + Swear word Local Language
Each of the 109 English prompts are embedded with 25 swear words from each language.



Case 2

English Prompt + Transliterated Swear word
Each of the 109 English prompts are embedded with 25 swear words from each language.



Models

We reviewed 13 different models from families such as Mistral, Phi, Qwen, and LLaMA to evaluate their safety alignment. These models range in size, from smaller ones with 7 billion parameters to much larger versions with 141 billion parameters.

Methodology

Case 1

Case 2

Results

Design of file structure should be :

  • src
    • drive
      • dataset
        • swear words
        • prompts
          • case 1
          • case 2
      • model inference
        • case 1
        • case 2
    • metrics
      • case 1.xlsx
      • case 2.xlsx
      • case 1 percentage.xlsx
      • case 2 percentage.xlsx

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published