KVC899's picture
Link all 5 KvcHub research papers
1ae4733 verified
|
Raw History Blame Contribute Delete
7.44 kB
metadata
license: cc-by-4.0
task_categories:
  - token-classification
  - text-classification
language:
  - en
  - es
  - fr
  - de
  - it
  - pt
  - nl
  - pl
  - ru
  - uk
  - tr
  - ar
  - he
  - fa
  - hi
  - bn
  - ur
  - ta
  - zh
  - ja
  - ko
  - vi
  - th
  - id
  - ms
  - tl
  - sv
  - 'no'
  - da
  - fi
  - cs
  - ro
  - hu
  - el
  - sw
tags:
  - pii
  - pii-redaction
  - privacy
  - ner
  - multilingual
  - secrets-detection
  - kava-privacy
pretty_name: Kava-Privacy-30M Dataset (36 Languages)
size_categories:
  - 100K<n<1M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*.parquet
      - split: validation
        path: data/validation-*.parquet
      - split: test
        path: data/test-*.parquet

Kava-Privacy-30M-Dataset

Kava-Privacy-30M-Dataset is a comprehensive, 36-language, multi-domain Personally Identifiable Information (PII) and Developer Secrets redaction dataset created to train KvcHub/Kava-Privacy-30M 100% from scratch.

Trained Model: This dataset is the exact training corpus for KvcHub/Kava-Privacy-30M (hosted separately as a model repository).

Highlights

  • Total Examples: 284,526 (train: 267,517 · validation: 8,506 · test: 8,503)
  • 36 Languages across 12 Writing Systems: Latin, Cyrillic, Arabic, Hebrew, Devanagari, Bengali, Tamil, Han (Simplified & Traditional), Japanese, Hangul, Thai, and Greek.
  • 30 Unified Entity Types (61 BIO labels): Covers personal identifiers, contact details, government & tax IDs, financial & crypto accounts, healthcare PHI, network/device identifiers, and developer credentials (API keys, JWTs, passwords, database connection strings).
  • Hard Negatives (20,133 examples): Clean non-PII technical docs, version strings, SKUs, dates, and everyday prose across all 36 languages to minimize false positives.
  • Disjoint Eval Pools: Synthetic validation and test splits draw from held-out name/city/organization pools and phrasing variants for honest generalization measurement.
  • Exact Character Offsets + Pre-Rendered Redactions: Every example is verified for exact non-overlapping text[start:end] == span["text"] alignment and includes a deterministic redacted_text column.

Data Sources & Provenance

Source Examples
kava_synthetic_36lang 180,000
nvidia/Nemotron-PII 60,000
gretelai/synthetic_pii_finance_multilingual 44,526
  • kava_synthetic_36lang (Apache-2.0): Custom compositional 36-language multi-domain synthetic PII, developer secrets, and hard-negative generator.
  • gretelai/synthetic_pii_finance_multilingual (Apache-2.0): Multilingual financial, legal, and business documents normalized to the 30-entity taxonomy.
  • nvidia/Nemotron-PII (CC-BY-4.0): Diverse unstructured healthcare, HR, finance, and legal forms normalized to the 30-entity taxonomy.

Overall combined dataset license: CC-BY-4.0 (compatible with all constituent Apache-2.0 and CC-BY-4.0 sources).

Schema

{
  "id": "syn_en_0000001",
  "text": "From: Olivia Smith <olivia.smith@gmail.com>...",
  "spans": [
    {"start": 6, "end": 18, "label": "PERSON", "text": "Olivia Smith"},
    {"start": 20, "end": 42, "label": "EMAIL", "text": "olivia.smith@gmail.com"}
  ],
  "redacted_text": "From: [PERSON] <[EMAIL]>...",
  "language": "en",
  "domain": "email_correspondence",
  "source": "kava_synthetic_36lang"
}

Entity Taxonomy (30 Classes)

Entity Type Total Spans
PERSON 256,510
USERNAME 55,400
EMAIL 126,184
PHONE 99,029
ADDRESS 113,920
CITY 71,925
POSTAL_CODE 59,906
DATE_OF_BIRTH 52,526
AGE 38,452
NATIONAL_ID 42,359
PASSPORT 36,951
DRIVER_LICENSE 36,702
TAX_ID 36,945
CREDIT_CARD 30,189
CVV_PIN 31,833
BANK_ACCOUNT 57,287
CRYPTO_WALLET 18,416
MEDICAL_ID 28,032
MEDICAL_INFO 26,654
IP_ADDRESS 45,578
MAC_ADDRESS 30,465
DEVICE_ID 31,492
URL_SENSITIVE 54,317
PASSWORD 31,905
API_KEY 36,010
AUTH_TOKEN 30,541
DB_CONNECTION 23,156
VEHICLE_ID 33,419
ORGANIZATION 188,243
ACCOUNT_ID 88,345

Language Coverage (36 Languages)

Code Language Script Examples
en English Latin 87,696
es Spanish Latin 8,721
fr French Latin 8,472
de German Latin 8,623
it Italian Latin 8,602
pt Portuguese Latin 5,000
nl Dutch Latin 8,618
pl Polish Latin 5,000
ru Russian Cyrillic 5,000
uk Ukrainian Cyrillic 5,000
tr Turkish Latin 5,000
ar Arabic Arabic 5,000
he Hebrew Hebrew 5,000
fa Persian Arabic 5,000
hi Hindi Devanagari 5,000
bn Bengali Bengali 5,000
ur Urdu Arabic 5,000
ta Tamil Tamil 5,000
zh Chinese (Simplified) Han 5,000
zh-TW Chinese (Traditional) Han 5,000
ja Japanese Japanese 5,000
ko Korean Hangul 5,000
vi Vietnamese Latin 5,000
th Thai Thai 5,000
id Indonesian Latin 5,000
ms Malay Latin 5,000
tl Filipino Latin 5,000
sv Swedish Latin 8,794
no Norwegian Latin 5,000
da Danish Latin 5,000
fi Finnish Latin 5,000
cs Czech Latin 5,000
ro Romanian Latin 5,000
hu Hungarian Latin 5,000
el Greek Greek 5,000
sw Swahili Latin 5,000

Quick Usage

from datasets import load_dataset

ds = load_dataset("KvcHub/Kava-Privacy-30M-Dataset")
print(ds["train"][0])

Research Papers & Technical Reports

Five accompanying research papers (Markdown + arXiv-ready LaTeX + 300-DPI figures + reproducible benchmarks) are published at KvcHub/KvcHub-Research-Papers:

  1. Kava-Privacy-30M — Training a 36-Language, 30-Entity PII & Secrets Redaction Encoder from Scratch in Two Hours on a Single Laptop
  2. Zero-Swap Training on Unified Memory — Eliminating MPSGraph Cache Explosion and Dynamic-Shape Leaks on Apple Silicon
  3. How Small Is Safe Enough? — Scaling Laws for From-Scratch On-Device PII Redaction from 636K to 30M Parameters
  4. PolyPII-36 — A 36-Language, 12-Script Benchmark for Joint Personal PII and Developer Secret Redaction
  5. The Zero-Cloud AI Workstation — Combining Sub-30ms Deterministic PII Firewalls with Local Code and In-Browser Language Models