abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

walledai/CSRT

published by @walledai

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:text-generationsize_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polars +4 more
Lifetime downloads
1.3K
Last 30 days
60
Likes
-
Size
50.0 KB

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.

Structure 1 config · from the README front matter1 subset, from the author's description

default default 315 rows
SplitPartRowsSize
train 315 65.4 KB
FeaturesFields
promptstring originalstring harmslist<string>
Data files
train data/train-*

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

Created on HFCreated
2024-08-09 · 2 years ago
Size category
n<1K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
50.0 KB
Files
3
Formats
parquet
Head
7017572
Last updated on HFLast updated
2024-10-18

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("walledai/CSRT")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="walledai/CSRT", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/walledai/CSRT

Files by folder from our last crawlfrom our last check

top level 2 files 4.8 KB
.gitattributes 2.4 KB file download
README.md 2.4 KB md download
data/ 1 file 45.2 KB
train-00000-of-00001.parquet 45.2 KB parquet download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

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 historyEdit history 5 revisions5 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2024-10-18 Update README.md 7017572 2.3 KB
    Loading...
  2. 2024-08-09 Update README.md 942fc4a 2.3 KB
    Loading...
  3. 2024-08-09 Update README.md 82161e2 435 B
    Loading...
  4. 2024-08-09 Upload dataset 9644c46 343 B
    Loading...
  5. 2024-08-09 initial commit e57af4c 0 B
    Loading...

Community discussions 1 thread · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2024-08-10 PR Librarian Bot: Add language metadata for dataset closed 1 💬 #1
    Loading...
Download from Hugging Face

walledai/CSRT

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration