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")# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("nvidia/MambaVision-B-21K", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Set pipeline tag to image-classification and add code link
#1
by nielsr HF Staff - opened
This PR changes the pipeline tag to the more appropriate "image-classification", adds the "transformers" library name, and adds a link to the Github repository to the model card.
ahatamiz changed pull request status to merged