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 README.md from TTNVXX/CartoonOrNot: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/TTNVXX/CartoonOrNot/resolve/main/README.md
- Command line
-
hf download hf://TTNVXX/CartoonOrNot/README.md
-
curl -L -o README.md https://huggingface.co/TTNVXX/CartoonOrNot/resolve/main/README.md
674 Bytes
metadata
tags:
- autotrain
- image-classification
widget:
- src: >-
https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
example_title: Tiger
- src: >-
https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
example_title: Teapot
- src: >-
https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
example_title: Palace
datasets:
- autotrain-oaqu7-o86bm/autotrain-data
Model Trained Using AutoTrain
- Problem type: Image Classification
Validation Metricsg
loss: 0.039548490196466446
f1: 0.9896907216494846
precision: 1.0
recall: 0.9795918367346939
auc: 0.9991376832423111
accuracy: 0.9916666666666667