You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

This dataset contains NCII (Non-Consensual Intimate Imagery) image data for training Image Guard, Image Filter, and Image Shield models. Due to its sensitive nature, access is gated and requires manual review. Access may be approved for users who provide a valid research or development purpose.

ImageShield-Guardrail-Multimodal-20K

ImageShield-Guardrail-Multimodal-20K is a rich multimodal dataset consisting of 28,000 paired image-text instances designed for training, instruction tuning (SFT), and evaluating Vision-Language Models (VLMs) and multimodal safety guardrails. Each entry provides rich scene descriptions alongside structured safety annotations (is_nsfw, safe, nsfw) and chain-of-thought explanatory reasoning for content moderation decisions.

  • Curator: prithivMLmods
  • Total Samples: 28,000 rows
  • Total Size: ~2.64 GB
  • Format: Parquet (image + structured JSON/Text)
  • Modalities: Image, Text
  • Split: Train (28k rows)

Dataset Structure & Schema

Each sample in the dataset contains a source image along with a structured annotation object breaking down the scene, classification labels, and detailed safety rationale:

Data Instance Example

{
  "caption": "A shirtless man is suspended mid-air above a body of water, performing an activity that creates a large splash. He is wearing dark swim trunks and holding onto a tow rope attached to a tire-based pulley system. The background shows a grassy hillside with trees and several spectators watching from a distance.",
  "is_nsfw": 0,
  "reason": "The image depicts a recreational scene involving water sports. The subject is shirtless but fully clothed in swim trunks, which is standard attire for such activities. There is no evidence of nudity, exposed skin beyond the torso, suggestive clothing, or any sexually explicit content. The setting appears to be a natural outdoor environment suitable for family-friendly recreation.",
  "nsfw": 0,
  "safe": 1
}

Feature Fields

Field Type Description
image Image Target RGB image (natural photos, digital art, stylized renders)
caption string Detailed descriptive caption of the visual elements
reason string Step-by-step explanatory rationale justifying the safety classification
is_nsfw / nsfw int Binary NSFW indicator (1 = NSFW / Unsafe, 0 = Safe)
safe int Binary Safe indicator (1 = Safe, 0 = Unsafe)

Access & Gating Notice

Sensitive Content Warning: This dataset contains sensitive and NCII-related (Non-Consensual Intimate Imagery) visual distributions meant exclusively for AI safety research, image filtering, and moderation guardrail alignment. Access is gated and requires manual verification.

To request access:

  1. Log in to your Hugging Face account.
  2. Submit an access request stating a valid research, defense, or safety development purpose.
  3. Access will be granted upon review.

How to Use

Loading with datasets

import json
from datasets import load_dataset

# Load dataset (requires an authorized HF token)
dataset = load_dataset("prithivMLmods/ImageShield-Guardrail-Multimodal-20K", split="train")

sample = dataset[0]
image = sample["image"]

# Parse or read multimodal annotation fields
print("Caption:", sample.get("caption"))
print("Safety Status:", "Safe" if sample.get("safe") == 1 else "NSFW/Unsafe")
print("Reasoning:", sample.get("reason"))

VLM Instruction-Tuning Template Example

You can convert each record into a structured conversational prompt for Supervised Fine-Tuning (SFT) of multimodal models (e.g., LLaVA, Qwen-VL, PaliGemma):

def format_vlm_sample(example):
    prompt = "Analyze the visual content of this image and determine whether it is safe or NSFW. Provide a detailed explanation followed by the safety label."
    response = f"Analysis: {example['reason']}\n\nClassification: {'NSFW' if example['is_nsfw'] == 1 else 'Safe'}"
    
    return {
        "image": example["image"],
        "prompt": prompt,
        "response": response
    }

Intended Uses

  • Multimodal Safety Reasoning: Fine-tuning VLMs to generate interpretative explanations rather than just static binary tags.
  • Pre- and Post-Generation Guardrails: Guarding text-to-image and image-to-text generative interfaces against sensitive material and policy violations.
  • Content Moderation Benchmarks: Evaluating vision-language safety baselines against nuanced boundary cases (e.g., swimwear vs. explicit nudity).

License

Distributed under the Apache-2.0 License. This dataset is strictly intended for developing defensive AI guardrails, content moderation frameworks, and image safety solutions.

Downloads last month
14

Models trained or fine-tuned on prithivMLmods/ImageShield-Guardrail-Multimodal-20K

Collections including prithivMLmods/ImageShield-Guardrail-Multimodal-20K