Desert Ant Labs 发布端侧多语言 PII 脱敏模型 redact
原标题:desert-ant-labs/redact
AI 摘要
Desert Ant Labs 在 Hugging Face 发布名为 redact 的端侧 PII 检测与脱敏模型,支持 27 种语言,可在 iOS、Android、浏览器、Node 等平台本地运行。该模型由 token 分类器与规则层组成,将姓名、邮箱、银行卡号等替换为占位符,便于把脱敏文本发给 LLM 后再还原原值。模型体积仅 11.6MB(4-bit Core ML)或 24.5MB(int8 LiteRT),官方对比显示其召回率 88.8、精确率 99.6,优于 GLiNER-PII、Rampart 和 OpenAI privacy filter。
正文节选
--- license: other license_name: desert-ant-labs-source-available license_link: https://license.desertant.com/ language: - bg - cs - da - de - el - en - es - et - fi - fr - ga - hr - hu - is - it - lt - lv - mt - nb - nl - nn - pl - pt - ro - sk - sl - sv tags: - pii - redaction - token-classification - on-device - litert - tflite - core-ml - multilingual pipeline_tag: token-classification --- <!-- Generated from docs/models/redact.md in https://github.com/Desert-Ant-Labs/desert-ant-core. Edit