Views
No views yet
1@article{app15105585,
2 author = {Sallauka, Rigon and Arioz, Umut and Rojc, Matej and Mlakar, Izidor},
3 title = {Weakly-Supervised Multilingual Medical NER for Symptom Extraction for Low-Resource Languages},
4 journal = {Applied Sciences},
5 volume = {15},
6 year = {2025},
7 number = {10},
8 article-number = {5585},
9 url = {https://www.mdpi.com/2076-3417/15/10/5585},
10 issn = {2076-3417},
11 doi = {10.3390/app15105585}
12}PROBLEM: Diseases, symptoms, and medical conditions.TEST: Diagnostic procedures and laboratory tests.TREATMENT: Medications, therapies, and other medical interventions.transformers library. Here's an example of how to load and use the model for inference:1from transformers import AutoTokenizer, AutoModelForTokenClassification
2
3model_name = "HUMADEX/italian_medical_ner"
4
5# Load the tokenizer and model
6tokenizer = AutoTokenizer.from_pretrained(model_name)
7model = AutoModelForTokenClassification.from_pretrained(model_name)
8
9# Sample text for inference
10text = "Il paziente ha lamentato forti mal di testa e nausea che persistevano da due giorni. Per alleviare i sintomi, gli è stato prescritto il paracetamolo e gli è stato consigliato di riposare e bere molti liquidi."
11
12# Tokenize the input text
13inputs = tokenizer(text, return_tensors="pt")