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

extractor = AutoExtractor.from_pretrained("mortsn/handler-gliner2")

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

print(result)

Handler GLiNER2 (order reader)

Fastino's GLiNER2.5 base (194M) fully fine-tuned to read spoken orders in the game Handler, a voice-driven stealth comedy where you order two spies by voice. One encoder pass over the order answers seven classification groups: action, target, trigger, pace, negated, agrees, which.

It was trained on the web game's GLiClass data (3 epochs, fp32, held-out split by utterance id). Through the game's brain on 126 hand-checked parity orders it scores 0.842 joint accuracy (GLiClass v4 Edge fine-tune: 0.833), at about 80-90 ms an order on the GPU.

Files

File What it is
encoder_fp16.onnx The encoder in fp16 (DirectML or CPU)
classifier.onnx The classification head
tokenizer.json The tokenizer
calibration.json Softmax temperature (2.55), fitted on the held-out rows
tuned/gliner2.5-base-v1-gcall/ The fine-tuned PyTorch checkpoint (gliner2 2.0.0 format) the ONNX files were exported from

The ONNX files are loaded by the VoiceCommand Unreal plugin (FGLiNER2), which reproduces gliner2 2.0.0's input encoding. The export uses codesoda's gliner2-rs exporters (39ab954), then ORT's fp16 conversion.

Credits

GLiNER2.5 by Fastino (Apache-2.0).

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mortsn/handler-gliner2

Finetuned
(15)
this model