alt.freeweights.vision / ai_vs_real_image_detection
From: dima806 <huggingface.co/dima806>Newsgroups: alt.freeweights.visionSubject:

ai_vs_real_image_detection

Date: 2026-11-15Commit: 5d64768Signed: 2DC28CC7B26A283B ✓

Image classification model with 86M parameters. Safetensors weights, 4.81 GB in all. Published by dima806 under Apache-2.0.

86M params4.81GBai_vs_real_image_detectionsafetensorspermissive
FactsParams86MSize4.81 GBFormatssafetensorsTaskimage classificationLicenseApache-2.0From sourcepermissive
$ fw get dima806/ai_vs_real_image_detection
# manifest sha256 b3bae28e8c8e… · 4.81 GB · 39 files
$ fw verify ./ai_vs_real_image_detection dima806/ai_vs_real_image_detection
From sourceHosted (signed)dima806/ai_vs_real_image_detectionLast check: 2026-11-15 02:51 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of vit-base-patch16-224-in21k.

Overview

Size
4.81 GB
Weights
1.37 GB (safetensors)
Parameters
86M
Formats
safetensors
Task
image classification
License
Apache-2.0 (permissive)
Files
39, each with a sha256
Publisher
dima806
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: google/vit-base-patch16-224-in21k

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:51 UTCpassed

Model card

From the publisher at commit 5d64768. Shown as plain text with links; images open at the publisher.

Checks whether the image is real or fake (AI-generated).

Note to users who want to use this model in production:

Beware that this model is trained on a dataset collected about 2 years ago. Since then, there is a remarkable progress in generating deepfake images with common AI tools, resulting in a significant concept drift. To mitigate that, I urge you to retrain the model using the latest available labeled data. As a quick-fix approach, simple reducing the threshold (say from default 0.5 to 0.1 or even 0.01) of labelling image as a fake may suffice. However, you will do that at your own risk, and retraining the model is the better way of handling the concept drift.

See https://www.kaggle.com/code/dima806/cifake-ai-generated-image-detection-vit for more details.

Image: image/png

Classification report:

              precision    recall  f1-score   support

        REAL     0.9868    0.9780    0.9824     24000
        FAKE     0.9782    0.9870    0.9826     24000

    accuracy                         0.9825     48000
   macro avg     0.9825    0.9825    0.9825     48000
weighted avg     0.9825    0.9825    0.9825     48000

Files

39 files · 4.81 GBWeights 1.37 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 39 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md1.36 KBdd98bf95cef3cb0b6140aebd12cd37559279a4c85706f7ba34ca2d7b88712791
checkpoint-1688/config.json720 B2f59be713c8c5f2fe637b141202774a7958f6eee7c010561d52810acae3a554f
checkpoint-1688/model.safetensors343 MB0acd0809a91fbda050c043f3da7365337400c55919df09a19e35b894688ca742
checkpoint-1688/optimizer.pt687 MBe55e677cd029ab2b776aa5e69f3899c566188a3d5292434b5162b94fb91106f0
checkpoint-1688/preprocessor_config.json325 Ba34861a24e781942424ad790b82bc99348404a2e64ea882de88c40905851698d
checkpoint-1688/rng_state.pth14.6 KB35dd41dbdade0d85dcb49293d38c8af374fb7bf9f97e684440c6433b7741ccd0
checkpoint-1688/scheduler.pt627 B9c0f7e2a4c019b060ffa2f24bb208a708f92f1b2edbefba36ad4b688c7af9995
checkpoint-1688/trainer_state.json1.24 KBd178ed61b6b26b5ff0954287390c806e0ee875dfad6578e635a2a0c1ab581c64
checkpoint-1688/training_args.bin4.41 KBd14bd597b4dd2f2f97f20186fbbcb3217b8df98a4856b1006cc2070ea15144e0
checkpoint-2250/config.json720 B44fab7b53b09d27a073fc7c911cf1fa0f51c5b204525ada5c62956f335cd8d33
checkpoint-2250/model.safetensors343 MB4f5d0d4e8e6475faccca9385a2869648bb1f18d3f64c0239ad2bca909d3adc50
checkpoint-2250/optimizer.pt687 MB0652cc80a8fcc5c0f5faf5901a97cc1915d79da1c5847c4b8a9bad848f583c78
checkpoint-2250/preprocessor_config.json578 Bff4f6287fdbe3e1e291b826aa8b7d8e7d7789a1b8a3cc62c817391b5d9e6aa4a
checkpoint-2250/rng_state.pth14.6 KB569e899ecb30020e3d6857d0cbf3a3228374ddf2932c9b8b8adf0e78ae25151f
checkpoint-2250/scheduler.pt627 B9a8faceeb061a9bdf7c8f79339a0e17d63452ad18a23b6433e51c9798503c7d0
checkpoint-2250/trainer_state.json1.65 KB127ad72c4aeac652ae85664646febb3a803d27cfe9476be560996ec981dd36be
checkpoint-2250/training_args.bin4.41 KB7127130e5d781b7792e2ace85631e70aa9562b8622e9997b73b1f5021b0d82e0
checkpoint-3376/config.json720 Bdfa9bf845982b20bcd47a69fb30486c39a61c9b5119d741756302f5be9809043
checkpoint-3376/model.safetensors343 MBe29987acb635c72bf0ddbf8e97d450100a659a7a3045868b39e0895e9ccd6886
checkpoint-3376/optimizer.pt687 MB1ffef92ad6ce1ef84e57372a66fae38101844582d0edd651062e1e1ef1e11fa4
checkpoint-3376/preprocessor_config.json325 Ba34861a24e781942424ad790b82bc99348404a2e64ea882de88c40905851698d
checkpoint-3376/rng_state.pth14.6 KB7cb07e277af58db9873c66c481f77c9d8a2f7df5512c2a1734d50061fb0c7a28
checkpoint-3376/scheduler.pt627 Bb2934a790c6f18e31f2cdba5c9f1f6a967665082adb6a4e04fc37a3f82da9c5f
checkpoint-3376/trainer_state.json1.75 KB95bfb9c938ddab737d54d6700395eb2fa1d0878b40da58a4cb15dc33ade6303c
checkpoint-3376/training_args.bin4.22 KB0b5751cc1b19de155113e80e3d15ea12b0526a24b463beafde117a2b3456046b
checkpoint-8440/config.json719 Bf0bfed0e1c800eb62dec59d0cf1a618f895f71cbef7a90fd74f9c4bff83dd6c0
checkpoint-8440/optimizer.pt687 MB1b583e1fdf5005c72375e1a3a5f75f6f98f02ea7b896b335ea250c58d7c4ceb4
checkpoint-8440/preprocessor_config.json325 Ba34861a24e781942424ad790b82bc99348404a2e64ea882de88c40905851698d
checkpoint-8440/pytorch_model.bin343 MBc3ee9511c4aea31585701b13cc75639e26bb4437581af161244d4996fc509d57
checkpoint-8440/rng_state.pth14.6 KB675741f06bf0154188a79f5025905c62bfed9ad5666579ef8150b2dd8a73296f
checkpoint-8440/scheduler.pt627 B39db12678132f9b7e5c5e223ce35b171c6743ec311ddf7d7ba16f4f26cdf58aa
checkpoint-8440/trainer_state.json3.63 KB57cb201c19ef66889bc38e9695584e7f53d0f0b21280ae982a1b50f8f3cef212
checkpoint-8440/training_args.bin4.03 KB421bdc39b2ea43219c073f34e0d65a8548d36830f975957689c797414e940423
config.json720 B44fab7b53b09d27a073fc7c911cf1fa0f51c5b204525ada5c62956f335cd8d33
model.safetensors343 MB4f5d0d4e8e6475faccca9385a2869648bb1f18d3f64c0239ad2bca909d3adc50
preprocessor_config.json578 Bff4f6287fdbe3e1e291b826aa8b7d8e7d7789a1b8a3cc62c817391b5d9e6aa4a
pytorch_model.bin343 MBc3ee9511c4aea31585701b13cc75639e26bb4437581af161244d4996fc509d57
training_args.bin4.41 KB7127130e5d781b7792e2ace85631e70aa9562b8622e9997b73b1f5021b0d82e0
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
5d64768367 pinned now2026-11-15 02:51 UTC39 files · 4.81 GB

Use it

$ fw get dima806/ai_vs_real_image_detection
# manifest sha256 b3bae28e8c8e… · 4.81 GB · 39 files
$ fw verify ./ai_vs_real_image_detection dima806/ai_vs_real_image_detection
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/dima806/ai_vs_real_image_detection.json --dir ./ai_vs_real_image_detection $ python3 fw.py verify ./ai_vs_real_image_detection ./dima806__ai_vs_real_image_detection.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download dima806/ai_vs_real_image_detection --revision 5d647683672ffd0080441f4e8b4345934c44cc61 --local-dir ./ai_vs_real_image_detection

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
dd98bf95cef3cb0b6140aebd12cd37559279a4c85706f7ba34ca2d7b88712791
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: dima806 <huggingface.co/dima806>Newsgroups: alt.freeweights.visionSubject: ai_vs_real_image_detectionDate: 2026-11-15Commit: 5d64768Signed: 2DC28CC7B26A283B ✓
Upstream
dima806/ai_vs_real_image_detection
Pinned commit
5d647683672ffd0080441f4e8b4345934c44cc61
Manifest
ai_vs_real_image_detection.json · .minisig
Manifest sha256
b3bae28e8c8e36eb5f980d37b989c38d65b9d99c1f401e06aed17634f74ae90d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:51 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/dima806/ai_vs_real_image_detection.json $ curl -O https://freeweights.allternit.com/manifests/dima806/ai_vs_real_image_detection.json.minisig $ minisign -Vm ai_vs_real_image_detection.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

google/vit-base-patch16-224-in21k · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download dima806/ai_vs_real_image_detection
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. ai_vs_real_image_detection.json. Provenance. Takedown history: none.
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX
From: timm <huggingface.co/timm>Subject: beit_base_patch16_224.in22k_ft_in22k_in1k