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

  • Log In
  • Sign Up

yithh
/
ViT-DeepfakeDetection

Image Classification
Transformers
Safetensors
English
vit
deepfake-detection
Model card Files Files and versions
xet
Community

Instructions to use yithh/ViT-DeepfakeDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use yithh/ViT-DeepfakeDetection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="yithh/ViT-DeepfakeDetection")
    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("yithh/ViT-DeepfakeDetection")
    model = AutoModelForImageClassification.from_pretrained("yithh/ViT-DeepfakeDetection")
  • Notebooks
  • Google Colab
  • Kaggle
ViT-DeepfakeDetection
343 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
yithh's picture
yithh
Update README.md
d552492 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.29 kB
    Update README.md over 1 year ago
  • config.json
    754 Bytes
    Upload ViTForImageClassification over 1 year ago
  • model.safetensors
    343 MB
    xet
    Upload ViTForImageClassification over 1 year ago
  • preprocessor_config.json
    351 Bytes
    Upload processor over 1 year ago