evaluate 0 0 0

Beijing-AISI/panda-bench

published by @Beijing-AISI

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
195.6K
Last 30 days
1.9K
Likes
-
Size
3.1 GB
Created on HF
2025-05-12
Age
1 years ago

Description

PandaBench

PandaBench is a comprehensive benchmark for evaluating Large Language Model (LLM) safety, focusing on jailbreak attacks, defense mechanisms, and evaluation methodologies.

The PandaGuard framework architecture illustrating the end-to-end pipeline for LLM safety evaluation. The system connects three key components: Attackers, Defenders, and Judges.

Dataset Description

This repository contains the benchmark results from extensive evaluations of various… See the full description on the dataset page: https://huggingface.co/datasets/Beijing-AISI/panda-bench.

Tags

task_categories:text-generationlanguage:enlicense:mitsize_categories:100K<n<1Mformat:csvmodality:tabularmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usjailbreak

README current version from Hugging Face


license: mit
language:

  • en
    task_categories:
  • text-generation
    tags:
  • jailbreak
    pretty_name: panda
    size_categories:
  • 100K<n<1M
    configs:
  • config_name: data
    data_files:
    • split: Analysis
      path: panda-bench.csv

PandaBench

PandaBench is a comprehensive benchmark for evaluating Large Language Model (LLM) safety, focusing on jailbreak attacks, defense mechanisms, and evaluation methodologies.

PandaGuard Framework Architecture
The PandaGuard framework architecture illustrating the end-to-end pipeline for LLM safety evaluation. The system connects three key components: Attackers, Defenders, and Judges.

Dataset Description

This repository contains the benchmark results from extensive evaluations of various LLMs against different jailbreak attacks and defense mechanisms. The dataset enables researchers to:

  1. Compare the effectiveness of different defense mechanisms against various attack methods
  2. Analyze the safety-capability tradeoffs of defensive systems
  3. Evaluate the robustness of different LLMs to jailbreak attempts
  4. Develop and test new defense algorithms with consistent evaluation metrics

Model Analysis Results
PandaBench builds comprehensive benchmarks for LLM/attack/defense/evaluation (a) Attack Success Rate vs. release date for various LLMs. (b) ASR across different harm categories with and without defense mechanisms. (c) Overall ASR for all evaluated LLMs with and without defense mechanisms.

Dataset Structure

The benchmark dataset is organized as follows:

benchmarks/
├── panda-bench.csv                           # Summary of all benchmark results
├── jbb/                                      # Raw jailbreak evaluation results
│   └── [model_name]/
│       └── [attack_name]/
│           └── [defense_name]/
│               ├── results.json              # Detailed results
│               └── config.yaml               # Configuration used
├── jbb_judged/                               # Judged jailbreak results
│   └── [model_name]/
│       └── [attack_name]/
│           └── [defense_name]/
│               └── [judge_results]
├── alpaca_eval/                              # Raw capability evaluation results
│   └── [model_name]/
│       └── [defense_name]/
│           ├── results.json                  # Results
│           └── config.yaml                   # Configuration
└── alpaca_eval_judged/                       # Judged capability results
    └── [model_name]/
        └── [defense_name]/
            └── [judge_name]/
                ├── annotations.json          # Detailed annotations
                └── leaderboard.csv           # Summary metrics

Evaluated Components

Models

The benchmark includes evaluation results for a wide range of LLMs:

  • Commercial models: GPT-4o, GPT-4o-mini, Claude-3.7-sonnet, Claude-3.5-sonnet, Gemini-2.0-pro, Gemini-2.0-flash
  • Open-source models: Llama-3-70B, Llama-3-8B, Phi-3-mini, Phi-3-medium, and more

Attack Methods

The benchmark includes the following attack methods:

  • Transfer-based (template) attacks
  • Gradient-based attacks (GCG)
  • Generation-based attacks (PAIR, AutoDAN, TAP)
  • Specialized attacks (DeepInception, GPT4-Cipher, SCAV, ArtPrompt)
  • And more (Cold Attack, GPTFuzzer, ReNeLLM)

Defense Methods

The benchmark includes the following defense methods:

  • Input-based (SelfReminder, ICL, RPO, GoalPriority)
  • Process-based (SmoothLLM, SemanticSmoothLLM, RePE, GradSafe)
  • Output-based (Paraphrase, BackTranslation, PerplexityFilter, SelfDefense)

Evaluation Metrics

The dataset provides:

  • Attack Success Rate (ASR) - the primary safety metric
  • AlpacaEval scores - capability metrics
  • Win rates between different models and configurations
  • Detailed feedback from different judge models

For reproducing experiments or running your own evaluations, please see the PandaGuard repository.

Contact

For questions, suggestions, or collaboration opportunities:

README history 20 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-05-17Update README.mdc54c4494.5 KB
    Loading...
  2. 2025-05-17Update README.md3312b2f4.5 KB
    Loading...
  3. 2025-05-16Update README.md73683d04.5 KB
    Loading...
  4. 2025-05-16Update README.mdeeb8ce05.1 KB
    Loading...
  5. 2025-05-16Upload 2 files7cdf79913.5 KB
    Loading...
  6. 2025-05-16Delete jbb_judged80af1ae13.5 KB
    Loading...
  7. 2025-05-16Delete jbbad3068d13.5 KB
    Loading...
  8. 2025-05-16Delete alpaca_eval_judged764a12b13.5 KB
    Loading...
  9. 2025-05-16Delete alpaca_evalcfd342013.5 KB
    Loading...
  10. 2025-05-16Delete panda-bench.croissant.jsonf1b675313.5 KB
    Loading...
  11. 2025-05-16Upload benchmarks.zip (#2)b6c946813.5 KB
    Loading...
  12. 2025-05-16Upload panda-bench.croissant.json with huggingface_hub7a5972e13.5 KB
    Loading...
  13. 2025-05-16Upload panda-bench.croissant.json with huggingface_hub04747ec13.5 KB
    Loading...
  14. 2025-05-16Upload panda-bench.croissant.json with huggingface_hubb32249613.5 KB
    Loading...
  15. 2025-05-16Upload panda-bench.croissant.json with huggingface_hubb8d001813.5 KB
    Loading...
  16. 2025-05-16Upload panda-bench.csv with huggingface_hubdc6e4e513.5 KB
    Loading...
  17. 2025-05-16Delete .gitattributes93b432713.5 KB
    Loading...
  18. 2025-05-16Upload panda-bench.csv3de8a0f13.5 KB
    Loading...
  19. 2025-05-16Delete panda-bench.csve5f732b13.5 KB
    Loading...
  20. 2025-05-16Update README.mde2a0c3a13.5 KB
    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 2 threads · 1 open · 2 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-05-16PRUpload benchmarks.zipmerged1 💬#2
    Loading...
  2. 2025-05-15[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · evaluate

Read further

Metadata

License
mit

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