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