Instructions to use google/owlv2-large-patch14-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlv2-large-patch14-ensemble with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlv2-large-patch14-ensemble")# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlv2-large-patch14-ensemble") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlv2-large-patch14-ensemble") - Notebooks
- Google Colab
- Kaggle
Update code snippet
#9
by nielsr HF Staff - opened
This PR updates the code snippet based on https://github.com/huggingface/transformers/pull/30686.
merve changed pull request status to merged