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 README.md from TTNVXX/CartoonOrNotV2: direct link, hf CLI and curl.
- Browser
- Download file 681 Bytes
-
https://huggingface.co/TTNVXX/CartoonOrNotV2/resolve/main/README.md
- Command line
-
hf download hf://TTNVXX/CartoonOrNotV2/README.md
-
curl -L -o README.md https://huggingface.co/TTNVXX/CartoonOrNotV2/resolve/main/README.md
681 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:
- CartoonOrNotV2/autotrain-data
Model Trained Using AutoTrain
- Problem type: Image Classification
Validation Metricsg
loss: 0.15279646217823029
f1: 0.9732620320855614
precision: 0.9891304347826086
recall: 0.9578947368421052
auc: 0.9932718393922951
accuracy: 0.9739583333333334