Instructions to use microsoft/BiomedVLP-BioViL-T with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/BiomedVLP-BioViL-T with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="microsoft/BiomedVLP-BioViL-T", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/BiomedVLP-BioViL-T", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Fix CXRBertOutput errors
#5
by sambt - opened
- The latest transformers complains that
CXRBertOutputis not a dataclass: https://github.com/huggingface/transformers/blob/v4.44.2/src/transformers/utils/generic.py#L354-L358 - And that it can't have more than one required field: https://github.com/huggingface/transformers/blob/v4.44.2/src/transformers/utils/generic.py#L370-L371
shruthib changed pull request status to merged