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="Ailyth/3_Labels")
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("Ailyth/3_Labels")
model = AutoModelForImageClassification.from_pretrained("Ailyth/3_Labels")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Multi-class Classification
  • Model ID: 3341092265
  • CO2 Emissions (in grams): 2.6501

Validation Metrics

  • Loss: 0.133
  • Accuracy: 0.950
  • Macro F1: 0.951
  • Micro F1: 0.950
  • Weighted F1: 0.950
  • Macro Precision: 0.951
  • Micro Precision: 0.950
  • Weighted Precision: 0.950
  • Macro Recall: 0.951
  • Micro Recall: 0.950
  • Weighted Recall: 0.950
Downloads last month
14
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support