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.

vvsd-charan/safety_aligned_datasets

published by @vvsd-charan

Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.

task_categories:text-generationtask_ids:text2text-generationlanguage:enlicense:cc-by-4.0size_categories:10K<n<100Kformat:csvmodality:textlibrary:datasets +6 more
Lifetime downloads
402
Last 30 days
84
Likes
-
Size
48.3 MB

Description

Safety Aligned Datasets

A high-fidelity adversarial corpus engineered for alignment research, refusal boundary modeling, and robustness evaluation of Small Language Models.

The Problem This Solves

Fine-tuning a Small Language Model to be safe is not the same as fine-tuning it to understand safety.

Most safety datasets give models clean refusal examples on obvious prompts — and those models fail the moment an adversary wraps a harmful request in a… See the full description on the dataset page: https://huggingface.co/datasets/vvsd-charan/safety_aligned_datasets.

Structure 9 configs · from the README front matter9 subsets, from the author's description

default
Data files
harmful beavertails_unsafe_vllm.csv, donot_answer_vllm.csv, forbidden_questions_vllm.csv, harmfulqa_vllm.csv, llm_redteaming_vllm.csv, synthetic_harmful_prompts_vllm.csv, prompt_injection_unsafe_vllm.csv
safe prompt_injection_safe_vllm.csv
beavertails
Data files
harmful beavertails_unsafe_vllm.csv
donot_answer
Data files
harmful donot_answer_vllm.csv
forbidden_questions
Data files
harmful forbidden_questions_vllm.csv
harmfulqa
Data files
harmful harmfulqa_vllm.csv
llm_redteaming
Data files
harmful llm_redteaming_vllm.csv
synthetic_harmful_prompts
Data files
harmful synthetic_harmful_prompts_vllm.csv
prompt_injection_unsafe_vllm
Data files
harmful prompt_injection_unsafe_vllm.csv

1 more config in the README on the Community tab.1 more subset in the author's description.

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

License
cc-by-4.0
Language
en
Created on HFCreated
2026-02-09 · 10 months ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
csv
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Miscsame step · Other

Read further

Total size
48.3 MB
Files
10
Formats
csv
Head
a851049
Last updated on HFLast updated
2026-06-06

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

Files by folder from our last crawlfrom our last check

top level 10 files 48.3 MB
.gitattributes 2.7 KB file download
beavertails_unsafe_vllm.csv 25.3 MB csv download
donot_answer_vllm.csv 1.6 MB csv download
forbidden_questions_vllm.csv 741.1 KB csv download
harmfulqa_vllm.csv 3.7 MB csv download
llm_redteaming_vllm.csv 1.2 MB csv download
prompt_injection_safe_vllm.csv 5.6 MB csv download
prompt_injection_unsafe_vllm.csv 3.2 MB csv download
README.md 10.6 KB md download
synthetic_harmful_prompts_vllm.csv 6.9 MB csv download

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

Safety Aligned Datasets

A high-fidelity adversarial corpus engineered for alignment research, refusal boundary modeling, and robustness evaluation of Small Language Models.

License: CC-BY-4.0 Harmful Split Safe Split Configs: 8 Engine: vLLM


The Problem This Solves

Fine-tuning a Small Language Model to be safe is not the same as fine-tuning it to understand safety.

Most safety datasets give models clean refusal examples on obvious prompts — and those models fail the moment an adversary wraps a harmful request in a hypothetical, a role-play, or a chain of plausible reasoning. The failure is not in the refusal mechanism. It is in the coverage gap: the model has never been exposed to the attack surface it will actually face in deployment.

This dataset was built to close that gap — and to go further. Because alignment is not just about refusal. It is about teaching a model to handle adversarial manipulation at the system level, including direct attacks on its own instruction context.


Dataset Structure

This corpus contains eight configurations across two splits.

The default config combines all files and exposes both splits simultaneously — useful for full-dataset training runs. The individual named configs allow subset-level access for targeted experiments.


Splits

harmful — Unsafe Behavior Across Seven Configurations

Each configuration under this split targets a different failure mode in model alignment.


beavertails

Covers the canonical safety meta-categories — violence, hate speech, self-harm — drawn from one of the most widely cited safety benchmarks in the field. Provides a principled baseline across well-defined harm taxonomies, making it the right starting point for calibrating a model's refusal behavior before moving to more complex attack classes.


donot_answer

Prompts mapped to a structured AI safety evaluation framework. Best suited for benchmarking against established refusal rubrics and tracking alignment progress across model versions in a reproducible, framework-aligned way.


forbidden_questions

The most adversarially complex configuration in the harmful split. Prompts rely on fictional framing, nested hypotheticals, and philosophical edge cases — exactly where naive keyword-based safety mechanisms consistently break down. A model that handles this configuration well has learned to reason about intent, not just surface form.


harmfulqa

Query-style harmful inputs that closely mimic how real users phrase requests. Risk vectors span multiple domains, making this subset particularly important for models deployed in open-ended conversational settings where the adversarial signal is subtle.


llm_redteaming

Empirical jailbreaks sourced from public and academic red-teaming exercises. These are prompts that have already succeeded against deployed models in the wild. A model that has not seen this class of attack is likely to fail it.


synthetic_harmful_prompts

Adversarially generated expansions designed to simulate novel, unseen attack patterns. Unlike the empirical configurations above, this subset pushes models to generalize safe behavior rather than recall seen examples — the closer approximation of real-world robustness.


prompt_injection_unsafe_vllm

Targets prompt injection attacks — attempts to override or hijack system-level instructions through crafted user inputs. This is a distinct and increasingly critical threat class in agentic and tool-augmented LLM deployments, where user input reaches the inference context alongside a privileged system prompt. Most general-purpose safety datasets do not cover this class at all.


safe — Correct Behavior Under Adversarial Pressure

prompt_injection_safe_vllm

The structural counterpart to prompt_injection_unsafe_vllm. These records show the model correctly maintaining its intended behavior under injection pressure — ignoring override instructions and staying within its sanctioned boundaries. In a DPO or contrastive SFT setup, these serve as the chosen side of the preference pair, with the unsafe configuration providing the rejected side.


How to Use This Dataset

Supervised Fine-Tuning

Each adversarial prompt and its model-generated response can be paired with a curated safe response to create contrastive training examples. The model learns not just what to refuse, but how to refuse in a way that is polite, reasoned, and non-dismissive.

Direct Preference Optimization

The (prompt, safety_res, model) triplet maps naturally onto DPO's chosen/rejected framework. The safety_res field provides the baseline behavior to treat as the rejected sample, paired against a verified chosen response. For prompt injection specifically, prompt_injection_unsafe_vllm and prompt_injection_safe_vllm form a ready-made contrastive pair with no additional annotation overhead.

False-Refusal Calibration

Over-refusal is an alignment failure too. Configurations like forbidden_questions and harmfulqa include borderline inputs that use sensitive keywords in genuinely benign contexts. Training on these teaches a model to reason about intent rather than pattern-match on surface signals.

Prompt Injection Robustness

With LLMs increasingly deployed in agentic workflows, RAG pipelines, and tool-use environments, resistance to instruction hijacking is no longer optional. The injection split pair directly addresses this gap for any model operating in a multi-context deployment setting.


Adversarial Technique Reference

The prompts across all configurations cover four primary attack classes.

Role-Play Frameworks
Instructions that force the model into an alternate persona — developer mode, uncensored assistant, fictional AI with no restrictions. These exploit the model's instruction-following strength directly against its safety constraints.

Hypothetical Contextualization
Harmful requests embedded inside academic thought experiments, historical framing, or fictional narratives. The surface text appears benign; the information being sought is not.

Linguistic Obfuscation
Multi-turn logical chains, domain jargon, and structural misdirection designed to bypass keyword filters and confuse intent classifiers. These require the model to reason about the trajectory of a conversation, not just the final message in isolation.

Prompt Injection
Direct attempts to override system-level instructions through adversarially crafted user inputs. Variants include goal hijacking, prompt leakage, and jailbreak injection. Particularly relevant for RAG systems, tool-augmented agents, and any deployment where user input coexists with a privileged system context.


Generation Pipeline

Base Model  →  TheBloke/Mistral-7B-Instruct-v0.2-AWQ
Engine      →  vLLM (Vectorized LLM inference framework)
Hardware    →  NVIDIA T4 GPU · 16GB VRAM · Google Colab

Why Mistral-7B-Instruct-v0.2-AWQ?
It sits at the intersection of strong instruction-following capability and accessible compute — representative of the exact model class this dataset is designed to align. Responses generated by a model in the same capability tier as the training target produce more realistic and transferable training signal than outputs from a frontier model.

Why vLLM?
Batch processing across eight heterogeneous prompt distributions requires a framework that handles dynamic context lengths without throughput collapse. vLLM's PagedAttention mechanism makes this practical on constrained hardware.


Data Schema

Each record across all configurations contains three fields.

Field Type Description
prompt string The raw adversarial or harmful input instruction, unmodified from its source
safety_res string The response generated by the inference model during the pipeline run
model string The specific model variant used, enabling controlled ablation across response sources

Licensing and Attribution

Upstream data portions — drawn from BeaverTails, DoNotAnswer, HarmfulQA, and associated red-teaming sets — retain their original licenses (CC-BY-SA 4.0, MIT, Apache 2.0). Users are responsible for compliance with each upstream source's terms.

The unified compilation framework and all synthetic responses are released under CC-BY-4.0 for research use.


Disclaimer: This dataset contains explicit, toxic, and adversarial content. It is hosted exclusively to advance the science of AI safety, alignment, and defensive model training. The maintainers do not condone or encourage the execution of any harmful behaviors described within these prompts. Use only in controlled research environments.

README historyEdit history latest 20 of 38 revisionslatest 20 of 38 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. 2026-06-06 Update README.md a851049 10.3 KB
    Loading...
  2. 2026-06-06 Upload prompt_injection_safe_vllm.csv d30983b 9.5 KB
    Loading...
  3. 2026-06-06 Update README.md a7d1c5d 9.5 KB
    Loading...
  4. 2026-06-06 Upload 2 files 44ecafc 8.3 KB
    Loading...
  5. 2026-05-26 Update README.md ba66766 8.3 KB
    Loading...
  6. 2026-05-26 Update README.md ea8512b 5.4 KB
    Loading...
  7. 2026-05-26 Update README.md aab561c 5.7 KB
    Loading...
  8. 2026-05-26 Update README.md e730af9 3.4 KB
    Loading...
  9. 2026-05-26 Upload 6 files f2a485f 3.1 KB
    Loading...
  10. 2026-05-26 Delete synthetic_harmful_prompts_mistral.csv 833ab60 3.1 KB
    Loading...
  11. 2026-05-26 Delete llm_redteaming_dataset_mistral.csv 4589c6c 3.1 KB
    Loading...
  12. 2026-05-26 Delete forbidden_question_mistral.csv 2b5b054 3.1 KB
    Loading...
  13. 2026-05-26 Delete beavertails_unsafe_mistral.csv 575ec42 3.1 KB
    Loading...
  14. 2026-03-11 Update README.md 7a9e6b1 3.1 KB
    Loading...
  15. 2026-03-11 Update README.md 9545a53 2.9 KB
    Loading...
  16. 2026-03-11 Upload 4 files 4d7b859 2.9 KB
    Loading...
  17. 2026-03-11 Delete synthetic_harmful_prompts_mistral.json 392e388 2.9 KB
    Loading...
  18. 2026-03-11 Delete llm_redteaming_dataset_mistral.json 28c9aae 2.9 KB
    Loading...
  19. 2026-03-11 Delete forbidden_question_mistral.json 020ca25 2.9 KB
    Loading...
  20. 2026-03-11 Delete beavertails_unsafe_mistral.json 0efc788 2.9 KB
    Loading...

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, 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. 2026-02-10 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

vvsd-charan/safety_aligned_datasets

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