Instructions to use facebook/metaclip-2-worldwide-l14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/metaclip-2-worldwide-l14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="facebook/metaclip-2-worldwide-l14") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("facebook/metaclip-2-worldwide-l14") model = AutoModelForZeroShotImageClassification.from_pretrained("facebook/metaclip-2-worldwide-l14", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b0d93691f393fafe574a69169ecd1ba13e3528694fda2d5f3d546ad1fe42071c
- Size of remote file:
- 4.33 GB
- SHA256:
- 908e4deaa66e93dc90410e1b9742786a39cd522dee22c67c1c4f2c1725723989
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.