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.

FaisalHejary/nemotron-safety-guard-embedding

published by @FaisalHejary

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:sentence-similaritysource_datasets:nvidia/Nemotron-Safety-Guard-Dataset-v3language:arlanguage:delanguage:enlanguage:eslanguage:fr +24 more
Lifetime downloads
222
Last 30 days
154
Likes
-
Size
64.9 MB

Description

Nemotron Safety Guard v3 for embedding training

Content warning: this dataset contains harmful, offensive and disturbing text,

including requests for violence, self-harm, hate speech and sexual content, as well as

jailbreak attempts. It is meant for training and evaluating safety classifiers.

Seven tasks for training and evaluating instruction-following embedding models, built

from nvidia/Nemotron-Safety-Guard-Dataset-v3,

which pairs user prompts and assistant responses in 12… See the full description on the dataset page: https://huggingface.co/datasets/FaisalHejary/nemotron-safety-guard-embedding.

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

default default 121,920 rows
SplitPartRowsSize
train 73,987 109.2 MB
validation 21,646 31.5 MB
test 26,287 36.3 MB
FeaturesFields
taskstring query_inststring querystring document_instnull positiveslist<string> negativeslist<string>
Data files
train data/train-*
validation data/validation-*
test data/test-*

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
Languages
ardeenesfrhiitjakonlthzh
Created on HFCreated
2026-11-02 · 1 months ago
Size category
100K<n<1M
ModalitiesData types
text
Formats
parquetoptimized-parquet
LibrariesTools
datasetspandaspolarsmlcroissant
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
64.9 MB
Files
5
Formats
parquet
Head
b5d7bd2
Last updated on HFLast updated
2026-11-02

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

Files by folder from our last crawlfrom our last check

top level 2 files 13.5 KB
.gitattributes 2.5 KB file download
README.md 11.0 KB md download
data/ 3 files 64.9 MB
test-00000-of-00001.parquet 12.8 MB parquet download
train-00000-of-00001.parquet 41.1 MB parquet download
validation-00000-of-00001.parquet 11.0 MB parquet download

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

Nemotron Safety Guard v3 for embedding training

Content warning: this dataset contains harmful, offensive and disturbing text,
including requests for violence, self-harm, hate speech and sexual content, as well as
jailbreak attempts. It is meant for training and evaluating safety classifiers.

Seven tasks for training and evaluating instruction-following embedding models, built
from nvidia/Nemotron-Safety-Guard-Dataset-v3,
which pairs user prompts and assistant responses in 12 languages with safe/unsafe
labels and harm categories.

Every row is a query with one or more correct texts (positives) and wrong ones
(negatives). For classification tasks the labels are written as short descriptions,
so a model learns to pick the label most similar to the query.

Tasks

Task Query Positives Negatives
safety A prompt or response "a harmless message" or "a harmful or dangerous message" The other label
reply A prompt or response "a safe message that can be sent as is" or "a harmful message that must be reviewed before it is sent" The other label
reply_risks Same as reply, but the query instruction lists the 21 harms Same as reply The other label
harm An unsafe prompt or response Its harm categories, one or more of 21 The other categories
category A prompt or response Its harm categories, or "a harmless message with no harmful content" The other labels of the 22
bitext A prompt Its translation in another language 4 mined texts that are not its translation
language A prompt The language it is written in, one of 12 The other 11 languages

safety, reply and reply_risks use the same texts and labels and differ only in
wording, so they can be compared or combined.

Each task's instructions are in the query_inst and document_inst columns:

Task Query instruction
safety Given a message from a conversation with an AI assistant, classify whether it is safe or unsafe
reply Given a message from a conversation with an AI assistant, classify whether it can be sent as is or must be reviewed first
reply_risks The reply instruction, then "A message must be reviewed if it involves any of:" and the 21 harm descriptions
harm Given an unsafe message from a conversation with an AI assistant, classify which kinds of harm it involves
category Given a message from a conversation with an AI assistant, classify which kinds of harm it involves, or whether it is safe
bitext Given a text, retrieve the same text written in another language
language Given a text, identify which language it is written in

No task uses a document instruction (document_inst is empty).

Harm categories

The 21 categories, as written in harm and category: planning or admitting to a crime;
violence or physical harm; hate or attacks on people for their race, religion, gender,
sexuality or other identity; harassing, bullying or insulting someone; illegal drugs,
alcohol, tobacco or other regulated substances; personal or private information about
people; swearing or crude language; sexual content; immoral or unethical behaviour;
illegal activities; guns, explosives or illegal weapons; suicide or self-harm;
manipulating people psychologically; medical, legal or financial advice that needs a
professional; sexual content involving minors; political misinformation or conspiracy
theories; fraud, scams or deception; threatening to harm someone; malware, hacking or
cyberattacks; copyright infringement, trademark misuse or plagiarism; high-risk
government decisions, such as policing, immigration or elections.

The source's "Other" and "Needs Caution" categories are dropped, as they say nothing
about the content.

Splits

The source's train, validation and test splits are kept. Source ids never cross splits,
and train texts that also appear in validation or test are removed.

Task train validation test
safety 6,000 4,482 5,361
reply 6,000 4,482 5,361
reply_risks 6,000 4,482 5,361
harm 15,000 1,139 1,295
category 15,000 3,267 3,754
bitext 10,987 1,675 2,188
language 15,000 2,119 2,967
Total 73,987 21,646 26,287
  • In train, safety, reply and reply_risks are balanced: 3,000 safe and 3,000
    unsafe each. Validation and test keep the source balance, about 53% unsafe.
  • In harm, about 55% of rows have more than one category.
  • language covers all 12 languages: 984–1,482 rows each in train.

Columns

Column Description
task The task name (see above)
query_inst Instruction for embedding the query
query The text to classify, or the bitext source text
document_inst Instruction for embedding the positives and negatives (empty)
positives Correct labels or the translation
negatives Wrong labels or mined non-translations

How it was built

  1. Prompts and responses are separate queries. Each source row gives up to two
    texts, each with its own safe/unsafe label. Empty texts and texts without a label
    are skipped.

  2. Harm categories. The source's violated_categories covers the whole exchange,
    so they are given to a text only when the other side of the exchange is not unsafe.

  3. Cheap filters, before any embedding. Texts are dropped when they are:

    • the bare placeholder "REDACTED" (privacy redaction that kept its label);
    • longer than 3,500 tokens (Qwen3-VL-Embedding-2B tokenizer);
    • labelled both safe and unsafe within the split;
    • in train, also present in validation or test.

    Duplicates within a task are removed after lowercasing, Unicode normalization and
    stripping punctuation.

  4. One language per source text. Rows sharing an id are translations of one
    source text. For the classification tasks, one language is picked at random per
    source text from those with rows left, so all 12 languages stay in without repeating
    content.

  5. Translation tasks from the leftover translations. bitext and language use
    only prompts in languages the classification tasks did not use. They do not use:

    • responses: about 18% of English responses, and some in other languages, are a
      different reply rather than a translation;
    • for bitext, the source's "adapted" prompts, whose translations change names and
      places.

    Texts must be at least 10 letters, at least half in their language's script, and not
    identical under two languages (left untranslated). A bitext pair must share its
    safety label, and the two lengths, adjusted for each language's typical length, must
    be within 2x of each other.

  6. Caps. At most 3,000 rows per label within a task, then at most 15,000 rows per
    task, both drawn at random (seed 0).

  7. Bitext hard negatives. Candidates are the queries and positives of all other
    bitext rows. A candidate scoring above 0.95 times the positive's cosine similarity
    to the query is skipped as a likely translation of the same text; the 4 most similar
    of the rest are kept. Embeddings come from Qwen3-VL-Embedding-2B.

  8. Easy bitext rows dropped. Rows where the positive beats the hardest negative by
    0.10 or more keep a random 25%, in all three splits. This removed 27% of train and
    33% of validation and test bitext rows, so bitext scores on validation and test are lower than on unfiltered
    data. Other tasks are not margin-filtered.

Zero-shot baseline

Qwen3-VL-Embedding-2B with no training, on an earlier build of the test split before
the caps and the translation tasks were added (its row counts were within about 2% of
this release). The prediction is the label with the highest cosine similarity.

Task Accuracy AUC Note
safety 0.578 0.774 Predicts "unsafe" for 94% of texts
reply 0.610 0.661
reply_risks 0.660 0.750 Listing the harms helps
category 0.641 n/a Macro F1 0.123, which suggests it mostly predicts "safe"
harm 0.289 n/a Accuracy@5 0.580

Limitations

  • Labels come from the source, and translations of one prompt sometimes disagree: in
    train, the English label differs from the other languages' in 3.5% of groups, and
    the other Latin-script languages disagree among themselves in 6.5%.
  • Some texts are only harmful in context: a response labelled unsafe can look harmless
    without the prompt it answers.
  • Bitext negatives are mined with one model and filtered by that same model's margins,
    so they reflect what that model finds hard.
  • Language detection does not cover code-mixed text: texts written mostly in another
    script are dropped.

Source, licence and attribution

Built from nvidia/Nemotron-Safety-Guard-Dataset-v3
by NVIDIA Corporation, licensed under CC BY 4.0.
This dataset is a modified version: texts were filtered, deduplicated, sampled and
reformatted into the tasks above, and the bitext negatives were mined as described.
It is released under the same licence.

If you use it, please cite the source dataset's paper:

@article{joshi2025cultureguard,
  title={CultureGuard: Towards Culturally-Aware Dataset and Guard Model for Multilingual Safety Applications},
  author={Joshi, Raviraj and Paul, Rakesh and Singla, Kanishk and Kamath, Anusha and Evans, Michael and Luna, Katherine and Ghosh, Shaona and Vaidya, Utkarsh and Long, Eileen and Chauhan, Sanjay Singh and others},
  journal={arXiv preprint arXiv:2508.01710},
  year={2025}
}

README historyEdit history 3 revisions3 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-02 Upload README.md with huggingface_hub b5d7bd2 10.7 KB
    Loading...
  2. 2026-11-02 Upload dataset c953a18 689 B
    Loading...
  3. 2026-11-02 initial commit 5449785 0 B
    Loading...
Download from Hugging Face

FaisalHejary/nemotron-safety-guard-embedding

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