Instructions to use saltacc/anime-ai-detect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use saltacc/anime-ai-detect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="saltacc/anime-ai-detect") 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("saltacc/anime-ai-detect") model = AutoModelForImageClassification.from_pretrained("saltacc/anime-ai-detect", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
fcbabdf | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fac061ce4805435e1803c42f0ac76c358a63e3be3fc0c103e0e8a3f9f0b237ee
size 346860409
|