extract 0 0 0

Bravansky/compact-jailbreaks

published by @Bravansky

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2K
Last 30 days
139
Likes
5
Size
442.5 MB
Created on HF
2025-02-10
Age
1 years ago

Description

Dataset Featurization: Extracting Compact Jailbreaks

This repository contains the datasets used in our case study on extracting compact representations of jailbreak tactics, demonstrating how our unsupervised featurization pipeline can effectively compress large sets of adversarial prompts while maintaining their effectiveness and diversity.

Featurization - WildTeaming

Access both the input dataset from WildTeaming and the evaluation stage outputs containing… See the full description on the dataset page: https://huggingface.co/datasets/Bravansky/compact-jailbreaks.

Tags

task_categories:feature-extractiontask_ids:language-modelinglanguage:enlicense:mitsize_categories:100K<n<1Mformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2406.18510region:us

README current version from Hugging Face


pretty_name: Dataset Featurization
language:

  • en
    license:
  • mit
    task_categories:
  • feature-extraction
    task_ids:
  • language-modeling
    configs:
    • config_name: llama
      data_files:
      • split: train
        path: data/llama/train.csv
    • config_name: llama-evaluation
      data_files:
      • split: train
        path: data/llama-evaluation/train.csv
    • config_name: wildteaming
      data_files:
      • split: train
        path: data/wildteaming/train.csv
    • config_name: wildteaming-evaluation
      data_files:
      • split: train
        path: data/wildteaming-evaluation/train.csv
    • config_name: attacks
      data_files:
      • split: train
        path: data/attacks/train.csv

Dataset Featurization: Extracting Compact Jailbreaks

This repository contains the datasets used in our case study on extracting compact representations of jailbreak tactics, demonstrating how our unsupervised featurization pipeline can effectively compress large sets of adversarial prompts while maintaining their effectiveness and diversity.

Featurization - WildTeaming

Access both the input dataset from WildTeaming and the evaluation stage outputs containing candidate features and their binary valuations:

import datasets
text_df = load_dataset("Bravansky/compact-jailbreaks", "wildteaming", split="train").to_pandas()
evaluation_df = load_dataset("Bravansky/compact-jailbreaks", "wildteaming-evaluation", split="train").to_pandas()

Featurization - LLama

Access our refined dataset containing Llama 3.1 8B Instruct non-refusals (filtered using WildGuard) and corresponding evaluation stage outputs with feature valuations:

import datasets
text_df = load_dataset("Bravansky/compact-jailbreaks", "llama", split="train").to_pandas()
evaluation_df = load_dataset("Bravansky/compact-jailbreaks", "llama-evaluation", split="train").to_pandas()

Evaluation

We provide comprehensive testing data showing how our final extracted features perform across different models. The dataset includes generated jailbreaks and model responses for feature set sizes ranging from 5 to 50, tested against standard HarmBench queries on GPT-4o, Gemini 1.5 Flash, and Llama 3.1 8B Instruct:

import datasets
attacks_df = load_dataset("Bravansky/compact-jailbreaks", "attacks", split="train").to_pandas()

README history 7 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. 2025-02-17README updatedfdfb5b92.4 KB
    Loading...
  2. 2025-02-10Attacks renamedff66689900 B
    Loading...
  3. 2025-02-10attacks added5155616900 B
    Loading...
  4. 2025-02-10README updated6603e86900 B
    Loading...
  5. 2025-02-10LFS added12b667f729 B
    Loading...
  6. 2025-02-10Compact jailbreaks added58b0240729 B
    Loading...
  7. 2025-02-10initial commit8c092940 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.

Related datasets same stage · extract

Read further

Metadata

License
mit

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("Bravansky/compact-jailbreaks")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Bravansky/compact-jailbreaks", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Bravansky/compact-jailbreaks
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