Rajarshi-Roy-research/Defactify_Image_Dataset
Viewer • Updated • 96k • 3.91k • 17
Pre-trained model weights for VerifAI - AI-Generated Media Detector.
AI-Generated Media Detector — Detect AI-generated images and videos with calibrated confidence scores, localized evidence, and robustness evaluation.
| File | Size | Description |
|---|---|---|
modern_ai_detector.pt |
2.0 MB | CLIP ViT-L/14 classification head |
frequency_classifier.joblib |
774 KB | Gradient Boosting frequency classifier |
| Dataset | Real Acc | Fake Acc | Overall |
|---|---|---|---|
| Defactify (SD3, SDXL, DALL-E 3, MidJourney) | 97.0% | 100.0% | 98.5% |
| COCO_AI (SD, FLUX, Ideogram) | 92.5% | 98.5% | 95.5% |
| Average | 94.8% | 99.2% | 97.0% |
from verifai import VerifAI
# Weights are downloaded automatically
detector = VerifAI()
result = detector.detect("image.jpg")
print(f"Label: {result.label}")
print(f"Confidence: {result.confidence:.1%}")
Fusion Detector = CLIP (80%) + Frequency (20%)
Trained on:
MIT License