BiomedCLIP image retrieval on PMC-PaIR
Authors/Creators
Description
PMC-PaIR retrieval v1.0.3
This release makes the two seed-42 fine-tuned checkpoints downloadable from GitHub under MIT, with Microsoft's BiomedCLIP notice. The default downloader now uses these versioned release attachments and verifies their sizes and SHA-256 checksums. Training code, checkpoint selection, and reported results are unchanged from v1.0.2.
This release contains the two fine-tuned BiomedCLIP checkpoints of the PMC-PaIR image-retrieval benchmark:
image_to_image.safetensors: the fine-tuned vision tower, for image-only queries.image_text_to_image.safetensors: the fine-tuned full model, for queries that combine an image with its pair descriptions.
Each file is the checkpoint of one training run (seed 42), selected by validation Recall@10. They are meant for use with the PMC-PaIR retrieval code, version 1.0.3 (https://github.com/GuyShmueli/pmc-pair-retrieval/tree/v1.0.3), which holds the training configurations, the evaluation code and the saved results. Place both files in the weights/ folder of that repository, next to their sidecars, and check them with sha256sum -c WEIGHTS_SHA256SUMS.
License
The weights are released under the MIT license (file LICENSE). They are fine-tuned from Microsoft's BiomedCLIP, and LICENSE keeps Microsoft's copyright and license notice, as Microsoft's MIT license requires.
Provenance
The weights were fine-tuned from BiomedCLIP (microsoft/BiomedCLIP-PubMedBERT_256-vit_base_patch16_224, revision 9f341de24bfb00180f1b847274256e9b65a3a32e) on the training split of the PMC-PaIR dataset (https://doi.org/10.5281/zenodo.23439169). The training images come from PubMed Central open-access articles and keep their own terms, which the dataset's licenses.csv records for each image. The dataset's withheld.csv lists the images whose files are not distributed, with reasons. The MIT license covers the weights to the extent of the authors' rights and grants no rights in the training images.
Intended use and validation limits
The weights were developed for research on medical image retrieval and for reproducing the results reported for PMC-PaIR. They were evaluated only with automatic retrieval metrics on the PMC-PaIR validation and test splits, using the three-view image input of the retrieval code. Relevance in that evaluation means a recorded image pair of the dataset, and those pairs were derived from figure captions and case text, not from image pixels. The weights have not been validated for clinical decision-making or production deployment. This guidance adds no restrictions to the MIT license.
Files
| File | Contents | Selected epoch | Size (bytes) | SHA-256 |
|---|---|---:|---:|---|
| image_to_image.safetensors | vision tower, 151 tensors | 11 | 344,782,408 | cb24963bcb0ddba73a1d7e4a1a4539933b05ee9b8bf8d8f3454ca5c7c9949622 |
| image_text_to_image.safetensors | full model, 351 tensors | 21 | 783,652,708 | 4d159e28b2ab1621e463bc3be8aab907356b83536d0ac9698620f32dabd54292 |
| image_to_image.json, image_text_to_image.json | training configuration and validation metrics of each checkpoint | | | |
| LICENSE | MIT license, with Microsoft's notice for BiomedCLIP | | | |
Verify release attachments
Download all attachments into one directory and run sha256sum -c SHA256SUMS. This attachment manifest uses filenames relative to that directory. After placing the weight files in the repository's weights/ directory, use the repository's WEIGHTS_SHA256SUMS as described above.
Notes
Files
GuyShmueli/pmc-pair-retrieval-v1.0.3.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/GuyShmueli/pmc-pair-retrieval/tree/v1.0.3 (URL)
Software
- Repository URL
- https://github.com/GuyShmueli/pmc-pair-retrieval