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="haywoodsloan/ai-image-detector-dev-deploy")
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("haywoodsloan/ai-image-detector-dev-deploy")
model = AutoModelForImageClassification.from_pretrained("haywoodsloan/ai-image-detector-dev-deploy", device_map="auto")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Image Classification

Validation Metrics

loss: 0.08581268042325974

f1: 0.9875742669136907

precision: 0.9817413946399085

recall: 0.9934768637532133

auc: 0.9953790023764837

accuracy: 0.981488090989126

Downloads last month
156,134
Safetensors
Model size
0.2B params
Tensor type
F32
Β·
Inference Providers NEW

Model tree for haywoodsloan/ai-image-detector-dev-deploy

Unable to build the model tree, the base model loops to the model itself. Learn more.

Spaces using haywoodsloan/ai-image-detector-dev-deploy 3