Skip to content

OPP Model

OPP Model is the open-weight reference detector of the Open Privacy Protocol. One small model, used the same way by every organization, finds private values in text, scores the OPP topic classes, and matches an organization's own concepts by meaning. It runs on an ordinary laptop CPU, so text never has to leave the machine to be classified.

Pre-release

The first release, opp-model-v1, is in training. Releases are published on the model repository.

Outputs

One int8 ONNX file (opset 17). Inputs are only input_ids and attention_mask.

Output Shape Meaning
logits [batch, seq, 17] BIO tags for 8 value types, each mapped to an OPP class
category_logits [batch, 15] The OPP topic classes: confidential.* and the GDPR special categories special.*
text_vec [batch, 256] A text vector used to match an organization's own concepts by their description

Nothing is trained per organization, and no organization's data is ever used for training.

How it is built

  • Distilled from permissively licensed teachers, all Apache 2.0, with a rule-based CPU teacher. Teachers whose training-data licences do not allow an Apache-licensed release stay off.
  • Synthetic data at the core: generated text stratified over all 1,012 NAICS 2022 industry codes, the 15 OPP topic classes with look-alike negatives, and about 20,000 company-specific categories with near misses, in 7 languages.
  • Public datasets on top, only where the licence allows commercial use.
  • Verifiable: every release ships verify.py, a held-out human-reviewed test set and checksums, so anyone can reproduce the reported scores on a CPU.

Acceptance criteria

Check Target
Overall overlap recall within 3 points of the best single teacher
Precision ≥ 0.60
Hard-negative texts with a false positive ≤ 5%
model.onnx size ≤ 60 MB
512-token median latency, 4 CPU threads ≤ 60 ms
Peak memory < 500 MB
int8 / fp32 token agreement ≥ 98%

Source, model design and training pipeline: open-privacy-protocol-model.