Mindket

OpenAI Privacy Filter

Newversion 1 · updated

Overview

Finds and masks personal information such as names and emails in text in a single pass, and runs on your own machine. For teams that need to clean large amounts of text on-premises.

OpenAI Privacy Filter is a kit in the Developer 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.

At a glance

You need
  • Python with pip, plus transformers and PyTorch
  • Or Node with the Hugging Face transformers.js package
  • About 2.8 GB of disk space for BF16 weights
Runs in
  • Python with transformers on Windows, macOS or Linux
  • A web browser or Node app through transformers.js
  • On-premises servers, since you run it yourself
  • A laptop, given its small size
Start with
pip install -U huggingface_hub
hf download openai/privacy-filter

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

OpenAI Privacy Filter is a model that finds personally identifiable information in text and marks it so it can be masked. It reads a whole input at once and labels each token, then decodes clean spans from those labels.

It is built for data sanitization jobs where a team wants a model it can run on its own hardware, with settings it can tune.

Who it suits

It suits developers and data teams who must strip names, emails and similar details from text before they store, share or train on it.

IndustryWho uses itHow they use itExample
SoftwareDevelopersAdd a masking step to a text pipelineHide names in logs before sharing
Data teamsData engineersClean large text sets before trainingRemove emails from a corpus
SupportOperations teamsRedact personal details in ticketsMask a name in a customer message
ResearchML engineersFine-tune the filter on their own dataAdapt it to a new text style

If your text never holds personal details, or you need a filter for images or audio, you can skip it.

Where to use it

The model works in Python with the transformers library and in JavaScript with transformers.js, where the card shows it running with WebGPU.

  • Python with transformers on Windows, macOS or Linux
  • A web browser or Node app through transformers.js
  • On-premises servers, since you run it yourself
  • A laptop, given its small size
Use caseWhoWhat they get back
PII detectionDevelopersLabeled spans such as private_person and private_email
Text maskingData teamsText with personal details marked for removal
On-premises cleaningSecurity teamsSanitized data that never leaves your servers

How to set it up

You need Python with the transformers library and PyTorch, or a JavaScript project with transformers.js. The weights come to about 2.8 GB in BF16.

  • Python with pip, plus transformers and PyTorch
  • Or Node with the Hugging Face transformers.js package
  • About 2.8 GB of disk space for BF16 weights
  1. Install the Hugging Face hub package.
  2. Download the model files, or let the library fetch them by model id.
  3. Load the model with the pipeline call.
pip install -U huggingface_hub
hf download openai/privacy-filter

How to use it

You pass text to a token-classification pipeline and read the labeled spans it returns.

from transformers import pipeline

classifier = pipeline(
    task="token-classification",
    model="openai/privacy-filter",
)
classifier("My name is Alice Smith")
ToolWhat it does
pipelineRuns token classification in a single call
AutoModelForTokenClassificationGives direct access to the logits and labels
AutoTokenizerTurns your text into model inputs

Example

You send the sentence "My name is Alice Smith" to the classifier. It labels the name as a private person, so you can replace that span with a mask.

For newcomers and experts

If you are new, run the short Python snippet above on one sentence with a name in it and read the labels that come back. That shows what the filter detects.

If you know the field, it is an autoregressive checkpoint converted into a bidirectional banded-attention token classifier, with a sparse mixture-of-experts feed-forward stack. Inference uses constrained Viterbi decoding to produce BIOES span labels.

  1. Text is tokenized
  2. One forward pass labels every token
  3. Viterbi decoding builds spans
  4. Spans are masked or removed

Good to know

The card lists a 128,000-token context window, so long text needs no chunking. It also describes preset operating points that trade precision against recall.

  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: the text you pass in and the model files you download, with no web service named

README and files

README

OpenAI Privacy Filter

Finds and masks personal information such as names and emails in text in a single pass, and runs on your own machine. For teams that need to clean large amounts of text on-premises.

Made by openai 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.

About

What it is: OpenAI Privacy Filter is a model that finds personally identifiable information in text and marks it so it can be masked. It reads a whole input at once and labels each token, then decodes clean spans from those labels.

It is built for data sanitization jobs where a team wants a model it can run on its own hardware, with settings it can tune.

Who it suits: It suits developers and data teams who must strip names, emails and similar details from text before they store, share or train on it.

Industry | Who uses it | How they use it | Example
Software | Developers | Add a masking step to a text pipeline | Hide names in logs before sharing
Data teams | Data engineers | Clean large text sets before training | Remove emails from a corpus
Support | Operations teams | Redact personal details in tickets | Mask a name in a customer message
Research | ML engineers | Fine-tune the filter on their own data | Adapt it to a new text style

If your text never holds personal details, or you need a filter for images or audio, you can skip it.

Where to use it: The model works in Python with the transformers library and in JavaScript with transformers.js, where the card shows it running with WebGPU.

  • Python with transformers on Windows, macOS or Linux
  • A web browser or Node app through transformers.js
  • On-premises servers, since you run it yourself
  • A laptop, given its small size
Use case | Who | What they get back
PII detection | Developers | Labeled spans such as private_person and private_email
Text masking | Data teams | Text with personal details marked for removal
On-premises cleaning | Security teams | Sanitized data that never leaves your servers

How to set it up: You need Python with the transformers library and PyTorch, or a JavaScript project with transformers.js. The weights come to about 2.8 GB in BF16.

  • Python with pip, plus transformers and PyTorch
  • Or Node with the Hugging Face transformers.js package
  • About 2.8 GB of disk space for BF16 weights
  1. Install the Hugging Face hub package.
  2. Download the model files, or let the library fetch them by model id.
  3. Load the model with the pipeline call.
pip install -U huggingface_hub
hf download openai/privacy-filter

How to use it: You pass text to a token-classification pipeline and read the labeled spans it returns.

from transformers import pipeline

classifier = pipeline(
    task="token-classification",
    model="openai/privacy-filter",
)
classifier("My name is Alice Smith")
Tool | What it does
pipeline | Runs token classification in a single call
AutoModelForTokenClassification | Gives direct access to the logits and labels
AutoTokenizer | Turns your text into model inputs

Example: You send the sentence "My name is Alice Smith" to the classifier. It labels the name as a private person, so you can replace that span with a mask.

For newcomers and experts: If you are new, run the short Python snippet above on one sentence with a name in it and read the labels that come back. That shows what the filter detects.

If you know the field, it is an autoregressive checkpoint converted into a bidirectional banded-attention token classifier, with a sparse mixture-of-experts feed-forward stack. Inference uses constrained Viterbi decoding to produce BIOES span labels.

Text is tokenized
One forward pass labels every token
Viterbi decoding builds spans
Spans are masked or removed

Good to know: The card lists a 128,000-token context window, so long text needs no chunking. It also describes preset operating points that trade precision against recall.

  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: the text you pass in and the model files you download, with no web service named

On Hugging Face, 13 November 2026

  • Task: token classification
  • Library: transformers
  • Parameters: 1.4B
  • Weights: about 2.8 GB in BF16; about 700 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 102,911
  • Likes: 1,831
  • License: apache-2.0
  • Quantized versions: 10
  • Fine-tunes: 54
  • Tags: transformers, onnx, safetensors, openai_privacy_filter, token-classification, transformers.js

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download openai/privacy-filter

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
OpenAI Privacy Filter This page102,9111,8311.4Bapache-2.0
bert-base-NERShares token-classification · onnx · transformers1,038,928750108Mmit
UltraBERT-150M-clairic-extractionShares token-classification · onnx · transformers1385151Mapache-2.0
nomic-embed-text-v1.5Shares transformers.js · onnx · transformers11,809,681994137Mapache-2.0
SmolLM2-135M-InstructShares transformers.js · onnx · transformers841,106474135Mapache-2.0
Distil-Whisper distil-large-v3Shares transformers.js · onnx · transformers754,155386756Mmit
Numbers as Mindket last read them, on 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

tanelpoderOpenAI Privacy Filter294 points · 66 repliesOakland PrivacyOpenAI says chats pass through a privacy filter designed to remove personal information before human review, but acknowledges the system can miss sensitive details. Reviewers may also see a "user memories summary" containing context about a user's past activity. 2/31 replyunusual_typoShow HN: Local personal data redaction for any AI toolsI built the desktop app that detects and redacts personal data (or PII) locally without sending any text to server. It supports rule-based filtering and AI model-based redaction (eg openai privacy filter). It's open source and free. Please check out the repo and https://pii-gui.vercel.app/12 points · 7 replies@yomimonoid.bsky.socialOpenAI Contractors Read User ChatGPT Chats Under Project Lily Project Lily: several hundred contractors read real ChatGPT conversations to grade responses. OpenAI's Privacy Filter strips names and numbers, but the company says it can miss identifying details that depend on context.meetpateltechOpenAI Privacy Filter13 points · 1 replyAI Daily PostDid you know OpenAI contract workers can peek at your ChatGPT chats? You can now turn off the default privacy filter. Find out what this means for your convo data and AI training. #OpenAI #ChatGPT #AIprivacy 🔗 aidailypost.com/news/openai-...kambanOpenAI shipped privacy-filter, a 1.5B PII tagger you can run locally4 pointsai-nerd.bsky.socialthe data sharing toggle is on by default and opting out only covers new chats. OpenAI even says the privacy filter can miss uncommon identifiershandfuloflightOpenAI Privacy Filter4 pointsKeiTy【アンセンサードLLM最前線 #114】OpenAI Privacy Filter——GPU/CPUで個人データをオフラインマスクするオープンソースモデル https://note.com/keity717/n/n50b31dbb9383neon_share1GLiNER2-PII: 0.3B open-source PII model outperforms OpenAI's Privacy Filter2 points · 1 replyarxiv cs.CRCharles de Bourcy, Sahra Ghalebikesabi, Avi Schwarzschild, Alex Gorbachev, Mihai Maruseac, Annie Chu, Vol Kyrylov, Tong Mu, Ally Bennett, Andy Nguyen, Casey Meehan, Jessica Gan Lee, Shane Bauer, Harold Nguyen, ... Model Card for OpenAI Privacy Filter https://arxiv.org/abs/2608.18274

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k