evaluate 0 0 0

dnouv/prompt_guardrail_eval

published by @dnouv

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
606
Last 30 days
31
Likes
-
Size
161 KB
Created on HF
2025-07-20
Age
1 years ago

Description

LLM Guardrail Evaluation

A repository for evaluating prompt-based guardrails against jailbreak attacks on large language models.

Overview

This dataset is used to measure the effectiveness and performance of different prompt designs in catching unsafe/jailbreak instructions.

Dataset

We use a balanced 146-example dataset consisting of:

73 real jailbreak prompts (injected into the rubend18/ChatGPT-Jailbreak-Prompts placeholder template)

73 benign… See the full description on the dataset page: https://huggingface.co/datasets/dnouv/prompt_guardrail_eval.

Tags

language:enlicense:apache-2.0size_categories:n<1Kformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:usdatasetjailbreakguardrailsLLMevaluationprompt-engineeringAI-guardrailsAI-security

README current version from Hugging Face


license: apache-2.0
language:

  • en
    tags:
  • dataset
  • jailbreak
  • guardrails
  • LLM
  • evaluation
  • prompt-engineering
  • AI-guardrails
  • AI-security
    size_categories:
  • n<1K

LLM Guardrail Evaluation

A repository for evaluating prompt-based guardrails against jailbreak attacks on large language models.

Overview

This dataset is used to measure the effectiveness and performance of different prompt designs in catching unsafe/jailbreak instructions.

Dataset

We use a balanced 146-example dataset consisting of:

  • 73 real jailbreak prompts (injected into the rubend18/ChatGPT-Jailbreak-Prompts placeholder template)
  • 73 benign prompts generated with the Gemini-2.5-Pro

Each row has:

  • Prompt (string)
  • TrueLabel (0 = safe, 1 = unsafe)

Usage

  1. Install dependencies

    pip install datasets pandas 
    
  2. Load & evaluate

    import pandas as pd
    from datasets import load_dataset
    
    ds_jb = load_dataset("dnouv/prompt_guardrail_eval")
    df_jb = pd.DataFrame(ds_jb["train"])             # contains Prompt, TrueLabel
    
    
    print(f"Total {len(df_jb)} rows. Example prompts:\n", df_jb["Prompt"].head())
    

Acknowledgments

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. 2025-07-20Update README.mdc5010581.4 KB
    Loading...
  2. 2025-07-20Update README.md83f66861.4 KB
    Loading...
  3. 2025-07-20Upload prompts_with_labels.csvb3cf9de31 B
    Loading...
  4. 2025-07-20initial commit0f5247931 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.

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, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2025-07-21[bot] Conversion to Parquetopen1 💬#1
    Loading...

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