Instructions to use BAAI/SegVol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/SegVol with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BAAI/SegVol", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BAAI/SegVol", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add model card metadata
#6
by nielsr HF Staff - opened
This PR improves the model card by adding more metadata, such as:
library_name: transformers(indicated by the tokenizer and code snippet)pipeline_tag: image-segmentation- link to the Github repository
It also makes sure to link the model to https://huggingface.co/papers/2311.13385.