Downloads · 30 days
13
2% of all-time downloads
sarahmiller137/roberta-base-ft-m3-lc
roberta-base-ft-m3-lc is a text classification model from sarahmiller137. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as cc.
This model is the roberta-base model that has been finetuned using radiology report texts from the MIMIC-III database. The task performed was text classification in order to benchmark this model with a selection of ot…
Downloads · 30 days
13
2% of all-time downloads
All-time downloads
540
Public
Parameters
125M
997 MB on disk
Likes
0
Public
Click a slice to open those files.
.bin499 MB · 50%
How the weights are stored.
F32125M · 100%
From the Hugging Face model README
This model is the roberta-base model that has been finetuned using radiology report texts from the MIMIC-III database. The task performed was text classification in order to benchmark this model with a selection of other variants of BERT for the classifcation of MIMIC-III radiology report texts into two classes. Labels of [0,1] were assigned to radiology reports in MIMIC-III that were linked to an ICD9 diagnosis code for lung cancer = 1 and a random sample of reports which were not linked to any type of cancer diagnosis code at all = 0.
This model is intended to be used to classify texts to identify the presence of lung cancer. The model will predict lables of [0,1].
Note that the dataset and model may not be fully represetative or suitable for all needs it is recommended that the paper for the dataset and the base model card should be reviewed before use -
Load the model from the library using the following checkpoints:
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("sarahmiller137/roberta-base-ft-m3-lc")
model = AutoModel.from_pretrained("sarahmiller137/roberta-base-ft-m3-lc")