BiomedVLP-CXR-BERT-general

Microsoft (United States) · Other (specialist)

🧠 110M📄 512 context🔓 Open weights (downloadable)⚖️ mit

From the Hugging Face model card

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.

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.

Limitations

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.

Benchmarks (from the model card)

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…65.2181.5858.07 (+1.59%)30,522
Vision–Language Pretraining MethodText EncoderMS-CXR Phrase Grounding (Avg. CNR Score)
BaselineClinicalBERT0.769
BaselinePubMedBERT0.773

Source: Hugging Face · microsoft/BiomedVLP-CXR-BERT-general · License: mit

Hardware and running it

Local Weights are published and it runs on your own hardware.

Minimum Q4
0.1 GB
Recommended Q8
0.1 GB
Full quality FP16
0.3 GB

On common hardware

RTX 4060 · 8 GBGreatFP16
RTX 4090 · 24 GBGreatFP16
RTX 5090 · 32 GBGreatFP16
Mac M4 Max · 128 GBGreatFP16
H100 · 80 GBGreatFP16
8× H100 · 640 GBGreatFP16

Speeds are estimates. estimated speed for one user, from memory bandwidth

Links come from the vendor's official site and the model card the vendor published · Updated: