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"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("kakaobrain/align-base") model = AutoModelForZeroShotImageClassification.from_pretrained("kakaobrain/align-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from kakaobrain/align-base: direct link, hf CLI and curl.
- Browser
- Download file 690 MB
-
https://huggingface.co/kakaobrain/align-base/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://kakaobrain/align-base/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/kakaobrain/align-base/resolve/main/pytorch_model.bin
690 MB
- 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.