Downloads · 30 days
6
13% of all-time downloads
SU-FMI-AI/multiclinner-enigma-ro-procedure-xlm-roberta-large-full
multiclinner-enigma-ro-procedure-xlm-roberta-large-full is a token classification model from SU-FMI-AI. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as cc-by-4.0.
This is a Romanian clinical Named Entity Recognition (NER) model for the Procedure entity type, fine-tuned from xlm-roberta-large on the Romanian portion of the MultiClinNER shared task. The model was developed by Tea…
Downloads · 30 days
6
13% of all-time downloads
All-time downloads
48
Public
Parameters
559M
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
This is a Romanian clinical Named Entity Recognition (NER) model for the Procedure entity type, fine-tuned from xlm-roberta-large on the Romanian portion of the MultiClinNER shared task. The model was developed by Team Enigma at the Faculty of Mathematics and Informatics, Sofia University.
The model is based on xlm-roberta-large and fine-tuned for token classification to identify PROCEDURE clinical entities.
This version was trained on the combined train + development sets.
The following hyperparameters were used during training:
bf16=True, tf32=TrueThe official submission pipeline includes an additional rule-based post-processing step applied after model inference. The post-processing step handles span cleanup, duplicate removal, overlapping span resolution, punctuation trimming, and restoration of entity spans using the original document offsets.
The post-processing code is available in the official repository.
Note: The snippet below provides a quick out-of-the-box pipeline demonstration for raw text inference using standard Hugging Face subtoken aggregation. For official evaluation and submission, please utilize the dedicated word-alignment and offset restoration script from the repository.
from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
repo_id = "MonikaPeteva/multiclinner-enigma-ro-procedure-xlm-roberta-large-full"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForTokenClassification.from_pretrained(repo_id)
ner = pipeline(
"token-classification",
model=model,
tokenizer=tokenizer,
aggregation_strategy="simple"
)
text = "Patient was diagnosed with pneumonia."
predictions = ner(text)
print(predictions)
This model is intended for clinical NER research in the context of the MultiClinNER task.
The model should be used with awareness that the official submission results may depend on the additional post-processing pipeline.