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/CartoonOrNot2H5")
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/CartoonOrNot2H5")
model = AutoModelForImageClassification.from_pretrained("TTNVXX/CartoonOrNot2H5")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Image Classification

Validation Metricsg

loss: 0.025116078555583954

f1: 0.98989898989899

precision: 0.98

recall: 1.0

auc: 1.0

accuracy: 0.9916666666666667

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