evaluate 0 0 0

jcanode/safeguard-prompt-injection

published by @jcanode

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
499
Last 30 days
50
Likes
-
Size
368.4 MB
Created on HF
2026-01-30
Age
8 months ago

Description

SafeGuard Prompt Injection Dataset (Clean v2.0)

A curated dataset of 108,789 samples for training prompt injection detection classifiers.

Cleaned of benchmark contamination (10,121 samples from ToxiGen, Do-Not-Answer, JailbreakBench removed) and augmented with 2,493 targeted synthetic samples covering novel attack types.

Splits

Split

Samples

Benign

Injection

Injection %

Train

97,950

78,682

19,268

19.7%

Validation

5,414

4,397

1,017

18.8%

Test

5,425

4… See the full description on the dataset page: https://huggingface.co/datasets/jcanode/safeguard-prompt-injection.

Tags

task_categories:text-classificationlicense:apache-2.0size_categories:100K<n<1Mregion:usprompt-injectionsafetysecurity

README current version from Hugging Face


license: apache-2.0
task_categories:

  • text-classification
    tags:
  • prompt-injection
  • safety
  • security
    size_categories:
  • 100K<n<1M

SafeGuard Prompt Injection Dataset (Clean v2.0)

A curated dataset of 108,789 samples for training prompt injection detection classifiers.

Cleaned of benchmark contamination (10,121 samples from ToxiGen, Do-Not-Answer, JailbreakBench removed) and augmented with 2,493 targeted synthetic samples covering novel attack types.

Splits

Split Samples Benign Injection Injection %
Train 97,950 78,682 19,268 19.7%
Validation 5,414 4,397 1,017 18.8%
Test 5,425 4,353 1,072 19.8%
Total 108,789 87,432 21,357 19.6%

Sources

  • Alpaca — general instruction data (benign)
  • OpenAssistant — conversation data (benign)
  • Dolly — instruction data (benign)
  • Synthetic — template-based injection attacks
  • Synthetic Clean — targeted replacements for known model weaknesses

Usage

from datasets import load_dataset
dataset = load_dataset("jcanode/safeguard-prompt-injection")

Associated Model

jcanode/safeguard-ministral3-3b — 99.08% accuracy fine-tuned classifier

README history 4 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-01-31v2.0: Clean dataset (108,789 samples), contamination removed, novel attack ty...61fbe351.3 KB
    Loading...
  2. 2026-01-30Upload folder using huggingface_huba6eaa353.1 KB
    Loading...
  3. 2026-01-30Upload README.md with huggingface_hub25e562e3.1 KB
    Loading...
  4. 2026-01-30initial commit2c767ce0 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.

Related datasets same stage · evaluate

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