How to use Charangan/MedBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Charangan/MedBERT")
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("Charangan/MedBERT") model = AutoModelForPreTraining.from_pretrained("Charangan/MedBERT")