Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Finds and masks personal data in text, across 55 fine-grained categories such as names, contact details and IDs. It suits teams that redact text before sharing or storing it.
privacy-filter-nemotron-v2 is a kit in the Legal category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub
privacy-filter-nemotron-v2 is a token classifier that spots personal data in text so you can mask it. It is the second generation of the OpenMed Nemotron-schema checkpoints. It labels 55 kinds of personal data, from names and contact details to account numbers. The card says v2 masks more reliably than the original.
It suits teams that must remove personal data from text before sharing, storing or analyzing it. You need some Python to run it.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Healthcare | Data and compliance teams | Mask patient identifiers in notes before they leave the system | Hiding a name, phone number and record number in a note |
| Customer support | Support operations | Redact personal details from transcripts and logs | Cleaning a chat log before analysis |
| Legal and compliance | Privacy officers | Strip identifiers from documents before review | Redacting a contract excerpt before sharing it |
| Software | Data engineers | Add a redaction step to a text pipeline | Masking text before it goes to another service |
People who need a single dataset lineage can use the original Nemotron checkpoint instead.
| Use case | Who | What they get back |
|---|---|---|
| Finding personal data | Compliance teams | Each detected item with its label and text |
| Masking text | Data engineers | The same text with personal data masked |
| General redaction | Privacy officers | Typed labels you can use to choose what to hide |
pip install -U huggingface_hub
hf download OpenMed/privacy-filter-nemotron-v2
pip install -U "openmed[hf]"
With OpenMed, call extract_pii to list the personal data in a text, and call deidentify with the mask method to hide it. For best production results, the card advises BIOES-aware decoding and merging overlapping or adjacent spans before masking.
from openmed import extract_pii, deidentify
model_name = "OpenMed/privacy-filter-nemotron-v2"
result = extract_pii(text, model_name=model_name)
for ent in result.entities:
print(ent.label, ent.text)
masked = deidentify(text, method="mask", model_name=model_name)
print(masked.deidentified_text)| Tool | What it does |
|---|---|
| extract_pii | Lists the personal data found in a text, with a label for each |
| deidentify | Returns the text with the personal data masked |
| opf redact | Runs redaction from the command line with a chosen checkpoint |
You pass a sentence that holds a patient's name, birth date, record number, phone number and email. extract_pii prints each item with its label. deidentify with the mask method returns the sentence with those items hidden.
A token classifier tags each piece of text with a label, and here the labels mark personal data. A first small step is to run the OpenMed sample on one made-up sentence and read the labels.
Its base is openai/privacy-filter, a mixture-of-experts classifier of 1.4B parameters, about 50M of which are active for each token. It predicts 221 BIOES classes, made of one outside class and four tags for each of the 55 categories. Training was a full fine-tune with a broader mix and a recall-oriented recipe.
Finds and masks personal data in text, across 55 fine-grained categories such as names, contact details and IDs. It suits teams that redact text before sharing or storing it.
Made by OpenMed on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: privacy-filter-nemotron-v2 is a token classifier that spots personal data in text so you can mask it. It is the second generation of the OpenMed Nemotron-schema checkpoints. It labels 55 kinds of personal data, from names and contact details to account numbers. The card says v2 masks more reliably than the original.
Who it suits: It suits teams that must remove personal data from text before sharing, storing or analyzing it. You need some Python to run it.
Industry | Who uses it | How they use it | Example
Healthcare | Data and compliance teams | Mask patient identifiers in notes before they leave the system | Hiding a name, phone number and record number in a note
Customer support | Support operations | Redact personal details from transcripts and logs | Cleaning a chat log before analysis
Legal and compliance | Privacy officers | Strip identifiers from documents before review | Redacting a contract excerpt before sharing it
Software | Data engineers | Add a redaction step to a text pipeline | Masking text before it goes to another service
People who need a single dataset lineage can use the original Nemotron checkpoint instead.
Where to use it:
Use case | Who | What they get back
Finding personal data | Compliance teams | Each detected item with its label and text
Masking text | Data engineers | The same text with personal data masked
General redaction | Privacy officers | Typed labels you can use to choose what to hide
How to set it up:
pip install -U huggingface_hub
hf download OpenMed/privacy-filter-nemotron-v2
pip install -U "openmed[hf]"
How to use it: With OpenMed, call extract_pii to list the personal data in a text, and call deidentify with the mask method to hide it. For best production results, the card advises BIOES-aware decoding and merging overlapping or adjacent spans before masking.
from openmed import extract_pii, deidentify
model_name = "OpenMed/privacy-filter-nemotron-v2"
result = extract_pii(text, model_name=model_name)
for ent in result.entities:
print(ent.label, ent.text)
masked = deidentify(text, method="mask", model_name=model_name)
print(masked.deidentified_text)
Tool | What it does
extract_pii | Lists the personal data found in a text, with a label for each
deidentify | Returns the text with the personal data masked
opf redact | Runs redaction from the command line with a chosen checkpoint
Example: You pass a sentence that holds a patient's name, birth date, record number, phone number and email. extract_pii prints each item with its label. deidentify with the mask method returns the sentence with those items hidden.
For newcomers and experts: A token classifier tags each piece of text with a label, and here the labels mark personal data. A first small step is to run the OpenMed sample on one made-up sentence and read the labels.
Its base is openai/privacy-filter, a mixture-of-experts classifier of 1.4B parameters, about 50M of which are active for each token. It predicts 221 BIOES classes, made of one outside class and four tags for each of the 55 categories. Training was a full fine-tune with a broader mix and a recall-oriented recipe.
Text with personal data
Model tags each token with a label
Spans are merged and decoded
Personal data is masked
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download OpenMed/privacy-filter-nemotron-v2
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| privacy-filter-nemotron-v2 This page | 154,398 | 57 | 1.4B | apache-2.0 | |
| rizzo-pii-0.3BShares privacy · token-classification · transformers | 6,484 | 23 | 308M | mit | |
| PII-TracerShares privacy · token-classification · safetensors | 8,506 | 97 | 596M | mit | |
| SaulLM-54B-InstructShares transformers · safetensors | 315 | 16 | 46.7B | mit |
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
rizzoaiacademy · Kit
A small CPU-friendly model that finds 22 kinds of personal data in Italian legal text, including codice fiscale and partita IVA, for reversible anonymization.…
perplexity-ai · Kit
Finds personal data in chat conversations and masks it, using a 600M-parameter encoder with a token tagger and a sensitivity score. It suits teams that clean c…
Equall · Kit
A language model tuned for legal text, trained on US and European legal sources. A research release for people who study or adapt legal AI. Its answers are inf…