Instructions to use google/owlvit-large-patch14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlvit-large-patch14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlvit-large-patch14")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlvit-large-patch14") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlvit-large-patch14", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update preprocessor_config.json (#5)
- Update preprocessor_config.json (751d14551e454c21f49135d340233a51f25ba73c) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>f8a3bb9
-
Fix config bug (#4)
- Fix config bug (22bce655f54396034e2102e19e9ffcbbff6a57e9) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>2ea1c6a
-
Added model and processor
Alara Dirik29432f9