Downloads · 30 days
11.8K
0% of all-time downloads
blaze999/Medical-NER
Medical-NER is a token classification model from blaze999. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
11.8K
0% of all-time downloads
All-time downloads
4.3M
Public
Parameters
184M
1.7 GB on disk
Likes
231
Public
Click a slice to open those files.
.safetensors736 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of DeBERTa on the PubMED Dataset.
Medical NER Model finetuned on BERT to recognize 41 Medical entities.
The following hyperparameters were used during training:
The easiest way is to load the inference api from huggingface and second method is through the pipeline object offered by transformers library.
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Clinical-AI-Apollo/Medical-NER", aggregation_strategy='simple')
result = pipe('45 year old woman diagnosed with CAD')
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Clinical-AI-Apollo/Medical-NER")
model = AutoModelForTokenClassification.from_pretrained("Clinical-AI-Apollo/Medical-NER")
Author: Saketh Mattupalli