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

resnet-50

Date: 2026-11-14Commit: 34c2154Signed: 2DC28CC7B26A283B ✓

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

26M params410MBresnet-50safetensorspermissive
FactsParams26MSize410 MBFormatssafetensorsTaskimage classificationLicenseApache-2.0From sourcepermissive
$ fw get microsoft/resnet-50
# manifest sha256 019b5c33ee24… · 410 MB · 8 files
$ fw verify ./resnet-50 microsoft/resnet-50
From sourceHosted (signed)microsoft/resnet-50Last check: 2026-11-14 21:23 UTC

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

Overview

Size
410 MB
Weights
102 MB (safetensors)
Parameters
26M
Formats
safetensors
Task
image classification
License
Apache-2.0 (permissive)
Files
8, 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 34c2154. Shown as plain text with links; images open at the publisher.

ResNet-50 v1.5#

ResNet model pre-trained on ImageNet-1k at resolution 224x224. It was introduced in the paper Deep Residual Learning for Image Recognition by He et al.

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 (Residual Network) is a convolutional neural network that democratized the concepts of residual learning and skip connections. This enables to train much deeper models.

This is ResNet v1.5, which differs from the original model: in the bottleneck blocks which require downsampling, v1 has stride = 2 in the first 1x1 convolution, whereas v1.5 has stride = 2 in the 3x3 convolution. This difference makes ResNet50 v1.5 slightly more accurate (\~0.5% top1) than v1, but comes with a small performance drawback (~5% imgs/sec) according to Nvidia.

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 to classify an image of the COCO 2017 dataset into one of the 1,000 ImageNet classes:

from transformers import AutoImageProcessor, ResNetForImageClassification
import torch
from datasets import load_dataset

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

processor = AutoImageProcessor.from_pretrained("microsoft/resnet-50")
model = ResNetForImageClassification.from_pretrained("microsoft/resnet-50")

inputs = 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])

For more code examples, we refer to the documentation.

BibTeX entry and citation info#
@inproceedings{he2016deep,
  title={Deep residual learning for image recognition},
  author={He, Kaiming and Zhang, Xiangyu and Ren, Shaoqing and Sun, Jian},
  booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
  pages={770--778},
  year={2016}
}

Files

8 files · 410 MBWeights 102 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.23 KB98ccb431c012ebfe976280fbd45aea4cec7409935868ccecf3954370f96732a1
README.md2.64 KB04d061880708f068399982df268dcbf26c221847a3fe5c20053b209af594bd04
config.json69.6 KBa1be0f56d516d0b55f9844ce0fbfe5fb359195cba6c6c102d41ae6c202c84d5e
flax_model.msgpack102 MB1dba0174a596673117b14b7b97d27bbfef1928a94377b18b4cb849b9c8569b90
model.safetensors102 MB9c6061af1f450bb0847e529fd742aa5066017be379c71bbf5546b198e5b13a1e
preprocessor_config.json266 Bfd575b890da5a949493e1d1e7a70bfcb9e4b99fe444004d2dbfa253add254741
pytorch_model.bin103 MBff8163a1323333126706d649ce73ecd76e45d241b42d623dea6c723690cafe07
tf_model.h5103 MB57afa67ca9f9aa1657f38f100f8e5c7fc49550dafa7226793b48dae4426f5a69
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
34c2154c19 pinned now manifest updated, same commit2026-11-14 21:23 UTC8 files · 410 MB
34c2154c192026-11-14 21:23 UTC8 files · 410 MB

Use it

$ fw get microsoft/resnet-50
# manifest sha256 019b5c33ee24… · 410 MB · 8 files
$ fw verify ./resnet-50 microsoft/resnet-50
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/resnet-50.json --dir ./resnet-50 $ python3 fw.py verify ./resnet-50 ./microsoft__resnet-50.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/resnet-50 --revision 34c2154c194f829b11125337b98c8f5f9965ff19 --local-dir ./resnet-50

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
04d061880708f068399982df268dcbf26c221847a3fe5c20053b209af594bd04
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-50Date: 2026-11-14Commit: 34c2154Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/resnet-50
Pinned commit
34c2154c194f829b11125337b98c8f5f9965ff19
Manifest
resnet-50.json · .minisig
Manifest sha256
019b5c33ee24b740a44d4ee86f7fe34a6f72ef9b22848b8346b097a0d0c9c7fe
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-50.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/resnet-50.json.minisig $ minisign -Vm resnet-50.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-50
Open in Freeweights Studio

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

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

Variants

1 quantized or adapter build of resnet-50. 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