02 · Safety · Open weights

Every personal detail, pinpointed.

cbx-pii-extractor-68M

Finds personal data in English text.

Finds it. Then redacts it.

Real, cached outputs from the model.

support-ticket.txt0 of 8 found

Hi team, I'm Priya Raman ([email protected], +1 415-555-0148). DOB: 1990-03-14. Ship to 221 Baker Street. Account number: 004812233190. Passport number: X4821190. Find me on @priyar.

Benchmark

Measured against the alternative.

88–93%

span F1 across three benchmarks

Full results ↗
  • cbx-pii-extractor-68M88–93%

9× smaller. 12× faster.More accurate.

Parameters

  • cbx-pii-extractor-68M68M
  • PII-Tracer596M

GPU latency, 1,000 tokens

  • cbx-pii-extractor-68M13 ms
  • PII-Tracer160 ms

Span F1, Privacy-Bench messages

  • cbx-pii-extractor-68M91.7%
  • GLiNER2-PII86.9%
  • Presidio85.8%
  • PII-Tracer82.0%

3 of 3 public benchmarks won, exact-match span F1.

On text with no PII

0.00false values per 1,000 characters,
against 1.6–3.6 for the others

Four sizes · GPU, 1k tokens

  • 68M88–93% F1 · most accurate on chat13 ms
  • 32M87–94% F1 · ties 68M on documents8 ms
  • 17M83–92% F16 ms
  • 4M16 MB · smallest and fastest on CPU5 ms

From the model card

Finds personal information (PII) in English text and returns the exact position of each value with one of 18 labels. 68M parameters, about 13 ms per 1,000 tokens on a GPU and 229 ms on a CPU.

This is the most accurate size, especially on casual chat. Fine-tuned from jhu-clsp/ettin-encoder-68m. Current version: v0.2 (use --revision v0.2 to pin it). Also available in 32M and 17M sizes.

Model

68M

Licence

Apache 2.0

Fine-tuned from

jhu-clsp/ettin-encoder-68m

Read the full model card ↗

Full results. Every number, from the card.

Exact-match span F1 on three public benchmarks never used for training. A value counts only if its start, end and label are all correct.

ModelSizePrivacy-Bench docsPrivacy-Bench messagesPII-TRACEGPU, 1,000 tokens
cbx-pii-extractor-68M68M88.1%91.7%93.2%13 ms
cbx-pii-extractor-32M32M88.0%87.0%93.5%8 ms
cbx-pii-extractor-17M17M86.1%83.1%91.6%6 ms
PII-Tracer596M86.9%82.0%92.5%160 ms
GLiNER2-PII205M80.8%86.9%66.2%91 ms
Presidio (spaCy lg)–82.4%85.8%64.7%85 ms (CPU)
  • Privacy-Bench docs: 656 human-annotated pages of business documents.
  • Privacy-Bench messages: 5,198 chat messages.
  • PII-TRACE: 500 conversations. It is PII-Tracer's own benchmark. Most of our remaining gap there is dates other than dates of birth, which we deliberately don't label. Without dates, this model scores 97.8% against 91.9% for PII-Tracer.

On text with no PII at all, this model flags 0.06 false values per 1,000 characters, against 1.6–3.6 for the other models.

How we evaluated
  • Same runs for every model. We ran every model ourselves, on the same texts, with the same scoring.
  • Benchmark sizes:
BenchmarkContentsAnnotated values in the scored types
Privacy-Bench docs656 pages of Word and PDF business documents8,700
Privacy-Bench messages5,198 chat messages6,594
PII-TRACE500 multi-turn conversations (public subset)2,442
  • No overlap with training data. No training text shares a 13-word sequence with any benchmark.
  • How the benchmarks were used. Half of each benchmark was used to study errors while we designed the training data. Scores on the other half are within 0.6 points of the full-set numbers above.

A prediction counts as correct only when its start, end and type all match the annotation. Each benchmark's types were mapped to ours as below. Every model was scored on the types that both the benchmark and the model support.

CBX PII ExtractorPrivacy-BenchPII-TRACE
PERSONNAME_GIVEN + NAME_FAMILY (one name)private_person
EMAILEMAIL_ADDRESSprivate_email
PHONEPHONE_NUMBERprivate_phone
ADDRESSLOCATION_ADDRESSprivate_address
URLURLprivate_url
BANK_ACCOUNT, PAYMENT_CARD, CUSTOMER_IDACCOUNT_NUMBERaccount_number
USERNAMEUSERNAMENot annotated
EMPLOYEE_IDEMPLOYEE_IDNot annotated
DATE_OF_BIRTHNot annotatedprivate_date
SECRETNot annotatedsecret

Government IDs, IP addresses and patient IDs are not annotated in either benchmark, so this evaluation does not cover them.

Speed. Latency is the median over 50 texts of 1,000 tokens, processed one at a time, end to end (text in, spans out). It was measured on an NVIDIA TITAN RTX GPU (fp16) and an Intel i7-10700 CPU (8 threads), with all models on the same machine. The v0.1 card used a Tesla T4, so its timings are not directly comparable.

Know its limits. Before you ship it.

Limitations

  • English only.
  • Sensitive attributes such as health, religion or ethnicity are not detected.
  • Account and reference numbers inside long documents, and usernames in documents, are found less reliably than names, emails and phones.
  • Addresses are always labelled in full. Benchmarks that mark only the street will count them as boundary errors.
  • A detection aid, not a guarantee: keep human review where redaction must be complete.

4 sizes. Smaller is faster, larger is more accurate.

Run it on your own data. In the CobuildX Console.

Sign in to the console to call this model live, compare sizes and create an API key.