Fine-tuned ModernBERT hits 0.997 F1 for PII redaction, 86x faster than OpenAI privacy-filter

jeremyphoward · x · 2026-12-06

ivanleomk shares a PII redaction fine-tuning experiment: instead of fine-tuning Gemma, the team trained a ModernBERT classifier that matches or beats OpenAI's privacy-filter at a fraction of the cost.

Takeaway: small fine-tuned models can dramatically outpace large zero-shot models on latency for PII masking. Jeremy Howard amplified the thread.

Original post →

More from coding & agent

coding & agent channel →