chuhac/BiomedCLIP-vit-bert-hf

Model

8

stars

5

commits

6

repos using this model

2

linked in READMEs

May 31, 2024

updated

clip
custom_code
feature-extraction
pytorch
safetensors
transformers
zero-shot-classification

README

Huggingface-friendly BiomedCLIP

  1. pure torch and huggingface-based implementation of the original microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224
  2. 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)

Contributors

chuhac

4 commits

SFconvertbot

1 commits

chuhac/BiomedCLIP-vit-bert-hf

Model

8

stars

5

commits

6

repos using this model

2

linked in READMEs

May 31, 2024

updated

clip
custom_code
feature-extraction
pytorch
safetensors
transformers
zero-shot-classification

README

Huggingface-friendly BiomedCLIP

  1. pure torch and huggingface-based implementation of the original microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224
  2. 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)

Contributors

chuhac

4 commits

SFconvertbot

1 commits