Downloads · 30 days
0
raphael-r/bright-gliner-diagnosis
bright-gliner-diagnosis is a machine learning model from raphael-r. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for gliner.
This is a GLiNER2 architecture fine-tuned to extract clinical neuro-oncology entities related to the diagnosis semantic group. It was trained on a synthetic dataset generated for the properly de-identified BRIGHT proj…
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2026
Parameters
307M
1.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
This is a GLiNER2 architecture fine-tuned to extract clinical neuro-oncology entities related to the diagnosis semantic group. It was trained on a synthetic dataset generated for the properly de-identified BRIGHT project dataset (see the generated_data folder in the primary repository).
This model repository was specifically designed to fit within the bright_db overarching namespace.
It extracts the following fields (described in French):
Aggregates:
Per-Label Breakdowns:
| Label | Precision | Recall | F1 |
|---|---|---|---|
| diag_histologique | 0.9876 | 1.0000 | 0.9938 |
| diag_integre | 0.8148 | 0.4701 | 0.5962 |
| classification_oms | 0.9690 | 1.0000 | 0.9842 |
| grade | 0.9810 | 0.9936 | 0.9873 |
| num_labo | 0.7993 | 1.0000 | 0.8884 |
# Inference Code
from gliner2 import GLiNER2
model = GLiNER2.from_pretrained("raphael-r/bright-gliner-diagnosis")
text = "Patient presenting with epileptic seizures..."
entities = model.extract_entities(text)
for entity in entities:
print(entity["text"], "=>", entity["label"])