Skip to content

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

How to load it

from datasets import load_dataset

ds = load_dataset("hackaprompt/hackaprompt-dataset")