Skip to content

Dataset · microsoft

Prompt injections from the Microsoft challenge

microsoft/llmail-inject-challenge

A large dataset of adversarial prompts for testing and defending LLMs against injections.

What's inside

The dataset contains from 100 thousand to 1 million text prompts with attacks collected as part of the LLMail-Inject: Adaptive Prompt Injection Challenge by Microsoft. The card provides a description of the competition and documentation, and the accompanying code is hosted in an open repository on GitHub.

What you can do with it

  • Training classifiers and filters to detect prompt injections
  • Stress-testing and red-teaming AI agents working with email and external data
  • Improving LLM resistance to adaptive attacks via SFT
Size
100K–1M rows
Downloads this month
9.1K
Likes
36

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("microsoft/llmail-inject-challenge")