Instructions to use Wvolf/ViT_Deepfake_Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wvolf/ViT_Deepfake_Detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Wvolf/ViT_Deepfake_Detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Wvolf/ViT_Deepfake_Detection") model = AutoModelForImageClassification.from_pretrained("Wvolf/ViT_Deepfake_Detection", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.a62cfa5
-
Update README.md
f7f34ca
-
Upload pytorch_model.bin
7389500 -
Delete checkpoint-22604
643915a -
Delete pytorch_model.bin
55f1545 -
Delete model.safetensors
4df9cc3 -
Upload model.safetensors
41b85e7 -
Update README.md
da062f6 -
Create README.md
c0f5cce -
Upload 12 files
9668669 -
Delete training_args.bin
c5f55d4 -
Delete pytorch_model.bin
cd70619 -
Delete preprocessor_config.json
28e932f -
Delete config.json
4c3e4f0 -
Delete .gitattributes
94ce30f -
Delete README.md
af7fece -
Delete gitattributes
5c401c8 -
Upload 6 files
37c3d90 -
initial commit
6e635f3