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
10
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.