Instructions to use hamzenium/ViT-Deepfake-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hamzenium/ViT-Deepfake-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hamzenium/ViT-Deepfake-Classifier") 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("hamzenium/ViT-Deepfake-Classifier") model = AutoModelForImageClassification.from_pretrained("hamzenium/ViT-Deepfake-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature0d890a3 -
Update README.md
Verified signature45001fe
-
Update README.md
Verified signaturee36012f -
Update README.md
Verified signature4b07a88 -
Update README.md
Verified signaturea20593f
-
Update README.md
Verified signatureba95758 -
Update README.md
Verified signaturebc48c15
-
Update README.md
Verified signature739e241 -
Update README.md
Verified signature59e0b37 -
Create README.md
Verified signature42053c6 -
Upload 6 files
Verified signaturec8c46cf -
initial commit
Verified signatureda3a45e