Instructions to use DaMsTaR/Detecto-DeepFake_Image_Detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DaMsTaR/Detecto-DeepFake_Image_Detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="DaMsTaR/Detecto-DeepFake_Image_Detector") 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("DaMsTaR/Detecto-DeepFake_Image_Detector") model = AutoModelForImageClassification.from_pretrained("DaMsTaR/Detecto-DeepFake_Image_Detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from DaMsTaR/Detecto-DeepFake_Image_Detector: direct link, hf CLI and curl.
- Browser
- Download file 4.03 kB
-
https://huggingface.co/DaMsTaR/Detecto-DeepFake_Image_Detector/resolve/refs%2Fpr%2F2/training_args.bin
- Command line
-
hf download hf://DaMsTaR/Detecto-DeepFake_Image_Detector@refs/pr/2/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/DaMsTaR/Detecto-DeepFake_Image_Detector/resolve/refs%2Fpr%2F2/training_args.bin
4.03 kB
- Xet hash:
- 3f6d6e2157ff2798da4f0dd425b1eb554ccf455b4cb16186a284bda76d341766
- Size of remote file:
- 4.03 kB
- SHA256:
- 1e8d19703da0c69d641a6b89f2177e3aec8b1bdf5efdbb94ee8497fc5935ce47
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.