Shroud 2 β€” GLiNER 2.5 Multi W8A32 ONNX (Torch-Free)

Weight-only INT8 (W8A32) ONNX export of fastino/gliner2.5-multi-v1 paired with a pruned, pickle-free NumPy boundary head (boundary_head_fp16.npz) for Shroud's cross-platform macOS + Windows CPU detector ensemble (zero PyTorch, zero transformers).

Provenance & Modifications

  • Upstream checkpoint: fastino/gliner2.5-multi-v1 at commit 7b005274e82da37dcf1f5fd9d6a2ef413c6a004c (Apache-2.0, see LICENSE).
  • Base encoder: microsoft/mdeberta-v3-base (MIT, see LICENSE-MIT-mdeberta).
  • Modifications applied (Apache-2.0 Section 4(b)):
    1. Dynamic [batch, seq_len] opset-17 ONNX encoder quantized with MatMulNBits (bits=8, block_size=32, asymmetric, accuracy_level=1) and post-Gather per-row symmetric INT8 word embeddings in external-data format (encoder_w8.onnx + encoder_w8.onnx_data).
    2. Active 70-tensor shared-pool entity boundary_head (1,155,394 params) exported to pickle-free boundary_head_fp16.npz (fp16 storage, FP32 compute); unused classification/record/relation heads pruned.

Runtime Requirements

  • onnxruntime == 1.32.0 (CPUExecutionProvider)
  • numpy, tokenizers
  • Always run CPU chunking with batch_size = 1 to keep peak RSS under 1.0 GB.

Verified Model Files

File Bytes SHA-256
encoder_w8.onnx 936,782 15bdd66f7f7bb22af15d66dac77cfe1c8bc8ea9975fd8753030ddcb194285f4f
encoder_w8.onnx_data 306,185,216 3b6c6156cbdef54203fc684fc3c5a38065ebef7d704ae9469c876d9e7ba2f29e
boundary_head_fp16.npz 2,335,230 640883bb503fa8dcfbc83dd5d8fb247e2cb19c2a59c0c0819360a1e6af016bb6
config.json 4,104 3e4a96bf01da1094180f2d8998411c1a9fd6e2ae4b5b3e4bc6950318cee95bb7
tokenizer.json 16,035,853 c62446df87ae18ec98b133f8f84fc449a07cc89bbf8ef192a4cb5f9c53777a7a
tokenizer_config.json 645 0bf3ea0873234bd9bfdd3853c440395009ac6365a925b91654daed5396d655e1

License

Derived from Apache-2.0 (fastino/gliner2.5-multi-v1, see LICENSE) and MIT (microsoft/mdeberta-v3-base, see LICENSE-MIT-mdeberta). See NOTICE for full modification and provenance details.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for FrancescoCelino/shroud-2

Quantized
(11)
this model