chuhac/BiomedCLIP-vit-bert-hf
814k
Huggingface-friendly BiomedCLIP
- pure torch and huggingface-based implementation of the original microsoft/BiomedCLIP-PubMedBERT256-vitbasepatch16224
- rename the checkpoint state key names.
Usage
from transformers import AutoModel, AutoProcessor
model = AutoModel.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("chuhac/BiomedCLIP-vit-bert-hf", trust_remote_code=True)