How to use from the
Use from the
Transformers library
# 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")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained("TTNVXX/CartoonOrNotV2")
model = AutoModelForImageClassification.from_pretrained("TTNVXX/CartoonOrNotV2")
Quick Links

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

Downloads last month
9
Safetensors
Model size
86.8M params
Tensor type
I64
·
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support