Instructions to use nvidia/MambaVision-L2-512-21K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/MambaVision-L2-512-21K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nvidia/MambaVision-L2-512-21K", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("nvidia/MambaVision-L2-512-21K", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Improve model card: Set pipeline tag, add library name, fix license link
#1
by nielsr HF Staff - opened
This PR updates the pipeline tag to image-classification. It also adds the transformers library name to the YAML metadata, letting the "how to use" button appear and fixes the broken license link.
ahatamiz changed pull request status to merged