Run this model with HF Jobs
Run google/owlvit-base-patch32 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/google/owlvit-base-patch32. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/google/owlvit-base-patch32 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use google/owlvit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlvit-base-patch32 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlvit-base-patch32")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlvit-base-patch32") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlvit-base-patch32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update preprocessor_config.json (#5)
- Update preprocessor_config.json (d5fe4813d5c6c716bfeb6fd64450682b78dc3523) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>17740e1
-
Update preprocessor_config.json (#4)
- Update preprocessor_config.json (762acffaca2b50d60dffeff460b91750f9fbc86f) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>7cc5534
-
Added model and processor
Alara Dirikf7f8a2a