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="Hemgg/AI-vs-Real-Image-Detection")
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("Hemgg/AI-vs-Real-Image-Detection")
model = AutoModelForImageClassification.from_pretrained("Hemgg/AI-vs-Real-Image-Detection")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Key notes

  • Loss: 0.1021
  • Accuracy: 0.9604
Downloads last month
496
Safetensors
Model size
85.8M params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Hemgg/AI-vs-Real-Image-Detection

Quantizations
1 model

Spaces using Hemgg/AI-vs-Real-Image-Detection 5