Run this model with HF Jobs
Run google/owlvit-base-patch16 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-patch16. 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-patch16 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-patch16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/owlvit-base-patch16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="google/owlvit-base-patch16")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("google/owlvit-base-patch16") model = AutoModelForZeroShotObjectDetection.from_pretrained("google/owlvit-base-patch16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update preprocessor_config.json
Alara DirikRemoves rescale argument, sets do_center_crop to falseb623fb3
-
Fix config bug (#6)
- Fix config bug (dfa29501e801fac0d96dfe80c6de1a5dbf424170) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>209b820 -
Disable inference (#4)
- Disable inference (89274da19228e9640ee049ec1cd88da6d5c5e09d) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>1b1b73b -
Fix feature extractor resizing bug (#5)
- Fix feature extractor resizing bug (9cb3acb5f711ff82a0329b5f2084d8ac7135e4eb) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>524231d
-
Update README.md (#3)
- Update README.md (9ab2d9d8cbaec92a365f72114296e556179b9710) - Update README.md (29d290da9e9fafa27aee9680b090d1e3be5cca5d) Co-authored-by: Alara Dirik <adirik@users.noreply.huggingface.co>e532714
-
Added model and processor
Alara Dirike1ab912 -
Update config.json
Alara Dirik8936ff7
-
Update config.json
Alara Dirik487edc7
-
Update tokenizer_config.json
Alara Dirik58f158d -
Added model and processor
Alara Dirik6c817b0
-
Update config.json
Alara Dirik3b8c45f -
Update config.json
Alara Dirikd942204 -
Added model and processor
Alara Dirikfa9c4a0 -
initial commit
Alara Dirik9512b75