Instructions to use hf-internal-testing/tiny-random-Owlv2ForObjectDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-Owlv2ForObjectDetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-object-detection", model="hf-internal-testing/tiny-random-Owlv2ForObjectDetection")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-Owlv2ForObjectDetection") model = AutoModelForZeroShotObjectDetection.from_pretrained("hf-internal-testing/tiny-random-Owlv2ForObjectDetection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-Owlv2ForObjectDetection: direct link, hf CLI and curl.
- Browser
- Download file 1.48 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-Owlv2ForObjectDetection/resolve/main/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-Owlv2ForObjectDetection/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-Owlv2ForObjectDetection/resolve/main/model.safetensors
1.48 MB
- Xet hash:
- e75337b80141fe9fc1ebdff4a32e844eea2bbbf17718cbf6f6559d9a53bc4eec
- Size of remote file:
- 1.48 MB
- SHA256:
- e69e2bdf27b5fe17d6a32a53dd4a1c34098c8e643db8308a57c9382d829aa7f5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.