Skip to content

Dataset · Lakera

Prompt injection examples from Gandalf game

Lakera/gandalf_ignore_instructions

A collection of real system prompt attacks gathered from Lakera's Gandalf game.

What's inside

Contains between 1k and 10k English text prompts containing hacking attempts and bypasses of AI instructions. The data is filtered from millions of user queries submitted to the Gandalf game in July 2023.

What you can do with it

  • Training classifiers to detect prompt injections
  • Testing LLM application defenses against hijacking
Languages
English
Size
1K–10K rows
Downloads this month
3.2K
Likes
38

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("Lakera/gandalf_ignore_instructions")