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 checkpoint-60/optimizer.pt from TTNVXX/CartoonOrNot: direct link, hf CLI and curl.
- Browser
- Download file 694 MB
-
https://huggingface.co/TTNVXX/CartoonOrNot/resolve/main/checkpoint-60/optimizer.pt
- Command line
-
hf download hf://TTNVXX/CartoonOrNot/checkpoint-60/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/TTNVXX/CartoonOrNot/resolve/main/checkpoint-60/optimizer.pt
694 MB
- Xet hash:
- 7e4f6f3464bfb4b258f99eb5d854bb2ec874665fcd3c96dadd4057fb5ebb7361
- Size of remote file:
- 694 MB
- SHA256:
- 8aa653663e4b31d280960a109d3e344c84e928324737981ae9e29f33c98cfb75
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.