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="darklorddad/Model-Swin-Transformer-88")
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("darklorddad/Model-Swin-Transformer-88")
model = AutoModelForImageClassification.from_pretrained("darklorddad/Model-Swin-Transformer-88")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Image Classification

Validation Metrics

loss: 0.3975684940814972

f1_macro: 0.8860624318491966

f1_micro: 0.8885245901639345

f1_weighted: 0.8860652284338398

precision_macro: 0.9022628066378067

precision_micro: 0.8885245901639345

precision_weighted: 0.901722671681688

recall_macro: 0.8880000000000001

recall_micro: 0.8885245901639345

recall_weighted: 0.8885245901639345

accuracy: 0.8885245901639345

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

Model tree for darklorddad/Model-Swin-Transformer-88

Finetuned
(1)
this model