carl213/advbench
收藏Hugging Face2026-04-07 更新2026-04-12 收录
下载链接:
https://hf-mirror.com/datasets/carl213/advbench
下载链接
链接失效反馈官方服务:
资源简介:
---
pretty_name: "AdvBench"
license: "mit"
language:
- en
tags:
- adversarial
- safety
- text
task_categories:
- question-answering
---
# AdvBench
This repository hosts a copy of the widely used **AdvBench** dataset,
a benchmark for evaluating the adversarial robustness and safety alignment of Large Language Models (LLMs).
AdvBench consists of adversarial prompts designed to elicit unsafe, harmful, or policy-violating responses from LLMs.
It is used in many LLM safety and jailbreak research papers as a standard evaluation dataset.
## Contents
- `advbench.jsonl` (or your actual filename): the standard set of adversarial prompts.
Each entry contains:
```json
{
"instruction": "...",
"input": "",
"output": "..."
}
```
## Usage
```python
from datasets import load_dataset
ds = load_dataset("S3IC/AdvBench")
```
## Source
This dataset is taken from the public AdvBench release:
https://github.com/llm-attacks/AdvBench
## License
AdvBench is released under the original license provided by the authors.
See the LICENSE file for more details.
提供机构:
carl213



