Dataset · hackaprompt
Competition prompt attack dataset
hackaprompt/hackaprompt-dataset
HackAPrompt competition prompt injection attack submissions for research.
What's inside
The dataset contains submissions from the HackAPrompt prompt hacking competition. Submissions were collected in the playground for experiments and on the official competition platform. The data is tabular and text-based in English, and analysis of the dataset was published at EMNLP 2023.
What you can do with it
- Train a prompt injection classifier
- Test LLM resistance to jailbreaks
- Build a harmful prompt filter
- Languages
- English
- Size
- 100K–1M rows
- Downloads this month
- 1.2K
- Likes
- 123
- Access
- on request on Hugging Face
Models trained on it
- protectai/deberta-v3-base-prompt-injectionText classification 29.4K
- AxiomicLabs/X3Guard-150MText classification 332
- Verm1ion/injection-sentry-xlmrText classification 102
- vllm-sr/Decision-1.0-Route-0.6BZero shot classification 99
- gantrly/fortress-xsText classification 67
- vllm-sr/toolcall-sentinelText classification 48
- ITLL/Decision-1.0-Route-0.6BZero shot classification 40
- vllm-sr/toolcall-verifierToken classification 33
How to load it
from datasets import load_dataset
ds = load_dataset("hackaprompt/hackaprompt-dataset")