Instructions to use moonshotai/MoonViT-SO-400M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moonshotai/MoonViT-SO-400M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="moonshotai/MoonViT-SO-400M", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("moonshotai/MoonViT-SO-400M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add pipeline tag and library name
#1
by nielsr HF Staff - opened
This PR adds the pipeline_tag and library_name to the model card metadata for better discoverability and clarity. The pipeline_tag is set to image-feature-extraction reflecting the model's function, and library_name is set to transformers as the model is used via the Transformers library.
teowu changed pull request status to merged