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
- patronus-studio/wolf-defender-prompt-injectionText classification 10K
- Horizon-Labs/prompt-injection-guard-baseText classification 7.3K
- Horizon-Labs/prompt-injection-guard-smallText classification 5.4K
- patronus-studio/wolf-defender-prompt-injection-smallText classification 3.8K
- vllm-sr/Vela-2.0-0.3BZero shot classification 1.9K
- vllm-sr/Vela-2.0-0.8BZero shot classification 1.9K
- codeintegrity-ai/promptguardText classification 1.4K
- vllm-sr/Vela-1.0-Encoder-307M-ShieldText classification 756
How to load it
from datasets import load_dataset
ds = load_dataset("microsoft/llmail-inject-challenge")