CoolFace
Datasetpublic

Octavio-Santana/prompt-injection-attack-detection-multilingual

Prompt Injection Attack Detection Multilingual Dataset ๐Ÿ“Œ Overview This dataset is a merged and cleaned combination of two publicly available datasets for prompt injection detection: PromptInjectionDataset/Injection-Attack-Detection-Dataset rikka-snow/prompt-injection-multilingual The goal of this merged dataset is to provide a larger and more diverse benchmark for binary classification of prompt injection attacks. ๐ŸŽฏ Task Binary classification:โ€ฆ See the full description on the dataset page: https://huggingface.co/datasets/Octavio-Santana/prompt-injection-attack-detection-multilingual.

sourceHugging Facegplupdated 7mo agoView on Hugging Face
2likes78downloads
Dataset Card

Prompt Injection Attack Detection Multilingual Dataset

๐Ÿ“Œ Overview

This dataset is a merged and cleaned combination of two publicly available datasets for prompt injection detection:

  1. 1.PromptInjectionDataset/Injection-Attack-Detection-Dataset
  2. 2.rikka-snow/prompt-injection-multilingual

The goal of this merged dataset is to provide a larger and more diverse benchmark for binary classification of prompt injection attacks.


๐ŸŽฏ Task

Binary classification:

  • โ€”0 โ†’ Safe prompt
  • โ€”1 โ†’ Prompt injection attack

๐Ÿ“Š Dataset Composition

The dataset was created by:

  • โ€”Merging the train split of Injection-Attack-Detection-Dataset
  • โ€”Merging both train and test splits of prompt-injection-multilingual
  • โ€”Removing duplicates
  • โ€”Filtering very short samples
  • โ€”Shuffling and performing a stratified train/test split

Final structure:

python
{
"text": string,
"label": ClassLabel (0 = safe, 1 = injection),
"source": string
}

The source field identifies the original dataset of each example.

โš ๏ธ Disclaimer

This dataset is intended for research and development purposes in LLM security and prompt injection detection. Users should verify licensing terms of the original datasets before commercial use.


๐Ÿš€ Intended Use

  • โ€”Fine-tuning binary classifiers
  • โ€”Evaluating LLM guardrails
  • โ€”Training safety filters
  • โ€”Research in adversarial prompt detection