Instructions to use google/owlv2-base-patch16-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlv2-base-patch16-ensemble with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlv2-base-patch16-ensemble")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlv2-base-patch16-ensemble") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlv2-base-patch16-ensemble") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<|startoftext|>", | |
| "eos_token": "<|endoftext|>", | |
| "pad_token": "!", | |
| "unk_token": "<|endoftext|>" | |
| } | |