Instructions to use hf-internal-testing/tiny-random-OwlViTModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-OwlViTModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hf-internal-testing/tiny-random-OwlViTModel")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-OwlViTModel") model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-OwlViTModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
f0e27b2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:60db019ee6d1b5c7693f7a7bcb43e8b4a544030a362b8835c8ebf75f48a5869e
size 1600845
|