Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

buildborderless
/
CommunityForensics-DeepfakeDet-ViT

Image Classification
Transformers
Safetensors
timm
vit
detection
deepfake
forensics
deepfake_detection
community
opensight
Model card Files Files and versions
xet
Community
3

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
CommunityForensics-DeepfakeDet-ViT / scripts
18.8 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
LPX55's picture
LPX55
Create quick_analysis.py
83314dd verified about 1 year ago
  • convert_to_pytorch.py
    10.3 kB
    Create scripts/convert_to_pytorch.py about 1 year ago
  • quick_analysis.py
    3.81 kB
    Create quick_analysis.py about 1 year ago
  • resample_evalset.py
    2.78 kB
    chore: resample-prep about 1 year ago
  • restructure.py
    1.94 kB
    chore: restructure new evalset about 1 year ago