Nema Veil
Nema Veil is our own model for detecting personal data. It finds names, companies, places and contact details in text – so Nema Crew can replace them with placeholders before anything goes to an AI model.
- Live since
- 6 November 2026
- Architecture
- GLiNER2 (mDeBERTa-v3), trained by Nema
- Runs
- on Nema’s servers in the EU
Try it
Seven made-up texts of the kind that occur in Crew. On the left the text, on the right what the AI model sees of it. Veil 3.3 detected the spans exactly like this, nothing was touched up. The mistakes Veil 3.2 made in these examples, 3.3 no longer makes – that doesn’t make it flawless, see the limits.
Email signature1/7
Example 1 of 7: Email signature
Names, company, address, phone and email replaced · “Best regards”, “Head of Procurement”, CNC, Q1, PDF and SharePoint stay
Positions, categories and confidence come from a run of Veil 3.3 on 6 November 2026 and are built into this page – your browser sends nothing anywhere. Placeholders in Crew’s format; all people, companies and numbers are made up.
What it detects
Veil marks spans in a text and says what they are: a person, a company, a place, an email address, a phone number, an IBAN, an ID or customer number, a date of birth or health information. Crew does the replacing and translating back. Brands, acronyms, field names and code identifiers should stay readable – “Google”, “SEO” or send_mail are not personal data.
Where it runs
Veil runs on Nema’s own servers in the EU. No text goes to another provider for detection. When that is switched on in Crew, it also detects text in images and PDFs.
Benchmark
Measured on our own test set: 415 texts in German and English – chats, agent replies, emails, tickets, tool results and code. They contain 1,020 real details that must be detected and 1,616 traps that must stay readable. No text of the test set appears in the training data; the benchmark checks this itself.
real detail not detected · lower is better
- Leaks1 (0.1%)
- Trap hits34 (2.1%)
- False detections0.6
- Over-masking1.1%
Values for Veil 3.3; lines relative to Veil 2.0 (= 100).
| Metric | Veil 2.0 | Veil 3.0 | Veil 3.1 | Veil 3.2 | Veil 3.3 |
|---|---|---|---|---|---|
| Leaksreal detail not detected · lower is better | 6(0.6%) | 5(0.5%) | 5(0.5%) | 2(0.2%) | 1(0.1%) |
| Trap hitsbrand, acronym or field name replaced · lower is better | 251(15.5%) | 84(5.2%) | 53(3.3%) | 43(2.7%) | 34(2.1%) |
| False detectionsper 1,000 characters · lower is better | 4.1 | 1.4 | 0.9 | 0.8 | 0.6 |
| Over-maskingshare of replaced characters without a detail · lower is better | 5.5% | 2.6% | 1.7% | 1.4% | 1.1% |
| Exact spansstart and end match · higher is better | 90.0% | 90.2% | 92.5% | 95.1% | 95.1% |
| Compute timeper 1,000 characters, CPU, 2 threads · lower is better | ≈ 270 ms | ≈ 270 ms | ≈ 270 ms | ≈ 130 ms | ≈ 130 ms |
| Second test setshare of details detected, 1,358 details · higher is better | 97.5% | 97.9% | 97.9% | 98.5% | 98.5% |
On the second test set, Veil 3.3 misses 20 details, like 3.2 (3.1: 29, 3.0: 28, 2.0: 34), and over-masks 2.8%. Counted under our new guideline – well-known brands like DHL or Amazon no longer count as companies, 1,342 details – it’s 18 leaks instead of 19; on the whole second set, including the part we use to study errors (2,585 details), 30 instead of 40: fewer for health (14 → 10), ID numbers (5 → 2), companies (10 → 8) and places (5 → 3), but one more for people (3 → 4). For 3.3 we added a new, untouched test set, written before training: 138 texts in German, English, French, Spanish, Italian, Dutch, Polish and Portuguese, with 922 details and 350 traps. There, 7 details slip through instead of 11, and Veil hits 22 traps instead of 28. 3.3 runs as fast as 3.2.
2.1× as fast as Veil 3.1
Per 1,000 characters: ≈ 270 ms with Veil 3.1, ≈ 130 ms with Veil 3.2 and 3.3. Both share the same architecture; the small difference between the bars is measurement noise.
As of 6 November 2026
How we measure
- Our own test set
- We wrote the test set ourselves, modelled on the kinds of text that occur in Crew. It is not public and not an independent test.
- A fixed release rule
- A new version should only go live if it has no more leaks than the old one, overall and in every category, hits traps no more often, and has no more false detections. Veil 3.3 narrowly misses the rule: one more leak each for companies on the untouched part of the second set (5 → 6) and for people on the whole second set (3 → 4) – single categories vary that much between two training checkpoints. Everywhere else it is as good or better: on the benchmark 1 instead of 2 leaks, 34 instead of 37 trap hits and 45 instead of 47 false detections, compared with 3.2 under the same new rules (before those rules 3.2 had 43 trap hits and 58 false detections there, as shown in the table); on the second set 18 instead of 19 and 30 instead of 40 leaks, on the new one 7 instead of 11. That is why we released 3.3 anyway.
- No word lists
- Veil detects from context, not from a fixed list of names or brands.
Where it has limits
- Veil doesn’t catch everything: in the benchmark, 1 of 1,020 details slips through; on the second test set about one in 70. Whatever it misses goes out unchanged.
- The benchmark and the second test set are German and English. The new test set covers six more languages, but with only about seven texts each – that says little about any single language.
- We tuned some thresholds on the second test set, so it is no longer entirely untouched.
- Veil still takes some well-known brands for customers’ companies, such as “Amazon Web Services” or “Google LLC”. “DHL Express” in the example above stays readable with 3.3.
- Veil detects English medication including dose and schedule (“apixaban 5 mg twice daily”); a rule adds form and schedule to a detected medicine that comes with a dose. Health information is still the category with the most leaks: 8 of 18 on the second test set, 6 of 7 on the new one.
- The model marks long addresses in parts; the service joins neighbouring parts back together, but never across a line.