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