Swin-tiny classification
Captured config identifies SwinForImageClassification, and the card describes swin-tiny-patch4-window7-224 finetuned on the aiornot dataset.
Open Source Model Profile · Nahrawy
AIorNot is a Nahrawy Swin image classifier for real versus AI-generated images. According to the model card, it finetunes swin-tiny-patch4-window7-224.
AIorNot is published by Nahrawy as a swin-based image-classification model. The captured configuration identifies SwinForImageClassification. According to the model card, it uses swin-tiny-patch4-window7-224 finetuned on the aiornot dataset to classify real and AI-generated images.
Captured config identifies SwinForImageClassification, and the card describes swin-tiny-patch4-window7-224 finetuned on the aiornot dataset.
According to the model card, the model classifies real and AI-generated images with Real and AI labels.
The card documents loading with AutoFeatureExtractor and AutoModelForImageClassification from Nahrawy/AIorNot.
Source: Nahrawy/AIorNot
Captured: Unknown. Processed: 2026-09-07T19:34:34.612290+00:00.
Classification model used to classify real images and AI generated images. The model used is swin-tiny-patch4-window7-224 finetued on aiornot dataset. To use the model import torch from transformers import AutoFeatureExtractor, AutoModelForImageClassification labels = ["Real", "AI"] feature_extractor = AutoFeatureExtractor.from_pretrained("Nahrawy/AIorNot") model = AutoModelForImageClassification.from_pretrained("Nahrawy/AIorNot") input = feature_extractor(image, return_tensors="pt") with torch.no_grad(): outputs = model(**input) logits = outputs.logits prediction = logits.argmax(-1).item() label = labels[prediction]
F001F002F003F004F005F006F009F010F011F012F013