How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("feature-extraction", model="ICB-UMA/HERBERT-GP-30")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("ICB-UMA/HERBERT-GP-30")
model = AutoModel.from_pretrained("ICB-UMA/HERBERT-GP-30", device_map="auto")
Quick Links

HERBERT: Leveraging UMLS Hierarchical Knowledge to Enhance Clinical Entity Normalization in Spanish

HERBERT-GP is a contrastive-learning-based bi-encoder for medical entity normalization in Spanish.
It leverages hierarchical relationships from UMLS (parents and grandparents) to enhance the candidate retrieval step for entity linking in Spanish clinical texts.

Key features:

  • Base model: PlanTL-GOB-ES/roberta-base-biomedical-clinical-es
  • Trained with 30 positive pairs per anchor using synonyms, parents, and grandparents from UMLS/SNOMED-CT.
  • Task: Normalization of disease, procedure, and symptom mentions to SNOMED-CT/UMLS codes.
  • Domain: Spanish biomedical/clinical texts.
  • Corpora: DisTEMIST, MedProcNER, SympTEMIST.

Evaluation (top-k accuracy):

Corpus Top-1 Top-5 Top-25 Top-200
DisTEMIST 0.585 0.727 0.808 0.871
SympTEMIST 0.632 0.783 0.884 0.948
MedProcNER 0.655 0.770 0.840 0.891
Downloads last month
14
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ICB-UMA/HERBERT-GP-30

Finetuned
(6)
this model