Instructions to use nvidia/MambaVision-L2-1K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/MambaVision-L2-1K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nvidia/MambaVision-L2-1K", 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-1K", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update pipeline tag, add Github link and library name
#1
by nielsr HF Staff - opened
This PR:
- Updates the pipeline tag from
image-feature-extractiontoimage-classificationfor better searchability. - Adds the Github link to the model card.
- Adds the
library_nameto let people know it's compatible with thetransformerslibrary.
ahatamiz changed pull request status to merged