跳到正文
RadarAI· X:面壁智能 OpenBMB (@OpenBMB)·· 4 小时前AI 评分38

基于 MiniCPM4-0.5B 微调的 PII 识别器接入 Microsoft Presidio

MiniCPM4-0.5B 微调实现 PII 识别并接入 Presidio

AI 导读

面壁智能社区项目用 LoRA 适配器在 NVIDIA Nemotron-PII 数据集上微调 MiniCPM4-0.5B,并加自定义 token 分类头,做出可识别 55 类 PII/PHI 标签的识别器。该识别器将模型预测映射为 Presidio 实体格式,可嵌入其分析流程支持后续匿名化,并支持本地加载模型与适配器推理。

正文 · 原文

OpenBMB· @OpenBMB · X·2026-10-30 21:30· 46 分钟前AI 评分42

AI 导读

面壁智能分享社区项目:基于 MiniCPM4-0.5B 的 0.5B 参数模型,通过 LoRA 适配器(在 NVIDIA Nemotron-PII 数据集上训练)加自定义 token 分类头,微调出 PII 识别器并接入 Microsoft Presidio。

正文 · 原文

Names, emails, API keys—Our ambassador @povedaai is putting MiniCPM4-0.5B to work detecting sensitive text. 🔐

The project adds a MiniCPM-powered PII recognizer to Microsoft Presidio, helping identify sensitive information in text for downstream anonymization.

Here’s what’s under the hood 👇

🧠 A compact foundation: Built on MiniCPM4-0.5B, adapting a 0.5B-parameter model for a specialized token-classification task.

🛠️ Task-specific fine-tuning: Uses a LoRA adapter trained on NVIDIA’s Nemotron-PII dataset, paired with a custom token-classification head.

🔎 55 PII/PHI labels: Covers information such as names, email addresses, phone numbers, financial identifiers, API keys, passwords, and medical record numbers.

🔗 Presidio integration: Maps model predictions into Presidio’s entity format, allowing the recognizer to work within its analysis pipeline and support downstream anonymization workflows.

💻 Local inference: The recognizer loads the model and adapter locally, offering a path for developers exploring sensitive-text processing in their own environments.

We love seeing the community turn MiniCPM into practical, specialized tools. This project is an example of how open models, lightweight adaptation, and existing developer frameworks can come together for a concrete application. 🌍

Working on data preparation, text anonymization, or privacy tooling? Try the demo, explore the adapter, and check out the implementation! 🚀

🧩 Model: http://huggingface.co/luispoveda93/MiniCPM4-0.5B-PII-tagger-lora
📂 Repo: http://github.com/PovedaAqui/presidio/tree/feature/minicpm-pii-recognizer
🔗 Hugging Face: https://huggingface.co/openbmb/MiniCPM4-0.5B

#MiniCPM #OpenBMB #Privacy #OpenSource #PII

来源:OpenBMB · x.com

来源:RadarAI · aihot.news