extract 0 0 0

amelialam/subtext-safety-probes

published by @amelialam

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
124
Last 30 days
14
Likes
-
Size
2.2 MB
Created on HF
2026-05-10
Age
5 months ago

Description

Subtext Safety Probes

A dataset of 26,724 prompts labeled for AI safety research, designed for training classifiers and representation probes that detect disguised harmful intent — harmful requests hidden behind fiction, poetry, roleplay, academic framing, and other stylistic masks.

Dataset Summary

Split

Samples

Train

21,379

Validation

2,672

Test

2,673

Harmful: 18,369 (68.7%)

Benign: 8,355 (31.3%)

Schema

Each row contains:… See the full description on the dataset page: https://huggingface.co/datasets/amelialam/subtext-safety-probes.

Tags

task_categories:text-classificationlanguage:enlicense:apache-2.0size_categories:10K<n<100Kformat:parquetformat:optimized-parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:ussafetyai-safetyjailbreak-detectionprompt-injectionadversarialrepresentation-probing

README current version from Hugging Face


language:

  • en
    license: apache-2.0
    size_categories:
  • 10K<n<100K
    task_categories:
  • text-classification
    tags:
  • safety
  • ai-safety
  • jailbreak-detection
  • prompt-injection
  • adversarial
  • representation-probing
    pretty_name: Subtext Safety Probes

Subtext Safety Probes

A dataset of 26,724 prompts labeled for AI safety research, designed for training classifiers and representation probes that detect disguised harmful intent — harmful requests hidden behind fiction, poetry, roleplay, academic framing, and other stylistic masks.

Dataset Summary

Split Samples
Train 21,379
Validation 2,672
Test 2,673
  • Harmful: 18,369 (68.7%)
  • Benign: 8,355 (31.3%)

Schema

Each row contains:

Field Type Description
prompt string The user prompt text
harmful bool Whether the prompt contains harmful intent
category string Harm category (see below)
style string Stylistic framing: direct, fiction, poetry, roleplay, academic, historical, theological, metaphor
source string Origin dataset or synthetic_category_gen for LLM-generated examples
sub_topic string or null Finer-grained topic (for synthetic examples)

Harm Categories

Category Count Description
prompt_injection 14,209 Jailbreak attempts, role hijacking, system extraction
benign 8,355 Safe, non-harmful prompts
other_harmful 1,437 General harmful instructions
hate 562 Hate speech, discrimination
theft 427 Theft, burglary
violence 400 Physical harm, assault, weapons
disinfo 289 Disinformation, propaganda
drugs 285 Illegal substances
privacy 240 Doxxing, surveillance, stalking
sexual 124 Sexual exploitation
self_harm 105 Self-harm, suicide
terrorism 94 Terrorism, extremism
fraud 85 Financial fraud, scams
cyber 85 Hacking, malware
child_abuse 27 Child exploitation

Style Distribution

The majority of samples (25,752) are in direct style — explicit harmful or benign prompts. An additional 972 synthetic examples were generated across 7 disguised styles to support style-invariant safety detection:

fiction (138) · poetry (132) · roleplay (144) · academic (132) · historical (144) · theological (138) · metaphor (144)

Sources

Aggregated and deduplicated from multiple public safety datasets:

  • Neuralchemy Prompt Injection Threat Matrix
  • jackhhao/jailbreak-classification
  • JailbreakBench JBB-Behaviors
  • EasyJailbreak (AdvBench, ForbiddenQuestion, MaliciousInstruct)
  • PKU-Alignment BeaverTails
  • rubend18/ChatGPT-Jailbreak-Prompts
  • Synthetic style-transfer examples generated via Claude Sonnet

Usage

from datasets import load_dataset

ds = load_dataset("amelialam/subtext-safety-probes")

# Binary classification
for example in ds["train"]:
    text = example["prompt"]
    label = example["harmful"]  # True / False

# Filter by style
disguised = ds["test"].filter(lambda x: x["style"] != "direct")

Intended Use

  • Training and evaluating safety classifiers
  • Representation probing research (extracting safety signals from LLM internal activations)
  • Benchmarking robustness of safety filters against style-disguised attacks
  • Studying how harmful intent transfers across literary/rhetorical framings

Limitations

  • Synthetic style-transfer examples were generated by a single LLM and may not capture the full diversity of real adversarial attacks
  • Category distribution is imbalanced (heavy on prompt injection)
  • Style-transferred examples are concentrated in 12 harm categories × 7 styles — not exhaustive
  • The harmful label reflects the intent of the prompt, not whether the prompt would actually succeed in eliciting harmful output from a model

License

Apache 2.0

README history 3 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. 2026-05-10Upload README.md with huggingface_hub4fb92f93.9 KB
    Loading...
  2. 2026-05-10Upload dataset26074ff669 B
    Loading...
  3. 2026-05-10initial commit604b0350 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 open · 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. 2026-05-11[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
apache-2.0

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