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
4

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", 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
CommunityForensics-DeepfakeDet-ViT / onnx
172 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
ethix's picture
ethix
feat: update test_app for corrected ONNX v1.1, single-class output
6f9c8ad 12 days ago
  • model.onnx
    87.4 MB
    xet
    feat: re-export ONNX from corrected ViT-Small weights 12 days ago
  • model_int8.onnx
    23 MB
    xet
    feat: re-export ONNX from corrected ViT-Small weights 12 days ago
  • model_q4.onnx
    15.8 MB
    xet
    feat: re-export ONNX from corrected ViT-Small weights 12 days ago
  • model_quantized.onnx
    23 MB
    xet
    feat: re-export ONNX from corrected ViT-Small weights 12 days ago
  • model_uint8.onnx
    23 MB
    xet
    feat: re-export ONNX from corrected ViT-Small weights 12 days ago
  • quantize_config.json
    369 Bytes
    feat: update test_app for corrected ONNX v1.1, single-class output 12 days ago