Fill-Mask
Transformers
PyTorch
English
bert
biobert
radbert
language-model
uncased
radiology
biomedical
Instructions to use StanfordAIMI/RadBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use StanfordAIMI/RadBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="StanfordAIMI/RadBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("StanfordAIMI/RadBERT") model = AutoModelForMaskedLM.from_pretrained("StanfordAIMI/RadBERT") - Inference
- Notebooks
- Google Colab
- Kaggle