Downloads · 30 days
84
11% of all-time downloads
samant/medical-ner
medical-ner is a token classification model from samant. Use it when you need labels on individual words, such as names. It is set up for transformers.
This model is a high-performance Named Entity Recognition (NER) model designed specifically for medical text. It identifies entities such as diseases, symptoms, procedures, medications, and healthcare providers with h…
Downloads · 30 days
84
11% of all-time downloads
All-time downloads
744
Public
Parameters
66.4M
1.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.pt871 MB · 62%
From the Hugging Face model README
This model is a high-performance Named Entity Recognition (NER) model designed specifically for medical text. It identifies entities such as diseases, symptoms, procedures, medications, and healthcare providers with high precision and recall, making it ideal for clinical and healthcare applications.
This model has been fine-tuned on a medical dataset to achieve high accuracy in extracting key entities from healthcare documents.
This model is intended for extracting medical entities from clinical or healthcare-related text. It can be used for:
The model can be further fine-tuned for:
This model is not designed for:
Users should validate extracted entities before use in critical applications, such as medical decision-making.
from transformers import pipeline
# Load the model
ner_pipeline = pipeline("ner", model="samant/medical-ner")
# Example usage
text = "The patient has been diagnosed with Type 2 Diabetes and prescribed Metformin."
entities = ner_pipeline(text)
print(entities)