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

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

Downloads last month
4
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