Downloads · 30 days
34
12% of all-time downloads
anthonyyazdaniml/gliner-biomed-large-v1.0-medication-regimen-ner
gliner-biomed-large-v1.0-medication-regimen-ner is a token classification model from anthonyyazdaniml. Use it when you need labels on individual words, such as names. It is set up for gliner. The card lists the license as apache-2.0.
This model is a fine-tuned version of GLiNER-BioMed-large. This model is designed to extract details about drug administration, dosage, frequency, adverse drug events, and related clinical information, based on the N2…
Downloads · 30 days
34
12% of all-time downloads
All-time downloads
275
Public
Repo size
1.9 GB
Likes
2
Public
Click a slice to open those files.
.bin1.9 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of GLiNER-BioMed-large. This model is designed to extract details about drug administration, dosage, frequency, adverse drug events, and related clinical information, based on the N2C2 2018 Track 2 dataset.
One can find more details about the base GLiNER-BioMed models in the paper GLiNER-BioMed: A Suite of Efficient Models for Open Biomedical Named Entity Recognition. The GLiNER-BioMed code is available at https://github.com/ds4dh/GLiNER-biomed.
anthonyyazdaniml/gliner-biomed-large-v1.0-medication-regimen-neranthonyyazdaniml/gliner-biomed-bi-large-v1.0-medication-regimen-nerRecognized entity types:
DrugDrug dosageDrug strengthDrug formDrug administration routeFrequency of drug administrationTreatment durationReason for drug prescriptionAdverse drug eventFirst, ensure the gliner library is installed and up-to-date:
pip install gliner -U
Then, you can load and use the model in your Python scripts:
from gliner import GLiNER
model = GLiNER.from_pretrained("anthonyyazdaniml/gliner-biomed-large-v1.0-medication-regimen-ner")
text = """
The patient was prescribed Lisinopril 10 mg tablets to treat her hypertension.
She was instructed to take one tablet orally once daily for 14 days.
Shortly after starting the medication, she reported experiencing dizziness.
"""
labels = [
'Drug', 'Drug administration route',
'Reason for drug prescription', 'Adverse drug event',
'Drug dosage', 'Drug strength', 'Frequency of drug administration',
'Treatment duration', 'Drug form'
]
entities = model.predict_entities(text, labels, threshold=0.5)
for entity in entities:
print(entity["text"], "=>", entity["label"])
Expected output:
Lisinopril => Drug
10 mg => Drug strength
tablets => Drug form
hypertension => Reason for drug prescription
one => Drug dosage
tablet => Drug form
orally => Drug administration route
once daily => Frequency of drug administration
for 14 days => Treatment duration
dizziness => Adverse drug event
@misc{yazdani2025glinerbiomedsuiteefficientmodels,
title={GLiNER-biomed: A Suite of Efficient Models for Open Biomedical Named Entity Recognition},
author={Anthony Yazdani and Ihor Stepanov and Douglas Teodoro},
year={2025},
eprint={2504.00676},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2504.00676},
}