Downloads · 30 days
1.3K
2% of all-time downloads
aaronkantrowitz/ai-image-detection
ai-image-detection is a image classification model from aaronkantrowitz. Use it when you need a label for an image. The card lists the license as apache-2.0.
Vision Transformer (ViT) fine-tuned for detecting AI-generated images.
Downloads · 30 days
1.3K
2% of all-time downloads
All-time downloads
65.2K
Public
Parameters
85.8M
343 MB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors343 MB · 100%
From the Hugging Face model README
Vision Transformer (ViT) fine-tuned for detecting AI-generated images.
This model builds on the work of others:
| Layer | Model | Author | License |
|---|---|---|---|
| Base Architecture | google/vit-base-patch16-224-in21k | Apache 2.0 | |
| AI Detection Fine-tune | dima806/ai_vs_real_image_detection | dima806 | Apache 2.0 |
| This Model | capcheck/ai-image-detection | CapCheck | Apache 2.0 |
Special thanks to:
from transformers import pipeline
detector = pipeline("image-classification", model="capcheck/ai-image-detection")
result = detector("path/to/image.jpg")
# Output:
# [{"label": "Fake", "score": 0.95}, {"label": "Real", "score": 0.05}]
| Label | Description |
|---|---|
Real | Authentic photograph or real-world image |
Fake | AI-generated or synthetically created image |
This model was trained on the CIFAKE dataset. Performance on modern AI generators (Flux, Midjourney v6, DALL-E 3, Stable Diffusion 3) may vary.
See dima806's model card for detailed training metrics.
Not intended for:
Base model from dima806's CIFAKE-trained ViT. Solid foundation for AI detection.
Phase 1: Modern Generator Training
Phase 2: False Positive Reduction
Phase 3: Continuous Updates
We welcome:
Join the discussion: https://huggingface.co/capcheck/ai-image-detection/discussions
Apache 2.0 (inherited from Google ViT and dima806's fine-tuned model)
If you use this model, please cite:
@misc{capcheck-ai-detection,
author = {CapCheck},
title = {AI Image Detection Model},
year = {2024},
publisher = {HuggingFace},
url = {https://huggingface.co/capcheck/ai-image-detection},
note = {Based on dima806/ai_vs_real_image_detection, fine-tuned from google/vit-base-patch16-224-in21k}
}