extract 0 0 0

walledai/CSRT

published by @walledai

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.1K
Last 30 days
82
Likes
-
Size
49 KB
Created on HF
2024-08-09
Age
2 years ago

Description

Dataset derived from CSRT: Evaluation and Analysis of LLMs using Code-Switching Red-Teaming Dataset submitted to the NeurIPS 2024 Datasets and Benchmarks track

We introduce code-switching red-teaming, a simple yet effective red-teaming technique that simultaneously tests the multilingual capabilities and safety of LLMs

Keywords

LLM, Evaluation, Safety, Multilingual, Red-teaming, Code-switching

Abstract

Recent studies in large language models (LLMs) shed light on… See the full description on the dataset page: https://huggingface.co/datasets/walledai/CSRT.

Tags

task_categories:text-generationsize_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2406.15481region:uscodeswitchmultilingual

README current version from Hugging Face


dataset_info:
features:

  • name: prompt
    dtype: string
  • name: original
    dtype: string
  • name: harms
    sequence: string
    splits:
  • name: train
    num_bytes: 65394
    num_examples: 315
    download_size: 45231
    dataset_size: 65394
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
      task_categories:
  • text-generation
    tags:
  • codeswitch
  • multilingual
    size_categories:
  • n<1K

Dataset derived from CSRT: Evaluation and Analysis of LLMs using Code-Switching Red-Teaming Dataset submitted to the NeurIPS 2024 Datasets and Benchmarks track

We introduce code-switching red-teaming, a simple yet effective red-teaming technique that simultaneously tests the multilingual capabilities and safety of LLMs

Keywords

LLM, Evaluation, Safety, Multilingual, Red-teaming, Code-switching

Abstract

Recent studies in large language models (LLMs) shed light on their multilingual ability and safety, beyond conventional tasks in language modeling. Still, current benchmarks reveal their inability to comprehensively evaluate them and are excessively dependent on manual annotations. In this paper, we introduce code-switching red-teaming (CSRT), a simple yet effective red-teaming technique that simultaneously tests multilingual understanding and safety of LLMs. We release the CSRT dataset, which comprises 315 code-switching queries combining up to 10 languages and eliciting a wide range of undesirable behaviors. Through extensive experiments with ten state-of-the-art LLMs, we demonstrate that CSRT significantly outperforms existing multilingual red-teaming techniques, achieving 46.7% more attacks than existing methods in English. We analyze the harmful responses toward the CSRT dataset concerning various aspects under ablation studies with 16K samples, including but not limited to scaling laws, unsafe behavior categories, and input conditions for optimal data generation. Additionally, we validate the extensibility of CSRT, by generating code-switching attack prompts with monolingual data.

Citation

If you find the dataset useful, please cite the following work:

@article{yoo2024csrt,
  title={CSRT: Evaluation and Analysis of LLMs using Code-Switching Red-Teaming Dataset},
  author={Yoo, Haneul and Yang, Yongjin and Lee, Hwaran},
  journal={arXiv preprint arXiv:2406.15481},
  year={2024}
}

README history 5 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2024-10-18Update README.md70175722.3 KB
    Loading...
  2. 2024-08-09Update README.md942fc4a2.3 KB
    Loading...
  3. 2024-08-09Update README.md82161e2435 B
    Loading...
  4. 2024-08-09Upload dataset9644c46343 B
    Loading...
  5. 2024-08-09initial commite57af4c0 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 1 thread · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2024-08-10PRLibrarian Bot: Add language metadata for datasetclosed1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("walledai/CSRT")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="walledai/CSRT", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/walledai/CSRT
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration