Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • logs
    Create 03-analysis.txt over 1 year ago
  • pretrained_weights
    Upload model_v11_ViT_224_base_ckpt.pt over 1 year ago
  • scripts
    Create quick_analysis.py over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.93 kB
    Add project page and link to paper about 1 year ago
  • __init__.py
    0 Bytes
    Create __init__.py over 1 year ago
  • config.json
    591 Bytes
    Upload ViTForImageClassification (#1) over 1 year ago
  • model.safetensors
    144 MB
    xet
    Upload ViTForImageClassification (#1) over 1 year ago
  • modeling_vit_classifier.py
    2.28 kB
    Update modeling_vit_classifier.py over 1 year ago
  • preprocessor_config.json
    227 Bytes
    Update preprocessor_config.json over 1 year ago