LumeSec privacy models β€” ONNX

ONNX exports of open detection models, made by LumeSec for SecureGrid, a local redaction app. The models are unchanged; only the format is. One folder per model.

gliner2-pii/

fastino/gliner2-privacy-filter-PII-multi at revision 36126f6. Licence: Apache-2.0, as the base model; credit for the model belongs to Fastino.

file what
encoder.onnx mDeBERTa-v3 encoder. input_ids, attention_mask β†’ last_hidden_state
extractor.onnx span/count head, schema padded to 64 fields. text_emb, schema_emb_padded, schema_mask, spans_idx β†’ count_logits, span_scores
tokenizer.json the base model's tokenizer

Weights are stored as fp16 with a Cast to fp32 that ONNX Runtime folds at load time: half the download, fp32 arithmetic, identical results to the PyTorch model (checked span for span).

Exported with the scripts from gliner2-rs (Apache-2.0) at 1bcf40e. Reproduce with tools/models/gliner2/export.sh in the SecureGrid repository.

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 lumesec/privacy-onnx

Quantized
(11)
this model