bright_db
Collection
Collection of models for the BRIGHT clinical database project. • 20 items • Updated
This is a GLiNER2 architecture fine-tuned to extract clinical neuro-oncology entities related to the symptoms_evolution 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 |
|---|---|---|---|
| epilepsie_1er_symptome | 0.0099 | 0.5000 | 0.0194 |
| ceph_hic_1er_symptome | 0.0100 | 1.0000 | 0.0198 |
| ceph_hic | 0.0000 | 0.0000 | 0.0000 |
| deficit_1er_symptome | 0.0000 | 0.0000 | 0.0000 |
| deficit | 0.0000 | 0.0000 | 0.0000 |
| cognitif_1er_symptome | 0.0000 | 0.0000 | 0.0000 |
| cognitif | 0.0000 | 0.0000 | 0.0000 |
| autre_trouble_1er_symptome | 0.5429 | 0.8261 | 0.6552 |
| contraste_1er_symptome | 0.0500 | 1.0000 | 0.0952 |
| prise_de_contraste | 0.2100 | 1.0000 | 0.3471 |
| oedeme_1er_symptome | 0.2115 | 0.9565 | 0.3465 |
| calcif_1er_symptome | 0.0000 | 0.0000 | 0.0000 |
| epilepsie | 0.0800 | 1.0000 | 0.1481 |
| autre_trouble | 0.1154 | 1.0000 | 0.2069 |
| evol_clinique | 0.8692 | 0.9688 | 0.9163 |
| progress_clinique | 0.0000 | 0.0000 | 0.0000 |
| progress_radiologique | 0.0000 | 0.0000 | 0.0000 |
| reponse_radiologique | 0.0000 | 0.0000 | 0.0000 |
# Inference Code
from gliner2 import GLiNER2
model = GLiNER2.from_pretrained("raphael-r/bright-gliner-symptoms_evolution")
text = "Patient presenting with epileptic seizures..."
entities = model.extract_entities(text)
for entity in entities:
print(entity["text"], "=>", entity["label"])