Instructions to use prithivMLmods/deepfake-detector-model-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/deepfake-detector-model-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/deepfake-detector-model-v1") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("prithivMLmods/deepfake-detector-model-v1") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/deepfake-detector-model-v1", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload folder using huggingface_hub
Verified signaturec5cb24c -
Delete preprocessor_config.json
Verified signature103d6e3
-
Upload folder using huggingface_hub
Verified signaturee135329 -
Delete preprocessor_config.json
Verified signatureec277aa -
Upload folder using huggingface_hub
Verified signature5da4ceb -
Delete preprocessor_config.json
Verified signature962b0c7
-
Add files using upload-large-folder tool
Verified signature863c054 -
Delete preprocessor_config.json
Verified signature3971c13
-
config.json model.safetensors preprocessor_config.json pytorch_model.bin training_args.bin
Verified signaturee44d16a