handler-gliner2 / README.md
mortsn's picture
Model card
bc22519 verified
|
Raw History Blame Contribute Delete
1.46 kB
---
license: apache-2.0
base_model: fastino/gliner2.5-base-v1
base_model_relation: finetune
library_name: onnx
pipeline_tag: zero-shot-classification
language:
- en
tags:
- onnx
- gliner2
- game
---
# 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).