Instructions to use kakaobrain/align-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kakaobrain/align-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="kakaobrain/align-base") 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("kakaobrain/align-base") model = AutoModelForZeroShotImageClassification.from_pretrained("kakaobrain/align-base") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b7d1ffe2833b3775952e8649f9d8c40613d52e14661dd32d4f1e5f1933e63c69
- Size of remote file:
- 690 MB
- SHA256:
- ecaec21eaccd1a20d0eb735dc2fa6c53473e6400362b0ebc4b07592672f147df
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.