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.

dleemiller/CrossingGuard-NLI

published by @dleemiller

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-classificationtask_categories:feature-extractiontask_categories:sentence-similaritytask_ids:natural-language-inferencemultilinguality:monolinguallanguage:enlicense:othersize_categories:1M<n<10M +12 more
Lifetime downloads
774
Last 30 days
185
Likes
-
Size
388.6 MB

Description

CrossingGuard NLI

CrossingGuard is the author's family of datasets that phrase content-safety questions as natural language inference. Here the premise is a request sent to an AI assistant (harmful, jailbreak-framed or benign), and the hypothesis is a statement about the request or the content it asks for: who is targeted, their age, whether they are real or fictional, what the output would let someone do, and the real ask behind a role-play or "hypothetical" wrapper. The… See the full description on the dataset page: https://huggingface.co/datasets/dleemiller/CrossingGuard-NLI.

Structure 5 configs · from the README front matter5 subsets, from the author's description

v1
Data files
train v1/train*
test v1/test*
v1_all
Data files
train v1_all/train*
test v1_all/test*
decisions
Data files
train decisions/train*
test decisions/test*
v0
Data files
train v0/train*
test v0/test*
validation v0/validation*
v0_distill
Data files
train v0_distill/train*
test v0_distill/test*
validation v0_distill/validation*

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
other
Language
en
Created on HFCreated
2025-10-17 · 1 years ago
Size category
1M<n<10M
ModalitiesData types
tabulartext
Formats
parquet
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
388.6 MB
Files
14
Formats
parquet
Head
8df0d12
Last updated on HFLast updated
2026-11-22

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

Files by folder from our last crawlfrom our last check

top level 2 files 11.6 KB
.gitattributes 2.5 KB file download
README.md 9.1 KB md download
decisions/ 2 files 40.9 MB
test.parquet 1.9 MB parquet download
train.parquet 39.0 MB parquet download
v0/ 3 files 161.8 MB
test.parquet 2.1 MB parquet download
train.parquet 158.1 MB parquet download
validation.parquet 1.5 MB parquet download
v0_distill/ 3 files 154.5 MB
test.parquet 1.1 MB parquet download
train.parquet 152.6 MB parquet download
validation.parquet 764.5 KB parquet download
v1/ 2 files 13.3 MB
test.parquet 614.7 KB parquet download
train.parquet 12.7 MB parquet download
v1_all/ 2 files 18.1 MB
test.parquet 796.9 KB parquet download
train.parquet 17.3 MB parquet download

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

CrossingGuard NLI

CrossingGuard is the author's family of datasets that phrase content-safety questions as natural language inference. Here the premise is a request sent to an AI assistant (harmful, jailbreak-framed or benign), and the hypothesis is a statement about the request or the content it asks for: who is targeted, their age, whether they are real or fictional, what the output would let someone do, and the real ask behind a role-play or "hypothetical" wrapper. The data is meant for building and evaluating safety classifiers. The requests include harmful and jailbreak content by design.

label meaning
entailment (0) the request says or asks for it
neutral (1) the request neither says it nor rules it out
contradiction (2) the request rules it out
config train test notes
v1 44,584 2,358 regenerated hypotheses, filtered (recommended)
v1_all 70,970 3,747 every selected v1 row, with in_default and excluded_reason
decisions 103,921 5,503 direct safety decisions from human labels (2-way)
v0 384,838 5,397 original release (earlier version, superseded by v1; see below); also has a 3,551-row validation split
v0_distill 384,838 5,397 original release, distillation variant (same row counts as v0, with a 3,551-row validation split)

v1

Requests come from WildGuardMix (train) and Aegis 2.0 (train): 22,467 requests, 59% harmful, 30% adversarial benign (harmless requests that look like jailbreaks) and 11% plain benign. Train and test share no request.

How it was built:

  1. Hypotheses. Qwen3.8-27B with a capped thinking budget wrote matched triples per request: one statement entailed, one contradicted and one left open on the same safety attribute. The writing prompt was tuned with GEPA (an automatic prompt-optimisation method, Agrawal et al., 2025). A mechanical filter removed meta wording, label-revealing words, fragments and near-duplicates.
  2. Labels. A second, blind Qwen3.8-27B pass (it did not see the first label) labelled every statement. Rows where both passes agree are kept. Disagreements are resolved by AbsoluteZero-nli-9b (the author's NLI model built on a 9-billion-parameter language model, used here as an automatic label checker; "AZ" below) when it is at least 90% confident. Rows where AZ confidently disputes a label the two passes agreed on went to deepseek-v4.1-flash (4 samples): unanimous agreement with AZ relabels the row, unanimous agreement with the original keeps it, and a split drops it.
  3. Wording. About a third of the hypotheses were rewritten into plainer wording at the same meaning. A rewrite is kept only if AZ's probabilities for the pair move by at most 0.05. hypothesis_original keeps the first wording.
  4. Annotation-artifact filtering. A "grouped" classifier that sees only the hypothesis is held to at most 0.10 accuracy above the majority-label rate (0.076 on v1), so the hypothesis wording alone does not give the label away.

An audit of v1 by a language model (Claude Sonnet) reading rows without seeing the labels, not by human annotators, agreed with the labels on about 90% of rows overall and 98-100% of rows the auditor judged unambiguous. Statements about attributes the request never mentions (age, real or fictional, legal status) are the most frequent source of ambiguity.

Fields

  • premise, hypothesis, label, label_text
  • request_type: harmful, adversarial_benign (harmless but jailbreak-looking) or benign (plain), from the source dataset's labels
  • premise_source (wildguardmix, aegis2) and license
  • on_topic: the statement is about one of the safety attributes above. It is kept as metadata; off-topic statements are valid NLI pairs too.
  • resolution: how the label was settled. generator+verifier: the two Qwen passes agreed; az9b: AZ settled a disagreement; az9b+deepseek: the DeepSeek vote settled a case where AZ disputed an agreed label.
  • hypothesis_original: the hypothesis before the plainer-wording rewrite; rephrased: whether the row was rewritten.
  • v1_all adds gen_label (label from the generating Qwen pass), v_label (label from the blind Qwen pass), az_pred and az_conf (AZ's predicted class and probability), az_flag (true where AZ, with probability of 0.9 or more, disagrees with a label that the generating and blind Qwen passes agreed on; 368 rows), in_default (whether the row is in v1), excluded_reason (why a row was left out of v1: hyp_only_gate = removed so that the hypothesis alone does not predict the label; arbitration_split = the checkers could not agree) and two review flags: flag_high_overlap_entailment (an entailed hypothesis that repeats most of the premise's words; 102 rows) and flag_possible_non_request (the premise may not be a request at all; 1,310 rows).

decisions

Direct safety verdicts posed as two-way NLI (entailment 0 / not_entailment 1), from the source datasets' own labels. Three hypothesis wordings per decision:

kind premise example hypothesis rows
harmful the request "This request is harmful." 84,002
refusal Query: ... + Response: ... "The response is a refusal." 11,724
resp_harm Query: ... + Response: ... "The response contains harmful content." 10,258
injection system prompt + user message "This is a prompt injection attempt." 3,440

Sources: WildGuardMix train (ODC-BY 1.0), Aegis 2.0 train (CC BY 4.0) and SPML prompt injection (MIT); premise_source and license per row. Test holds 5% of premises, none shared with train. The WildGuard test set (WildGuardTest) is not included.

Trained together with v1 as an add-on to a FineCat NLI model (FineCat is the author's family of NLI cross-encoders), decisions raised AUROC for "is this prompt harmful" on WildGuardTest from 0.83 to 0.95 and cut missed harmful jailbreak prompts from 75% to 20%.

v0

The original release: LLM-written hypotheses about safety prompts (mostly WildGuardMix, plus Aegis, JailbreakV and AyaRedTeaming), with cross-encoder, LLM and arbiter labels. v0_distill is a subset of it.

License

Requests keep the license of their source: WildGuardMix (ODC-BY 1.0), Aegis 2.0 (CC BY 4.0). The v1 hypotheses are released under CC BY 4.0. The license column gives each row's terms. The requests include harmful and jailbreak content by design; use this data for building safety classifiers and evaluation.

Citation

@misc{miller2026crossingguardnli,
  author = {Miller, D. Lee},
  title = {CrossingGuard NLI},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/dleemiller/CrossingGuard-NLI}}
}

README historyEdit history 14 revisions14 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-11-22 Card: remaining undefined terms and figures filled in from the build records 8df0d12 8.9 KB
    Loading...
  2. 2026-11-22 Card rewritten for outside readers: project terms defined, audits described a... 02a7a63 8.3 KB
    Loading...
  3. 2026-11-20 Add decisions config (direct safety decisions from WildGuardMix / Aegis 2.0 /... 700fe86 7.1 KB
    Loading...
  4. 2026-11-20 Add v1 (regenerated hypotheses, Qwen3.8-27B + AZ-9B/DeepSeek label resolution... 6914121 5.9 KB
    Loading...
  5. 2025-11-03 Update README.md 494e2b2 1.7 KB
    Loading...
  6. 2025-11-03 Upload folder using huggingface_hub a24b0fc 1.5 KB
    Loading...
  7. 2025-10-17 Update README.md e99eadb 1.5 KB
    Loading...
  8. 2025-10-17 Update README.md bb126b8 1.3 KB
    Loading...
  9. 2025-10-17 Update README.md 6df59c9 679 B
    Loading...
  10. 2025-10-17 Upload folder using huggingface_hub 95efc05 640 B
    Loading...
  11. 2025-10-17 Update README.md 87093ae 640 B
    Loading...
  12. 2025-10-17 Update README.md ab1b8f3 460 B
    Loading...
  13. 2025-10-17 Upload folder using huggingface_hub e01d1de 24 B
    Loading...
  14. 2025-10-17 initial commit ccef269 24 B
    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. 2025-11-04 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

dleemiller/CrossingGuard-NLI

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