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)# pip install -U transformers accelerate # 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
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (06125ec2618df7b6c1c4c3ae8f47f65f6f7cf6e4) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1450a4d
-
commit files to HF hub
8c37e1d -
initial commit
438ed05