Image Classification
Transformers
Safetensors
timm
vit
detection
deepfake
forensics
deepfake_detection
community
opensight
Instructions to use buildborderless/CommunityForensics-DeepfakeDet-ViT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use buildborderless/CommunityForensics-DeepfakeDet-ViT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="buildborderless/CommunityForensics-DeepfakeDet-ViT") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("buildborderless/CommunityForensics-DeepfakeDet-ViT") model = AutoModelForImageClassification.from_pretrained("buildborderless/CommunityForensics-DeepfakeDet-ViT") - timm
How to use buildborderless/CommunityForensics-DeepfakeDet-ViT with timm:
import timm model = timm.create_model("hf_hub:buildborderless/CommunityForensics-DeepfakeDet-ViT", pretrained=True) - Inference
- Notebooks
- Google Colab
- Kaggle
Add project page and link to paper
Browse filesThis PR adds the project page URL to the model card and links the paper at the top of the content section.
README.md
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
license: mit
|
| 3 |
pipeline_tag: image-classification
|
| 4 |
tags:
|
|
@@ -11,13 +14,12 @@ tags:
|
|
| 11 |
- deepfake_detection
|
| 12 |
- community
|
| 13 |
- opensight
|
| 14 |
-
base_model:
|
| 15 |
-
- timm/vit_small_patch16_384.augreg_in21k_ft_in1k
|
| 16 |
-
library_name: transformers
|
| 17 |
---
|
| 18 |
|
| 19 |
# Trained on 2.7M samples across 4,803 generators (see Training Data)
|
| 20 |
|
|
|
|
|
|
|
| 21 |
**Uploaded for community validation as part of OpenSight** - An upcoming open-source framework for adaptive deepfake detection.
|
| 22 |
|
| 23 |
**Project OpenSight HF Spaces coming soon with an eval playground and eventually a leaderboard. Preview:**
|
|
@@ -39,6 +41,7 @@ Vision Transformer (ViT) model trained on the largest dataset to-date for detect
|
|
| 39 |
### Links
|
| 40 |
- **Repository:** [JeongsooP/Community-Forensics](https://github.com/JeongsooP/Community-Forensics)
|
| 41 |
- **Paper:** [arXiv:2411.04125](https://arxiv.org/pdf/2411.04125)
|
|
|
|
| 42 |
|
| 43 |
## Training Details
|
| 44 |
### Training Data
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model:
|
| 3 |
+
- timm/vit_small_patch16_384.augreg_in21k_ft_in1k
|
| 4 |
+
library_name: transformers
|
| 5 |
license: mit
|
| 6 |
pipeline_tag: image-classification
|
| 7 |
tags:
|
|
|
|
| 14 |
- deepfake_detection
|
| 15 |
- community
|
| 16 |
- opensight
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# Trained on 2.7M samples across 4,803 generators (see Training Data)
|
| 20 |
|
| 21 |
+
Model presented in [Community Forensics: Using Thousands of Generators to Train Fake Image Detectors](https://huggingface.co/papers/2411.04125).
|
| 22 |
+
|
| 23 |
**Uploaded for community validation as part of OpenSight** - An upcoming open-source framework for adaptive deepfake detection.
|
| 24 |
|
| 25 |
**Project OpenSight HF Spaces coming soon with an eval playground and eventually a leaderboard. Preview:**
|
|
|
|
| 41 |
### Links
|
| 42 |
- **Repository:** [JeongsooP/Community-Forensics](https://github.com/JeongsooP/Community-Forensics)
|
| 43 |
- **Paper:** [arXiv:2411.04125](https://arxiv.org/pdf/2411.04125)
|
| 44 |
+
- **Project Page:** https://jespark.net/projects/2024/community_forensics
|
| 45 |
|
| 46 |
## Training Details
|
| 47 |
### Training Data
|