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.

andyc03/latent-policy-guard-40k

published by @andyc03

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

task_categories:text-classificationlanguage:enlicense:othersize_categories:10K<n<100Kformat:jsonmodality:textlibrary:datasetslibrary:pandas +10 more
Lifetime downloads
449
Last 30 days
75
Likes
3
Size
118.0 MB

Description

Latent Policy Guard — Training Set (40k)

This is the training distribution for Latent Policy Guard (LPG) — a guardrail model that

performs semantic latent deliberation over dynamic safety policies. Each record pairs an

indexed policy list and a content snippet with teacher-grounded reasoning over the user's

intent and the risk of policy violation, terminating in a compact verdict anchored to

violated policy indices.

📄 Paper: LPG: Balancing Efficiency and Policy Reasoning in… See the full description on the dataset page: https://huggingface.co/datasets/andyc03/latent-policy-guard-40k.

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

default default
Data files
train train_data_lpg_40k.jsonl

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
2026-06-05 · 6 months ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant
ArXivPaper

Related datasets same stage · Miscsame step · Other

Read further

Total size
118.0 MB
Files
3
Formats
jsonl
Head
9bc1980
Last updated on HFLast updated
2026-06-05

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

Files by folder from our last crawlfrom our last check

top level 3 files 118.0 MB
.gitattributes 2.6 KB file download
README.md 5.7 KB md download
train_data_lpg_40k.jsonl 118.0 MB jsonl download

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

Latent Policy Guard — Training Set (40k)

This is the training distribution for Latent Policy Guard (LPG) — a guardrail model that
performs semantic latent deliberation over dynamic safety policies. Each record pairs an
indexed policy list and a content snippet with teacher-grounded reasoning over the user's
intent and the risk of policy violation, terminating in a compact verdict anchored to
violated policy indices.

Intended use

This dataset is the training set for the LPG guardrail model. It is meant to be consumed by
the training pipeline in the Latent Policy Guard repository:

# in the LPG repo
cd training
hf download andyc03/latent-policy-guard-40k train_data_lpg_40k.jsonl \
    --repo-type dataset --local-dir data

MODEL_PATH=Qwen/Qwen3-4B \
DATA_PATH=data/train_data_lpg_40k.jsonl \
NUM_GPUS=4 \
bash scripts/train.sh

See the repository README for the full training and evaluation instructions.

Schema

Each line is one JSON object:

{
  "annotation_input":    "**Safety policies (indexed from 0):**\n0: ...\n1: ...\n**Content to evaluate:**\n<content>",
  "generated_reasoning": "<Intent>...</Intent>\n\n<Risk>...</Risk>\n\n<Output>unsafe, policy 0</Output>",
  "teacher_summaries":   {"intent_summary": "<IntentSummary>...</IntentSummary>", "risk_summary": "<RiskSummary>...</RiskSummary>"}
}

The verdict in <Output> is safe or unsafe, policy N1, N2, ..., where indices refer to the
per-record annotation_input policy list.

Composition

Source Origin Records Safe / Unsafe
DynaBench montehoover/DynaBench (policy-grounded) 13,500 5,726 / 7,774
GuardSet-X AI-Secure/PolyGuard (policy-grounded, structured by subdomain) 7,491 3,796 / 3,695
BeaverTails PKU-Alignment/BeaverTails 8,600 4,300 / 4,300
Aegis v2 nvidia/Aegis-AI-Content-Safety-Dataset-2.0 5,000 2,500 / 2,500
SaladBench OpenSafetyLab/Salad-Data (attack-enhanced split) 3,000 0 / 3,000
Toxic-Chat lmsys/toxic-chat (toxicchat0124) 2,000 1,616 / 384
XSTest v2 natolambert/xstest-v2-copy (over-refusal hard negatives) 450 250 / 200
Total 40,041 18,188 / 21,853

The policy-grounded portion (DynaBench + GuardSet-X = 20,991) supplies canonical
user–policy–conversation triples. The general-guardrail portion (19,050) draws from five
public safety datasets, normalized into the same indexed-policy schema with per-example
randomized policy lists. Multi-violation records: 3,374 (8.4%); mean 0.66 violations/record.

How it was built

Two-stage curation: (1) deterministic source→schema templating that pins each record's
safe/unsafe label and violated-policy indices to the source dataset's own ground truth;
(2) a content-aware teacher LLM (qwen3-32b) that rewrites the <Intent>/<Risk>/<Output>
reasoning conditioned on that ground truth. On the policy-grounded portion the verdict and
cited indices match source ground truth exactly; on the general portion the teacher rewrite
preserves the source verdict in ~99% of records, with minor policy-citation drift on borderline
items. Curation principles: taxonomy normalization, per-example policy-list synthesis, and
teacher-grounded reasoning generation.

Source datasets & attribution

This dataset is derived from, and redistributes reformatted records from, the following
sources. Please cite the originals and comply with each source's license:

Licensing

Released as a derived collection under license: other. The dataset inherits the licenses of
its constituent sources, including non-commercial (CC-BY-NC-4.0) components (BeaverTails,
Toxic-Chat). Treat the combined dataset as research / non-commercial use only, and consult
each source's original license before any redistribution or commercial use. The LPG code itself
is MIT-licensed (see the GitHub repository).

Citation

@misc{li2026lpgbalancingefficiencypolicy,
      title={LPG: Balancing Efficiency and Policy Reasoning in Latent Policy Guardrails},
      author={Nanxi Li and Zhengyue Zhao and Chaowei Xiao},
      year={2026},
      eprint={2605.17329},
      archivePrefix={arXiv},
      primaryClass={cs.CR},
      url={https://arxiv.org/abs/2605.17329},
}

README historyEdit history 4 revisions4 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-05 Fix source-dataset links: DynaBench (montehoover/DynaBench), GuardSet-X (AI-S... 9bc1980 5.6 KB
    Loading...
  2. 2026-06-05 Add dataset card 0f2f4ea 5.6 KB
    Loading...
  3. 2026-06-05 Add LPG 40k training set (cleaned: training fields only) 9b0e1ee 0 B
    Loading...
  4. 2026-06-05 initial commit 92ab4e2 0 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. 2026-06-06 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

andyc03/latent-policy-guard-40k

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