Skip to content
ModelListedExternal
Download

Team Demo Resnet

This is a Hugging Face-compatible image-classification submission.

KindOtherVersionRevision 8ad7bc4

Model source

Kind
Other
File size
90.1 MB
Version
vRevision 8ad7bc4
Updated
Sep 16, 2026
Downloads
8
Source
Hugging Face

Source description

ResNet-50 ImageNet-20 Submission Demo

This is a Hugging Face-compatible image-classification submission.

Labels

apple, orange, bee, butterfly, camel, elephant, lion, tiger, squirrel, shark, turtle, crab, lobster, bicycle, pickup_truck, tractor, train, keyboard, television, wardrobe

Original ImageNet class indices used for filtering

{'apple': 948, 'orange': 950, 'bee': 309, 'butterfly': 323, 'camel': 354, 'elephant': 386, 'lion': 291, 'tiger': 292, 'squirrel': 335, 'shark': 2, 'turtle': 33, 'crab': 118, 'lobster': 122, 'bicycle': 444, 'pickup_truck': 717, 'tractor': 866, 'train': 820, 'keyboard': 508, 'television': 851, 'wardrobe': 893}

Required loading interface

from transformers import AutoImageProcessor, AutoModelForImageClassification

processor = AutoImageProcessor.from_pretrained(repo_id, revision=commit_hash)
model = AutoModelForImageClassification.from_pretrained(
    repo_id,
    revision=commit_hash,
    trust_remote_code=False,
)

Sources

1 source
Hugging FacePrimaryVersion 8ad7bc4aaddb9afb60be866e8a9d19656027d403
huggingface.co/huji-iml-image-hackathon-2026/team-demo-resnet/tree/8ad7bc4aaddb9afb60be866e8a9d19656027d403

Verified Sep 16

Model artifacts

1 artifact

model.safetensors

safetensors · 90.1 MB · SHA-256 c86763f07531…238b · Hugging Face

Download

Source excerpts

2 excerpts

--- library_name: transformers pipeline_tag: image-classification tags: - image-classification - resnet - hackathon --- # ResNet-50 ImageNet-20 Submission Demo This is a Hugging Face-compatible image-classification submission. ## Labels apple, orange, bee, butterfly, camel, elephant, lion, tiger, squirrel, shark, turtle, crab, lobster, bicycle, pickup_truck, tractor, train, keyboard, television, wardrobe ## Original ImageNet class indices used for filtering {'apple': 948, 'orange': 950, 'bee': 309, 'butterfly': 323, 'camel': 354, 'elephant': 386, 'lion': 291, 'tiger': 292, 'squirrel': 335, 'shark': 2, 'turtle': 33, 'crab': 118, 'lobster': 122, 'bicycle': 444, 'pickup_truck': 717, 'tractor': 866, 'train': 820, 'keyboard': 508, 'television': 851, 'wardrobe': 893} ## Required loading interface ```python from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained(repo_id, revision=commit_hash) model = AutoModelForImageClassification.from_pretrained( repo_id, revision=commit_hash, trust_remote_code=False, ) ```

Source context: 8 downloads · 0 likes · Pipeline image-classification · Library transformers · Repo huji-iml-image-hackathon-2026/team-demo-resnet