Zero-Shot Classification
Transformers
PyTorch
Safetensors
English
clip
feature-extraction
custom_code
Instructions to use chuhac/BiomedCLIP-vit-bert-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chuhac/BiomedCLIP-vit-bert-hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True) model = AutoModel.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Ctrl+K