Downloads · 30 days
70
1% of all-time downloads
HUMADEX/english_medical_ner
english_medical_ner is a token classification model from HUMADEX. Use it when you need labels on individual words, such as names. The card lists the license as apache-2.0.
This model had been created as part of joint research of HUMADEX research group (https://www.linkedin.com/company/101563689/) and has received funding by the European Union Horizon Europe Research and Innovation Progr…
Downloads · 30 days
70
1% of all-time downloads
All-time downloads
6.5K
Public
Parameters
108M
1.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.pt862 MB · 50%
How the weights are stored.
F32108M · 100%
From the Hugging Face model README
This model had been created as part of joint research of HUMADEX research group (https://www.linkedin.com/company/101563689/) and has received funding by the European Union Horizon Europe Research and Innovation Program project SMILE (grant number 101080923) and Marie Skłodowska-Curie Actions (MSCA) Doctoral Networks, project BosomShield ((rant number 101073222). Responsibility for the information and views expressed herein lies entirely with the authors. Authors: dr. Izidor Mlakar, Rigon Sallauka, dr. Umut Arioz, dr. Matej Rojc
The paper associated with this model has been published: 10.3390/app15105585
Please cite this paper as follows if you use this model or build upon this work. Your citation supports the authors and the continued development of this research.
@article{app15105585,
author = {Sallauka, Rigon and Arioz, Umut and Rojc, Matej and Mlakar, Izidor},
title = {Weakly-Supervised Multilingual Medical NER for Symptom Extraction for Low-Resource Languages},
journal = {Applied Sciences},
volume = {15},
year = {2025},
number = {10},
article-number = {5585},
url = {https://www.mdpi.com/2076-3417/15/10/5585},
issn = {2076-3417},
doi = {10.3390/app15105585}
}
PROBLEM: Diseases, symptoms, and medical conditions.
TEST: Diagnostic procedures and laboratory tests.
TREATMENT: Medications, therapies, and other medical interventions.
eval_loss = 0.24279939405748557
f1_score = 0.8006730836297691
precision = 0.8084832904884319
recall = 0.7930123311802701
Visit HUMADEX/Weekly-Supervised-NER-pipline for more info.
You can easily use this model with the Hugging Face transformers library. Here's an example of how to load and use the model for inference:
from transformers import AutoTokenizer, AutoModelForTokenClassification
model_name = "HUMADEX/english_medical_ner"
# Load the tokenizer and model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForTokenClassification.from_pretrained(model_name)
# Sample text for inference
text = "The patient complained of severe headaches and nausea that had persisted for two days. To alleviate the symptoms, he was prescribed paracetamol and advised to rest and drink plenty of fluids."
# Tokenize the input text
inputs = tokenizer(text, return_tensors="pt")