Instructions to use nvidia/MambaVision-B-21K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/MambaVision-B-21K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nvidia/MambaVision-B-21K", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("nvidia/MambaVision-B-21K", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update modeling_mambavision.py
Verified signatureThere seems to be a typo in torch.nn.cross_entropy. This seems to be torch.nn.functional.cross_entropy0b6af33
-
Update modeling_mambavision.py
Verified signaturebfe552a
-
Set pipeline tag to image-classification and add code link (#1)
Verified signature- Set pipeline tag to image-classification and add code link (585e5761059c378e13dc562f32e1ca8571161e7c) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>c834b1c
-
Update README.md
Verified signature473e45a -
Update config.json
Verified signaturecc6e94d -
Upload mambavision_base_21k.pth.tar
Verified signature5c62ba9 -
Create LICENSE
Verified signature78c931e -
Update README.md
Verified signatureab797f0 -
Update config.json
Verified signaturea98a042 -
Upload model
Verified signaturee55761e -
Upload model
Verified signaturec9bf43c -
initial commit
Verified signature47518ab