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.

jackhhao/jailbreak-classification

published by @jackhhao

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-classificationlanguage:enlicense:apache-2.0size_categories:1K<n<10Kformat:csvmodality:textlibrary:datasetslibrary:pandas +6 more
Lifetime downloads
71.5K
Last 30 days
5.9K
Likes
96
Size
7.6 MB

Description

Jailbreak Classification

Dataset Summary

Dataset used to classify prompts as jailbreak vs. benign.

Dataset Structure

Data Fields

prompt: an LLM prompt

type: classification label, either jailbreak or benign

Dataset Creation

Curation Rationale

Created to help detect & prevent harmful jailbreak prompts when users interact with LLMs.

Source Data

Jailbreak prompts sourced from:… See the full description on the dataset page: https://huggingface.co/datasets/jackhhao/jailbreak-classification.

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

default default
Data files
train balanced/jailbreak_dataset_train_balanced.csv
test balanced/jailbreak_dataset_test_balanced.csv

Used by uncensored models 5 in catalog

Models in our catalog that declare this dataset in their YAML `datasets:` field. Sorted by downloads. This back-reference is unique to abliteration.org: Hugging Face does not surface it.Models in our catalog whose page lists this dataset as training data. Most downloaded first. Hugging Face does not show this list.

MetadataDetails

License
apache-2.0
Language
en
Created on HFCreated
2023-09-29 · 3 years ago
Size category
1K<n<10K
ModalitiesData types
text
Formats
csv
LibrariesTools
datasetspandasmlcroissantpolars

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
7.6 MB
Files
8
Formats
csv
Head
2f2ceeb
Last updated on HFLast updated
2023-09-30

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("jackhhao/jailbreak-classification")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="jackhhao/jailbreak-classification", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/jackhhao/jailbreak-classification

Files by folder from our last crawlfrom our last check

top level 2 files 3.3 KB
.gitattributes 2.3 KB file download
README.md 988 B md download
balanced/ 3 files 3.4 MB
jailbreak_dataset_full_balanced.csv 1.7 MB csv download
jailbreak_dataset_test_balanced.csv 370.0 KB csv download
jailbreak_dataset_train_balanced.csv 1.3 MB csv download
default/ 3 files 4.3 MB
jailbreak_dataset_full.csv 2.1 MB csv download
jailbreak_dataset_test.csv 453.4 KB csv download
jailbreak_dataset_train.csv 1.7 MB csv download

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

Jailbreak Classification

Dataset Summary

Dataset used to classify prompts as jailbreak vs. benign.

Dataset Structure

Data Fields

  • prompt: an LLM prompt
  • type: classification label, either jailbreak or benign

Dataset Creation

Curation Rationale

Created to help detect & prevent harmful jailbreak prompts when users interact with LLMs.

Source Data

Jailbreak prompts sourced from: https://github.com/verazuo/jailbreak_llms

Benign prompts sourced from:

README historyEdit history 6 revisions6 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. 2023-09-30 Remove unused field in dataset card 2f2ceeb 988 B
    Loading...
  2. 2023-09-30 Add dataset viewer config 20f918c 1.1 KB
    Loading...
  3. 2023-09-30 Initialize dataset card be9cd7e 914 B
    Loading...
  4. 2023-09-30 Add balanced jailbreak dataset 8e39c9f 28 B
    Loading...
  5. 2023-09-30 Add imbalanced jailbreak dataset e7e7f10 28 B
    Loading...
  6. 2023-09-30 initial commit be66395 28 B
    Loading...

Community discussions 2 threads · 2 open · 3 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-10-05 🚀 Nice Project! open 1 💬 #2
    Loading...
  2. 2023-10-01 Notifications from Datasets Server open 2 💬 #1
    Loading...
Download from Hugging Face

jackhhao/jailbreak-classification

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