|
Download README.md from KvcHub/Kava-Privacy-30M-Dataset: direct link, hf CLI and curl.
- Browser
- Download file 8.08 kB
-
https://huggingface.co/datasets/KvcHub/Kava-Privacy-30M-Dataset/resolve/main/README.md
- Command line
-
hf download hf://datasets/KvcHub/Kava-Privacy-30M-Dataset/README.md
-
curl -L -o README.md https://huggingface.co/datasets/KvcHub/Kava-Privacy-30M-Dataset/resolve/main/README.md
8.08 kB
| license: other | |
| license_name: kava-privacy-30m-dataset-license | |
| license_link: https://huggingface.co/datasets/KvcHub/Kava-Privacy-30M-Dataset/blob/main/LICENSE | |
| 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](https://huggingface.co/KvcHub/Kava-Privacy-30M)** 100% from scratch. | |
| > **Trained Model:** This dataset is the exact training corpus for **[KvcHub/Kava-Privacy-30M](https://huggingface.co/KvcHub/Kava-Privacy-30M)** (hosted separately as a model repository). | |
| ## Highlights | |
| - **Total Examples:** **361,526** (`train`: 339,517 · `validation`: 11,006 · `test`: 11,003) | |
| - **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 & Adversarial Suite (37,533 examples — subnets, loopback IPs, physics constants, tickers, legal rules, CVEs, SKUs):** 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` | 257,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. | |
| **License:** KvcHub's custom synthetic corpus (`kava_synthetic_36lang`, 257,000 rows) and dataset compilation are licensed under the **[Kava-Privacy-30M-Dataset License](./LICENSE)** — **free for personal, non-commercial use; business or commercial use requires written permission from KvcHub** ([hello@kvchub.com](mailto:hello@kvchub.com)). Upstream third-party subsets (`nvidia/Nemotron-PII` CC-BY-4.0 and `gretelai/synthetic_pii_finance_multilingual` Apache-2.0) retain their respective upstream licenses. | |
| ## Schema | |
| ```json | |
| { | |
| "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 | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("KvcHub/Kava-Privacy-30M-Dataset") | |
| print(ds["train"][0]) | |
| ``` | |
| <!-- KVCHUB-PAPERS-LINK --> | |
| ## Research Papers & Technical Reports | |
| Five accompanying research papers (Markdown + arXiv-ready LaTeX + 300-DPI figures + reproducible benchmarks) are published at **[`KvcHub/KvcHub-Research-Papers`](https://huggingface.co/datasets/KvcHub/KvcHub-Research-Papers)**: | |
| 1. [**Kava-Privacy-30M**](https://huggingface.co/datasets/KvcHub/KvcHub-Research-Papers/blob/main/01_Kava_Privacy_30M/PAPER.md) — *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**](https://huggingface.co/datasets/KvcHub/KvcHub-Research-Papers/blob/main/02_Zero_Swap_Apple_Silicon_MPS/PAPER.md) — *Eliminating MPSGraph Cache Explosion and Dynamic-Shape Leaks on Apple Silicon* | |
| 3. [**How Small Is Safe Enough?**](https://huggingface.co/datasets/KvcHub/KvcHub-Research-Papers/blob/main/03_PII_Scaling_Laws_636K_to_30M/PAPER.md) — *Scaling Laws for From-Scratch On-Device PII Redaction from 636K to 30M Parameters* | |
| 4. [**PolyPII-36**](https://huggingface.co/datasets/KvcHub/KvcHub-Research-Papers/blob/main/04_PolyPII_36_Dataset_Benchmark/PAPER.md) — *A 36-Language, 12-Script Benchmark for Joint Personal PII and Developer Secret Redaction* | |
| 5. [**The Zero-Cloud AI Workstation**](https://huggingface.co/datasets/KvcHub/KvcHub-Research-Papers/blob/main/05_Zero_Cloud_AI_Workstation/PAPER.md) — *Combining Sub-30ms Deterministic PII Firewalls with Local Code and In-Browser Language Models* | |