Image Classification
Transformers
ONNX
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("buildborderless/CommunityForensics-DeepfakeDet-ViT") model = AutoModelForImageClassification.from_pretrained("buildborderless/CommunityForensics-DeepfakeDet-ViT", device_map="auto") - 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
Commit History
-
Add project page and link to paper
Verified signatureThis PR adds the project page URL to the model card and links the paper at the top of the content section.6b7e35d
-
Update preprocessor_config.json
Verified signature7c67b0d -
Rename preprocessor.json to preprocessor_config.json
Verified signature85addc9 -
chore: final config (hopefully)
Verified signatureba655de -
Update README.md
Verified signature9309ac4 -
Update README.md
Verified signaturee888dd5 -
Upload ViTForImageClassification (#1)
Verified signature- Upload ViTForImageClassification (8afc0ec822088fa52ffd1bd502b66f11317b5442)3878584
-
Create 03-analysis.txt
Verified signatureb29435f -
Create 02-restructure.txt
Verified signatured9de785 -
Create quick_analysis.py
Verified signature83314dd -
chore: restructure new evalset
Verified signature33341d9 -
add: eval dataset resampling round 1
Verified signature52f46c9 -
Create logs/.gitkeep
Verified signature6ccccb2 -
chore: resample-prep
Verified signatureOpenCV's Haar Cascades for face detection + re-sampling roughly 20% of original evalsete174112 -
Create scripts/convert_to_pytorch.py
Verified signature4c6c42a -
Update README.md
Verified signature73f5f27 -
Update config.json
Verified signaturec510470 -
Update README.md
Verified signaturee68f079 -
Update config.json
Verified signatureafd376a -
Update README.md
Verified signature477be33 -
Update README.md
Verified signaturec3ad298 -
Update config.json
Verified signatureddb65da -
Update config.json
Verified signatureeeda623 -
Update README.md
Verified signature190486b -
Update README.md
Verified signature0e28b67 -
Update README.md
Verified signature8fc5b30 -
Update README.md
Verified signature8635999 -
Update README.md
Verified signature14bff6c -
Update README.md
Verified signature7cf9278 -
Update README.md
Verified signature2e76bb1 -
Update config.json
Verified signature8aef275 -
Update config.json
Verified signature10ca6e4 -
Update modeling_vit_classifier.py
Verified signature4c79ef6 -
Update config.json
Verified signature3ed35a6 -
Update config.json
Verified signaturefdc6d1a -
Create __init__.py
Verified signature232a895 -
Create modeling_vit_classifier.py
Verified signatureb0ce6d7 -
Upload model_v11_ViT_224_base_ckpt.pt
Verified signatureff3e56a
-
Upload model_v11_ViT_384_base_ckpt.pt
Verified signature88e7916 -
Create pretrained_weights/.gitkeep
Verified signature15b74e2 -
Update config.json
Verified signature3b93cbe
-
Create README.md
Verified signatureb4efb25 -
Create README.md
Verified signature2570e4e -
Upload folder using huggingface_hub
Verified signature0a726de -
initial commit
Verified signature866598e