Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Dataset Request] Add Privy — PII detection in structured payloads

未关闭
#32 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
64/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
huggingface

调研方向

首先查看 beki/privy 中的 Privy 数据集元数据和两个链接的模型卡,然后检查此仓库中现有的数据集与 leaderboard 索引入口点。完成的标准是:Privy 已针对结构化/半结构化 PII 检测建立索引,已添加所请求的 span-level F1 leaderboard 条目,并明确注明 seeded scores 使用的是缩减为五类的评估。

由索引模型根据 Issue 内容生成。

描述

Hi! I'd like to request indexing the Privy dataset and a leaderboard for PII Detection (structured / code-adjacent text).

Dataset
  • HF: piimb/privy — a duplicate of the authoritative beki/privy (cite beki/privy for metadata)
  • Origin: Benjamin Kilimnik (2022), part of the Pixie project — generator at https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy ; write-up https://blog.px.dev/detect-pii/
  • Size: ~308 MB (HF size category 100K–1M rows)
  • Distinctive: PII embedded in JSON / SQL / XML / HTML payloads (not prose)
  • Labels: 26 labels covering 60+ PII data providers (PERSON, CREDIT_CARD, US_SSN, IBAN_CODE, IP_ADDRESS, etc.); token/span labeled
  • Task: PII Detection in structured/semi-structured text
  • Primary metric: entity/span-level F1
  • License: MIT
Suggested results to seed the leaderboard

Verified from the model card:

Model Metric F1 Source
beki/en_spacy_pii_distilbert (spaCy transformer NER) entity-level F (spaCy scorer) 0.954 (P 0.953 / R 0.955) card
beki/flair-pii-distilbert (Flair) F1 0.9522 card

⚠️ Caveat: both models were trained/evaluated on a reduced 5-class subset (PER, LOC, ORG, DATE_TIME, NRP), not the dataset's full 26-label set — so 0.954 is not full-PII-coverage F1. Note this when seeding the leaderboard. More entries can be imported from pwc-archive/evaluation-tables if present.

Note

Fills a real gap — most PII benchmarks are prose; Privy tests detection inside structured payloads (SQL/JSON/XML/HTML). Thanks!

主要语言
没有语言数据
星标
11
派生
1
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

huggingface/paperswithcode-feedback 的其他 Issue

查看 huggingface/paperswithcode-feedback 的全部 Issue

相似的 Issue

更多 Data Engineering Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。