Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HF BERT configs for Microsoft PubMed CLIP model #491

Merged
merged 3 commits into from
Apr 16, 2023
Merged

Add HF BERT configs for Microsoft PubMed CLIP model #491

merged 3 commits into from
Apr 16, 2023

Conversation

rwightman
Copy link
Collaborator

@rwightman rwightman commented Apr 16, 2023

TODO need to figure out best way of handling the change in default user_pooler_output from True to False for the PubMed config https://github.com/usuyama/open_clip/blob/01a53cc46662d8b28da0c9d73271bfb8f6f4b20d/src/open_clip/hf_model.py#L69

NOTE this is to support https://huggingface.co/microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224

@rwightman rwightman marked this pull request as draft April 16, 2023 00:17
@usuyama
Copy link

usuyama commented Apr 16, 2023

Thank you so much for this PR!

Excited for our BiomedCLIP to be fully onboard on HuggingFace/open_clip!

@usuyama
Copy link

usuyama commented Apr 16, 2023

@rwightman rwightman marked this pull request as ready for review April 16, 2023 15:21
@rwightman rwightman merged commit ff2df73 into main Apr 16, 2023
@rwightman rwightman deleted the pubmed branch April 16, 2023 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants