To use our fine-tuned BioBERT model to predict whether a sentence from a radiology reports makes reference to priors, run the following:
from transformers import AutoTokenizer, AutoModelForTokenClassification
modelname = "rajpurkarlab/filbert"
tokenizer = AutoTokenizer.from_pretrained(modelname)
model = AutoModelForTokenClassification.from_pretrained(modelname)
- Downloads last month
- 11
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.