Instructions to use MrPotato/ReferenceSegmentationV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MrPotato/ReferenceSegmentationV2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="MrPotato/ReferenceSegmentationV2", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("MrPotato/ReferenceSegmentationV2", trust_remote_code=True) model = AutoModelForTokenClassification.from_pretrained("MrPotato/ReferenceSegmentationV2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
8c37e1d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:62c24cdc13d4c9952d63718d6c9fa4c287974249e16b7ade6d5a85e7bbb75626
size 17082660
|