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

Model Trained Using AutoTrain

  • Problem type: Binary Classification
  • Model ID: 3268491180
  • CO2 Emissions (in grams): 2.0388

Validation Metrics

  • Loss: 0.044
  • Accuracy: 0.970
  • Precision: 0.966
  • Recall: 0.982
  • AUC: 0.998
  • F1: 0.974
Downloads last month
13
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using Ailyth/2_Labels 1