Downloads · 30 days
5
7% of all-time downloads
SrinivasaPragada/clinicalbert-finetuned
clinicalbert-finetuned is a text classification model from SrinivasaPragada. Use it when you need a label for a piece of text. It is set up for transformers.
This repository contains a fine-tuned version of the BioClinicalBERT model for classifying clinical text into various sections such as chief complaints, medications, and lab tests.
Downloads · 30 days
5
7% of all-time downloads
All-time downloads
67
Public
Repo size
3.5 GB
Likes
0
Public
Click a slice to open those files.
.bin433 MB · 100%
From the Hugging Face model README
This repository contains a fine-tuned version of the Bio_ClinicalBERT model for classifying clinical text into various sections such as chief complaints, medications, and lab tests.
You can use this model with the Hugging Face Transformers library:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("SrinivasaPragada/clinicalbert-finetuned")
model = AutoModelForSequenceClassification.from_pretrained("SrinivasaPragada/clinicalbert-finetuned")
inputs = tokenizer("Patient reports severe headaches and dizziness.", return_tensors="pt")
outputs = model(**inputs)