Datasets:
|
Download README.md from way2049/us_mail_synth: direct link, hf CLI and curl.
- Browser
- Download file 3.88 kB
-
https://huggingface.co/datasets/way2049/us_mail_synth/resolve/main/README.md
- Command line
-
hf download hf://datasets/way2049/us_mail_synth/README.md
-
curl -L -o README.md https://huggingface.co/datasets/way2049/us_mail_synth/resolve/main/README.md
3.88 kB
| license: apache-2.0 | |
| language: | |
| - en | |
| pretty_name: US Mail Synthetic KIE Corpus (clean_text track) | |
| tags: | |
| - synthetic | |
| - ocr | |
| - information-extraction | |
| - us-mail | |
| - zero-pii | |
| task_categories: | |
| - text-generation | |
| size_categories: | |
| - 1K<n<10K | |
| # US Mail synthetic corpus — `clean_text` track only | |
| Zero-PII synthetic US household letters (insurance, car rental, bank/credit, medical, government, landlord/property) with ground-truth 6-field key-information extraction (sender, recipient, account/ID, amounts, dates, required action). It is the training/validation side of the `us_mail_bench_v1` benchmark; the frozen 24-letter benchmark itself ships separately as [way2049/us_mail_bench_v1](https://huggingface.co/datasets/way2049/us_mail_bench_v1). | |
| Every letter is original synthetic text with fictional brands and personas, `555-01xx` phone numbers and `*.example.com` domains. No real correspondence, no personal data. | |
| ## What is in this pack | |
| | File | Rows | What it is | | |
| |---|---:|---| | |
| | `v1/train.jsonl`, `v1/val.jsonl` | 3,600 / 400 | V1 corpus (synthetic noise model, one template — see Limitations) | | |
| | `v2/sft_pool.clean_text.jsonl` | 780 | V2 SFT pool, `clean_text` rows only | | |
| | `v2/rlvr_pool.clean_text.jsonl` | 1,190 | V2 RLVR pool, `clean_text` rows only | | |
| | `v2/ood_val.clean_text.jsonl` | 20 | V2 out-of-distribution validation (two unseen layouts), `clean_text` rows only | | |
| | `v1/*.json`, `v2/*.json` | — | Audit manifests; local absolute paths replaced by relative ones, SHA fields kept | | |
| | `LEAKAGE_REPORT.json` | — | Zero-overlap check against the frozen 24 letters (accounts, brand/recipient pairs, 10-grams) | | |
| | `EXPORT_MANIFEST.json` | — | Per-file SHA256, row counts and how many rows were withheld | | |
| ## What is deliberately NOT in this pack | |
| - **No `MiniCPM-OCR` output.** In the full V2 factory 430 letters (`ocr_source == "minicpm"`) were transcribed by `MiniCPM-OCR-1.0-8bit`. **That model's upstream Hugging Face card declares no license**, so its transcripts are not redistributed here and the model is not described as Apache-2.0 anywhere in this pack. Only rows with `ocr_source == "clean_text"` (the generator's own text) are published. | |
| - No images, no model weights. The V1 (`Qwen2.5-3B-Instruct` base, `qwen-research` license) and V2 (`Qwen3-4B`) student weights are **not** published, and neither is the V2 SFT training file. | |
| - No real letters, ever. | |
| ## License | |
| The data, the benchmark and the code are released under **Apache-2.0** (see `LICENSE`). Third-party models keep their own licenses: `Qwen3.5-9B` / `Qwen3-4B` are Apache-2.0; `MiniCPM-OCR-1.0-8bit` has no declared license upstream and is only a local tool the authors used to produce some pipeline numbers (it is never redistributed). | |
| ## Limitations (read before training on it) | |
| - **V1 is a single-template corpus**: every training text starts with the same page-header artifact and uses one account-ID shape, so a model fitted to it learns the template. V2 was built to fix that (14 layouts, 14 account shapes) and is the one to use. | |
| - `ood_val` comes from the same synthetic factory as the V2 training data, and it was used to choose the V2 checkpoint. It is an out-of-layout check, not an out-of-source one. | |
| - All text is synthetic English US mail; do not read results on it as performance on real correspondence. | |
| - Headline results, their scope (a number tuned on the frozen 24 letters must be read next to its `ood_val` counterpart) and the corrections are in the write-up ([English](https://huggingface.co/datasets/way2049/us_mail_bench_v1/blob/main/writeup/WRITEUP.en.md) / [中文](https://huggingface.co/datasets/way2049/us_mail_bench_v1/blob/main/writeup/WRITEUP.zh.md)). | |
| ## Reproducing the generator | |
| The generator code is not part of this release yet. Its optional real-OCR step uses a local MiniCPM checkpoint; nothing produced by that step is included here. | |