From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.visionSubject:

resnet-18

Date: 2026-11-14Commit: 65a5785Signed: 2DC28CC7B26A283B ✓

Image classification model with 12M parameters. Safetensors weights, 141 MB in all. Published by microsoft under Apache-2.0.

12M params141MBresnet-18safetensorspermissive
FactsParams12MSize141 MBFormatssafetensorsTaskimage classificationLicenseApache-2.0From sourcepermissive
$ fw get microsoft/resnet-18
# manifest sha256 5a2bb4c460d5… · 141 MB · 7 files
$ fw verify ./resnet-18 microsoft/resnet-18
From sourceHosted (signed)microsoft/resnet-18Last check: 2026-11-14 21:23 UTC

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

Overview

Size
141 MB
Weights
46.8 MB (safetensors)
Parameters
12M
Formats
safetensors
Task
image classification
License
Apache-2.0 (permissive)
Files
7, each with a sha256
Publisher
microsoft
Added
2026-11-14
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

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-14 21:23 UTCpassed

Model card

From the publisher at commit 65a5785. Shown as plain text with links; images open at the publisher.

ResNet#

ResNet model trained on imagenet-1k. It was introduced in the paper Deep Residual Learning for Image Recognition and first released in this repository.

Disclaimer: The team releasing ResNet did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description#

ResNet introduced residual connections, they allow to train networks with an unseen number of layers (up to 1000). ResNet won the 2015 ILSVRC & COCO competition, one important milestone in deep computer vision.

Image: model image

Intended uses & limitations#

You can use the raw model for image classification. See the model hub to look for fine-tuned versions on a task that interests you.

How to use#

Here is how to use this model:

>>> from transformers import AutoImageProcessor, AutoModelForImageClassification
>>> import torch
>>> from datasets import load_dataset

>>> dataset = load_dataset("huggingface/cats-image")
>>> image = dataset["test"]["image"][0]

>>> image_processor = AutoImageProcessor.from_pretrained("microsoft/resnet-18")
>>> model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-18")

>>> inputs = image_processor(image, return_tensors="pt")

>>> with torch.no_grad():
...     logits = model(**inputs).logits

>>> # model predicts one of the 1000 ImageNet classes
>>> predicted_label = logits.argmax(-1).item()
>>> print(model.config.id2label[predicted_label])
tiger cat

For more code examples, we refer to the documentation.

Files

7 files · 141 MBWeights 46.8 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 7 files with their sha256
FileSizesha256
.gitattributes1.23 KB98ccb431c012ebfe976280fbd45aea4cec7409935868ccecf3954370f96732a1
README.md2.26 KB556d4f64619e23ade3efdbdeda105bdc809e1340beabf915084696498ab699ce
config.json69.5 KB11a01bcc873444bb433140e5f30f3687356641ed923266d738eef1c3438f6d22
model.safetensors46.8 MB1cf00ee468998c23d084361b02cffadabacb5074105564c596b8079f77ecb126
preprocessor_config.json266 Bfd575b890da5a949493e1d1e7a70bfcb9e4b99fe444004d2dbfa253add254741
pytorch_model.bin46.8 MB420fc189b95a1d31fa95e1cf494c25e3cead05f88480b5578c5efcebeb0db57a
tf_model.h546.9 MB64320beb5ab72e9819844eb576a38ed9ffbd6edd73dc752a9c920801fb025c96
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
65a5785d91 pinned now manifest updated, same commit2026-11-14 21:23 UTC7 files · 141 MB
65a5785d912026-11-14 21:23 UTC7 files · 141 MB

Use it

$ fw get microsoft/resnet-18
# manifest sha256 5a2bb4c460d5… · 141 MB · 7 files
$ fw verify ./resnet-18 microsoft/resnet-18
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/resnet-18.json --dir ./resnet-18 $ python3 fw.py verify ./resnet-18 ./microsoft__resnet-18.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/resnet-18 --revision 65a5785d9156231087c481e0c7dd33a5ff6f7e3e --local-dir ./resnet-18

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-14
Text in
README.md
Text sha256
556d4f64619e23ade3efdbdeda105bdc809e1340beabf915084696498ab699ce
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: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.visionSubject: resnet-18Date: 2026-11-14Commit: 65a5785Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/resnet-18
Pinned commit
65a5785d9156231087c481e0c7dd33a5ff6f7e3e
Manifest
resnet-18.json · .minisig
Manifest sha256
5a2bb4c460d56c9ff1344fb9d4f63f3fa7f30182d55cbb04a7d88fe942e5c644
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:23 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/resnet-18.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/resnet-18.json.minisig $ minisign -Vm resnet-18.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

1 model in the catalog name this one as their parent.

Quantizations
1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/resnet-18
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. resnet-18.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of resnet-18. Each has its own license check and page.

From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
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