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
ONNX
Safetensors
timm
vit
detection
deepfake
forensics
deepfake_detection
community
opensight
Model card Files Files and versions
xet
Community
6

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
  • 3 contributors
History: 1 commit
LPX55's picture
LPX55
fix(critical/BREAKING): correct config, regenerate weights, add ONNX v1.1, requires transformers >= 5.4.0 (#5)
0b8f9cb 19 days ago
  • model.onnx
    87.4 MB
    xet
    fix(critical/BREAKING): correct config, regenerate weights, add ONNX v1.1, requires transformers >= 5.4.0 (#5) 19 days ago
  • model_int8.onnx
    23 MB
    xet
    fix(critical/BREAKING): correct config, regenerate weights, add ONNX v1.1, requires transformers >= 5.4.0 (#5) 19 days ago
  • model_q4.onnx
    15.8 MB
    xet
    fix(critical/BREAKING): correct config, regenerate weights, add ONNX v1.1, requires transformers >= 5.4.0 (#5) 19 days ago
  • model_quantized.onnx
    23 MB
    xet
    fix(critical/BREAKING): correct config, regenerate weights, add ONNX v1.1, requires transformers >= 5.4.0 (#5) 19 days ago
  • model_uint8.onnx
    23 MB
    xet
    fix(critical/BREAKING): correct config, regenerate weights, add ONNX v1.1, requires transformers >= 5.4.0 (#5) 19 days ago
  • quantize_config.json
    369 Bytes
    fix(critical/BREAKING): correct config, regenerate weights, add ONNX v1.1, requires transformers >= 5.4.0 (#5) 19 days ago