nvidia_mit-b2
nvidia · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
license: other tags:
- vision datasets:
- imagenet_1k widget:
- src: https://huggingface.co/datasets/hf-internal-testing/fixtures_ade20k/resolve/main/ADE_val_00000001.jpg example_title: House
- src: https://huggingface.co/datasets/hf-internal-testing/fixtures_ade20k/resolve/main/ADE_val_00000002.jpg example_title: Castle
SegFormer (b2-sized) encoder pre-trained-only
SegFormer encoder fine-tuned on Imagenet-1k. It was introduced in the paper SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers by Xie et al. and first released in this repository.
Disclaimer: The team releasing SegFormer did not write a model card for this model so this model card has been written by the Hugging Face team.
Model description
SegFormer consists of a hierarchical Transformer encoder and a lightweight all-MLP decode head to achieve great results on semantic segmentation benchmarks such as ADE20K and Cityscapes. The hierarchical Transformer is first pre-trained on ImageNet-1k, after which a decode head is added and fine-tuned altogether on a downstream dataset.
This repository only contains the pre-trained hierarchical Transformer, hence it can be used for fine-tuning purposes.
Intended uses & limitations
You can use the model for fine-tuning of semantic segmentation. 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 SegformerFeatureExtractor, SegformerForImageClassification
from PIL import Image
import requests
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
image = Image.open(requests.get(url, stream=True).raw)
feature_extractor = SegformerFeatureExtractor.from_pretrained("nvidia/mit-b2")
model = SegformerForImageClassification.from_pretrained("nvidia/mit-b2")
inputs = feature_extractor(images=image, return_tensors="pt")
outputs = model(**inputs)
logits = outputs.logits
# model predicts one of the 1000 ImageNet classes
predicted_class_idx = logits.argmax(-1).item()
print("Predicted class:", model.config.id2label[predicted_class_idx])
For more code examples, we refer to the documentation.
License
The license for this model can be found here.
BibTeX entry and citation info
@article{DBLP:journals/corr/abs-2105-15203,
author = {Enze Xie and
Wenhai Wang and
Zhiding Yu and
Anima Anandkumar and
Jose M. Alvarez and
Ping Luo},
title = {SegFormer: Simple and Efficient Design for Semantic Segmentation with
Transformers},
journal = {CoRR},
volume = {abs/2105.15203},
year = {2021},
url = {https://arxiv.org/abs/2105.15203},
eprinttype = {arXiv},
eprint = {2105.15203},
timestamp = {Wed, 02 Jun 2021 11:46:42 +0200},
biburl = {https://dblp.org/rec/journals/corr/abs-2105-15203.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:c392cff5471ec7540ce4a08cb372f62662ca034e&dn=nvidia_mit-b2Open magnet in torrent client · infohash c392cff5471ec7540ce4a08cb372f62662ca034e
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 3.3 KB (3,354 B) | b5e26b1c8babf3cf7445aa70827854459a3f1c62 | bc47c0b5ebb6a36683656ab0b8c534cb70b2c58d32d87a103717f4dfdcf0d868 |
| config.json | 68.4 KB (70,044 B) | 1e5025b00cf3728234caf34ba1d0f9b55c8fb79a | d9a879499e7d73e2b33af0638cee320b1070c8f0dadb620eac8907df3d18caa9 |
| preprocessor_config.json | 272 B (272 B) | b454cd05f17438fae28f9f201e2b4f7ef7fc5dda | d96ab2cb112985c19d5ea32f1d1f2369104fc78b1379f5ce26e33ca8646202a7 |
| pytorch_model.bin | 94.4 MB (98,978,917 B) | db8dd26cf2e53050f7f520ea31f6a9fc3fac39b1 | 4500b5665471b593e6757e15bcca5034f433fe3902fe8ec2b7230774a57f264f |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/nvidia_mit-b2/
- Slug
- nvidia_mit-b2
- Infohash
- c392cff5471ec7540ce4a08cb372f62662ca034e
- License
- custom/other license
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: nvidia_mit-b2.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | nvidia/mit-b2 |
|---|---|
| Revision (pinned) | 3bb39e8739149c3777d0325349b2a6c32c6413db |
| Fetched at | 2026-09-04T04:28:33Z |
| License at fetch | other |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-04T04:28:36Z
custom/other license94.5 MB (99,052,587 bytes)transformerspytorchsegformerimage-classificationvisionendpoints_compatible1 language (tf)paper: 2105.15203