Instructions to use microsoft/BiomedVLP-CXR-BERT-specialized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/BiomedVLP-CXR-BERT-specialized with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/BiomedVLP-CXR-BERT-specialized", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/BiomedVLP-CXR-BERT-specialized", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update modeling_cxrbert.py
#7
by kendallpark - opened
PR try 2
I'm also having this issue. I've brought this to the attention of the maintainers of the source repo: https://github.com/microsoft/hi-ml/issues/956
fepegar changed pull request status to merged
Thanks for fixing the issue and improving the code, @kendallpark .
And thanks again for reporting, @johnflavin .