BiomedVLP-CXR-BERT-specialized
Microsoft (United States) · Other (specialist)
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 accuracy | Avg. tokens after tokenization | Vocabulary size | |
|---|---|---|---|---|
| RadNLI baseline | 53.30 | - | - | - |
| ClinicalBERT | 47.67 | 39.84 | 78.98 (+38.15%) | 28,996 |
| PubMedBERT | 57.71 | 35.24 | 63.55 (+11.16%) | 28,895 |
| CXR-BERT (after Phase-III) | 60.46 | 77.72 | 58.07 (+1.59%) | 30,522 |
| CXR-BERT (after Phase-III + Joint… | 65.21 | 81.58 | 58.07 (+1.59%) | 30,522 |
| Vision–Language Pretraining Method | Text Encoder | MS-CXR Phrase Grounding (Avg. CNR Score) | ||
| Baseline | ClinicalBERT | 0.769 | ||
| Baseline | PubMedBERT | 0.773 |
Source: Hugging Face · microsoft/BiomedVLP-CXR-BERT-specialized · 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 GB | Great | FP16 |
|---|---|---|
| RTX 4090 · 24 GB | Great | FP16 |
| RTX 5090 · 32 GB | Great | FP16 |
| Mac M4 Max · 128 GB | Great | FP16 |
| H100 · 80 GB | Great | FP16 |
| 8× H100 · 640 GB | Great | FP16 |
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: