alt.freeweights.vision / BiomedVLP-CXR-BERT-general
From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.visionSubject:

BiomedVLP-CXR-BERT-general

Date: 2026-11-15Commit: 6172dbfSigned: 2DC28CC7B26A283B ✓

Fill mask model with 110M parameters. Safetensors weights, 881 MB in all. Published by microsoft under MIT.

110M params881MBBiomedVLP-CXR-BERT-generalsafetensorspermissive
FactsParams110MSize881 MBFormatssafetensorsTaskfill maskLicenseMITFrom sourcepermissive
$ fw get microsoft/BiomedVLP-CXR-BERT-general
# manifest sha256 073160d36b8d… · 881 MB · 8 files
$ fw verify ./BiomedVLP-CXR-BERT-general microsoft/BiomedVLP-CXR-BERT-general
From sourceHosted (signed)microsoft/BiomedVLP-CXR-BERT-generalLast check: 2026-11-15 02:41 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
881 MB
Weights
440 MB (safetensors)
Parameters
110M
Formats
safetensors
Task
fill mask
License
MIT (permissive)
Files
8, each with a sha256
Publisher
microsoft
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:41 UTCpassed

Model card

From the publisher at commit 6172dbf. Shown as plain text with links; images open at the publisher.

CXR-BERT-general#

CXR-BERT is a chest X-ray (CXR) domain-specific language model that makes use of an improved vocabulary, novel pretraining procedure, weight regularization, and text augmentations. The resulting model demonstrates improved performance on radiology natural language inference, radiology masked language model token prediction, and downstream vision-language processing tasks such as zero-shot phrase grounding and image classification.

First, we pretrain CXR-BERT-general from a randomly initialized BERT model via Masked Language Modeling (MLM) on abstracts PubMed and clinical notes from the publicly-available MIMIC-III and MIMIC-CXR. In that regard, the general model is expected be applicable for research in clinical domains other than the chest radiology through domain specific fine-tuning.

CXR-BERT-specialized is continually pretrained from CXR-BERT-general to further specialize in the chest X-ray domain. At the final stage, CXR-BERT is trained in a multi-modal contrastive learning framework, similar to the CLIP framework. The latent representation of [CLS] token is utilized to align text/image embeddings.

Model variations#

ModelModel identifier on HuggingFaceVocabularyNote
CXR-BERT-generalmicrosoft/BiomedVLP-CXR-BERT-generalPubMed & MIMICPretrained for biomedical literature and clinical domains
CXR-BERT-specialized (after multi-modal training)microsoft/BiomedVLP-CXR-BERT-specializedPubMed & MIMICPretrained for chest X-ray domain

Citation#

The corresponding manuscript is accepted to be presented at the European Conference on Computer Vision (ECCV) 2022

@misc{https://doi.org/10.48550/arxiv.2204.09817,
  doi = {10.48550/ARXIV.2204.09817},
  url = {https://arxiv.org/abs/2204.09817},
  author = {Boecking, Benedikt and Usuyama, Naoto and Bannur, Shruthi and Castro, Daniel C. and Schwaighofer, Anton and Hyland, Stephanie and Wetscherek, Maria and Naumann, Tristan and Nori, Aditya and Alvarez-Valle, Javier and Poon, Hoifung and Oktay, Ozan},
  title = {Making the Most of Text Semantics to Improve Biomedical Vision-Language Processing},
  publisher = {arXiv},
  year = {2022},
}

Model Use#

Intended Use#

This model is intended to be used solely for (I) future research on visual-language processing and (II) reproducibility of the experimental results reported in the reference paper.

Primary Intended Use#

The primary intended use is to support AI researchers building on top of this work. CXR-BERT and its associated models should be helpful for exploring various clinical NLP & VLP research questions, especially in the radiology domain.

Out-of-Scope Use#

Any deployed use case of the model --- commercial or otherwise --- is currently out of scope. Although we evaluated the models using a broad set of publicly-available research benchmarks, the models and evaluations are not intended for deployed use cases. Please refer to the associated paper for more details.

Data#

This model builds upon existing publicly-available datasets:

These datasets reflect a broad variety of sources ranging from biomedical abstracts to intensive care unit notes to chest X-ray radiology notes. The radiology notes are accompanied with their associated chest x-ray DICOM images in MIMIC-CXR dataset.

Performance#

We demonstrate that this language model achieves state-of-the-art results in radiology natural language inference through its improved vocabulary and novel language pretraining objective leveraging semantics and discourse characteristics in radiology reports.

A highlight of comparison to other common models, including ClinicalBERT and PubMedBERT:

RadNLI accuracy (MedNLI transfer)Mask prediction accuracyAvg. # tokens after tokenizationVocabulary size
RadNLI baseline53.30---
ClinicalBERT47.6739.8478.98 (+38.15%)28,996
PubMedBERT57.7135.2463.55 (+11.16%)28,895
CXR-BERT (after Phase-III)60.4677.7258.07 (+1.59%)30,522
CXR-BERT (after Phase-III + Joint Training)65.2181.5858.07 (+1.59%)30,522

CXR-BERT also contributes to better vision-language representation learning through its improved text encoding capability. Below is the zero-shot phrase grounding performance on the MS-CXR dataset, which evaluates the quality of image-text latent representations.

Vision–Language Pretraining MethodText EncoderMS-CXR Phrase Grounding (Avg. CNR Score)
BaselineClinicalBERT0.769
BaselinePubMedBERT0.773
ConVIRTClinicalBERT0.818
GLoRIAClinicalBERT0.930
BioViLCXR-BERT1.027
BioViL-LCXR-BERT1.142

Additional details about performance can be found in the corresponding paper, Making the Most of Text Semantics to Improve Biomedical Vision-Language Processing.

Limitations#

This model was developed using English corpora, and thus can be considered English-only.

Further information#

Please refer to the corresponding paper, "Making the Most of Text Semantics to Improve Biomedical Vision-Language Processing", ECCV'22 for additional details on the model training and evaluation.

For additional inference pipelines with CXR-BERT, please refer to the HI-ML GitHub repository. The associated source files will soon be accessible through this link.

Files

8 files · 881 MBWeights 440 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.23 KB400b270bc8f5cb44fda65b1a4532ceca0fb452d0637425e861829560cf393ae2
LICENSE.md1.07 KB8542b3a65414366ae3228e8f1658e538ec95f9b8855599c9c6e36751d592be66
README.md8.19 KB76c9dc0046f73d1479b58357cc1334c3c164025907cc643daa9528345384fce4
config.json473 Bbba14d01bebfd1089c2ad9c5566ba6672c5140227251cb0e60ca8164af66d324
model.safetensors440 MB35308d9dfb22f6c477a84a0b53a7547edf43d19f53c1be7ea7c278e2ada62810
pytorch_model.bin441 MB56a37fd26964ad8e654a8552807a63ec4661f7ae25af345cb89010f03a4f05d3
tokenizer_config.json228 B88c4397c92e3a1800d3912e1edb5f3f849a155d72380beae353ea9df53611b53
vocab.txt235 KBe025f479c3a7ce6e248971bfe1b409708db0439e9488d30e254f81f27f75d678
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
6172dbfa7c pinned now2026-11-15 02:41 UTC8 files · 881 MB

Use it

$ fw get microsoft/BiomedVLP-CXR-BERT-general
# manifest sha256 073160d36b8d… · 881 MB · 8 files
$ fw verify ./BiomedVLP-CXR-BERT-general microsoft/BiomedVLP-CXR-BERT-general
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/BiomedVLP-CXR-BERT-general.json --dir ./BiomedVLP-CXR-BERT-general $ python3 fw.py verify ./BiomedVLP-CXR-BERT-general ./microsoft__BiomedVLP-CXR-BERT-general.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/BiomedVLP-CXR-BERT-general --revision 6172dbfa7c061d635a4b86761b80e324e1995496 --local-dir ./BiomedVLP-CXR-BERT-general

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE.md
Text sha256
8542b3a65414366ae3228e8f1658e538ec95f9b8855599c9c6e36751d592be66
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.visionSubject: BiomedVLP-CXR-BERT-generalDate: 2026-11-15Commit: 6172dbfSigned: 2DC28CC7B26A283B ✓
Upstream
microsoft/BiomedVLP-CXR-BERT-general
Pinned commit
6172dbfa7c061d635a4b86761b80e324e1995496
Manifest
BiomedVLP-CXR-BERT-general.json · .minisig
Manifest sha256
073160d36b8d05c3461afaf1b149208dbc664ad98ed627ddf4d41e505a4387fb
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:41 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/BiomedVLP-CXR-BERT-general.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/BiomedVLP-CXR-BERT-general.json.minisig $ minisign -Vm BiomedVLP-CXR-BERT-general.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/BiomedVLP-CXR-BERT-general
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. BiomedVLP-CXR-BERT-general.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX