How to use from the
Use from the
GLiNER2 library
from gliner2 import GLiNER2

model = GLiNER2.from_pretrained("whr778/gliner2-large-v1-casie")

# Extract entities
text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday."
result = extractor.extract_entities(text, ["company", "person", "product", "location"])

print(result)

gliner2-large-v1_casie

A GLiNER2 multi-task information-extraction model (entities, relations, events, and classification) fine-tuned from fastino/gliner2-large-v1.

⚠️ License at a glance

  • Effective license: Unverified β€” review required
  • Commercial use: Unverified
  • All dataset licenses verified: No

See License for the full determination and per-dataset terms.

Model details

  • Base model: fastino/gliner2-large-v1
  • Library: gliner2
  • Tasks: entity, relation, event, and classification extraction
  • Experiment: gliner2-large-v1_casie

Training data

1 dataset used for this run. 798 training records (val: 95, test: 107).

Dataset Task(s) Train Val Test Language License Source
CASIE Event extraction (cybersecurity) 798 95 107 en see source link

Dataset notes

  • CASIE β€” Cybersecurity event extraction co-trained with typed entity mentions; 5 event types, 26 argument roles.

Training procedure

Setting Value
Trained on 2026-07-19
Duration 25m 12s
Throughput 13.8 samples/s
Epochs 15
Batch size 4 (Γ— 8 grad-accum)
Encoder LR 1e-05
Task-head LR 0.0003
Weight decay 0.01
Scheduler cosine_restarts (warmup 0.05)
Precision bf16
Max grad norm 1.0
Best-checkpoint metric eval_event_strict_micro_f1
Seed 42

Evaluation

Decision threshold: 0.5 (config default).

Blind test (held-out test splits)

Micro precision / recall / F1, strict β†’ relaxed.

Category Precision Recall F1 Support
entity 0.530 β†’ 0.656 0.667 β†’ 0.825 0.591 β†’ 0.731 2136
event_type 1.000 β†’ 1.000 0.951 β†’ 0.951 0.975 β†’ 0.975 185
event_trigger 0.711 β†’ 0.836 0.370 β†’ 0.436 0.487 β†’ 0.573 856
event_argument 0.242 β†’ 0.802 0.134 β†’ 0.418 0.173 β†’ 0.549 2413
event 0.417 β†’ 0.830 0.237 β†’ 0.453 0.302 β†’ 0.586 3454

Best checkpoint (validation)

Micro precision / recall / F1, strict β†’ relaxed.

Category Precision Recall F1 Support
entity 0.605 β†’ 0.736 0.641 β†’ 0.779 0.623 β†’ 0.757 2630
event_type 1.000 β†’ 1.000 0.885 β†’ 0.885 0.939 β†’ 0.939 296
event_trigger 0.776 β†’ 0.902 0.385 β†’ 0.447 0.514 β†’ 0.598 1006
event_argument 0.334 β†’ 0.837 0.171 β†’ 0.416 0.226 β†’ 0.556 2706
event 0.518 β†’ 0.875 0.277 β†’ 0.461 0.361 β†’ 0.604 4008

License

Effective license: Unverified β€” review required. This model is a derivative of its base model and every training dataset, so the most restrictive term across all of them governs the whole model.

  • Commercial use: Unverified
  • Share-alike obligation: No
  • All licenses verified: No
  • Base model: gliner2-large-v1 β€” see model card

Unverified β€” verify the upstream terms before redistribution

  • CASIE (see source)
  • gliner2-large-v1 (see model card)

License strings are copied verbatim from each dataset's card/source and from tools/train/dataset_registry.yaml. "see card"/"see source"/"other" mean the upstream declares no clear license β€” treat as unverified. This summary is informational, not legal advice; confirm terms before redistribution or commercial use.

Citation

If you use this model, please cite GLiNER2 and the underlying datasets (linked in Training data).


Model card generated automatically at the end of training (2026-07-19).

Downloads last month
29
Safetensors
Model size
0.5B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for whr778/gliner2-large-v1-casie

Finetuned
(7)
this model