To use our fine-tuned BioBERT model to remove references to priors from radiology reports, run the following:
from transformers import AutoTokenizer, AutoModelForTokenClassification
modelname = "rajpurkarlab/gilbert"
tokenizer = AutoTokenizer.from_pretrained(modelname)
model = AutoModelForTokenClassification.from_pretrained(modelname)
- Downloads last month
- 198
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.