Upload folder using huggingface_hub
Browse files- LEAK_SCAN.md +68 -0
- README.md +325 -0
- pii_free/train-00000.parquet +3 -0
- pii_free/train-00001.parquet +3 -0
- pii_free/train-00002.parquet +3 -0
- pii_free/train-00003.parquet +3 -0
- pii_free/train-00004.parquet +3 -0
- pii_free/train-00005.parquet +3 -0
- pii_free/train-00006.parquet +3 -0
- pii_free/train-00007.parquet +3 -0
- pii_free/train-00008.parquet +3 -0
- release_manifest.json +65 -0
- sample/zoomcap_450k_sample.jsonl +0 -0
- stats.json +297 -0
- verification/CORPUS_STATS.md +179 -0
- verification/JOIN_VERIFICATION.md +55 -0
- verification/PII_CENSUS.md +37 -0
- verification/PII_FREE_CHECK.md +9 -0
- verification/corpus_stats.json +167 -0
- verification/join_verification.json +35 -0
LEAK_SCAN.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Leak scan — ZoomCap-450K release
|
| 2 |
+
|
| 3 |
+
* root: `ZoomCap-450K` (absolute path withheld)
|
| 4 |
+
* pattern sources: public defaults + site file leak_patterns.json
|
| 5 |
+
* HARD rules: 8 (1 metadata-only: ['developer_home']); SOFT rules: 8
|
| 6 |
+
* files scanned: 38; captions scanned: 1,354,524
|
| 7 |
+
* caption text policy: `verbatim` (from stats.json)
|
| 8 |
+
* expected SOFT residue (allowed by policy): ['cn_id_card', 'cn_mobile', 'credential_in_image', 'email', 'fs_path', 'handle', 'qq_id', 'url']
|
| 9 |
+
* target: `data`
|
| 10 |
+
|
| 11 |
+
## HARD hits (must be zero)
|
| 12 |
+
* none ✅
|
| 13 |
+
|
| 14 |
+
## SOFT hits — must be reviewed before publishing
|
| 15 |
+
* none ✅
|
| 16 |
+
|
| 17 |
+
## SOFT residue allowed by policy (text visible in the public source images)
|
| 18 |
+
|
| 19 |
+
Captions are published verbatim, so these categories are expected residue: transcriptions of text visible in the public source images (contact details on business cards, storefront signage, screenshots). They are quantified by count in `verification/PII_CENSUS.md`, and the rows carrying them are excluded from the `pii_free` config for reviewers who require a corpus without third-party contact strings. No Ant Group data is involved, and no image is redistributed.
|
| 20 |
+
* email — verbatim examples withheld
|
| 21 |
+
* cn_mobile — verbatim examples withheld
|
| 22 |
+
* qq_id — verbatim examples withheld
|
| 23 |
+
* fs_path — verbatim examples withheld
|
| 24 |
+
* handle — verbatim examples withheld
|
| 25 |
+
* url — verbatim examples withheld
|
| 26 |
+
* credential_in_image — verbatim examples withheld
|
| 27 |
+
|
| 28 |
+
## Files scanned
|
| 29 |
+
* `release_manifest.json`
|
| 30 |
+
* `stats.json`
|
| 31 |
+
* `full/train-00000.parquet`
|
| 32 |
+
* `full/train-00001.parquet`
|
| 33 |
+
* `full/train-00002.parquet`
|
| 34 |
+
* `full/train-00003.parquet`
|
| 35 |
+
* `full/train-00004.parquet`
|
| 36 |
+
* `full/train-00005.parquet`
|
| 37 |
+
* `full/train-00006.parquet`
|
| 38 |
+
* `full/train-00007.parquet`
|
| 39 |
+
* `full/train-00008.parquet`
|
| 40 |
+
* `full/train-00009.parquet`
|
| 41 |
+
* `pii_free/train-00000.parquet`
|
| 42 |
+
* `pii_free/train-00001.parquet`
|
| 43 |
+
* `pii_free/train-00002.parquet`
|
| 44 |
+
* `pii_free/train-00003.parquet`
|
| 45 |
+
* `pii_free/train-00004.parquet`
|
| 46 |
+
* `pii_free/train-00005.parquet`
|
| 47 |
+
* `pii_free/train-00006.parquet`
|
| 48 |
+
* `pii_free/train-00007.parquet`
|
| 49 |
+
* `pii_free/train-00008.parquet`
|
| 50 |
+
* `verification/CORPUS_STATS.md`
|
| 51 |
+
* `verification/JOIN_VERIFICATION.md`
|
| 52 |
+
* `verification/PII_CENSUS.md`
|
| 53 |
+
* `verification/PII_FREE_CHECK.md`
|
| 54 |
+
* `verification/corpus_stats.json`
|
| 55 |
+
* `verification/join_verification.json`
|
| 56 |
+
* `clean/train-00000.parquet`
|
| 57 |
+
* `clean/train-00001.parquet`
|
| 58 |
+
* `clean/train-00002.parquet`
|
| 59 |
+
* `clean/train-00003.parquet`
|
| 60 |
+
* `clean/train-00004.parquet`
|
| 61 |
+
* `clean/train-00005.parquet`
|
| 62 |
+
* `clean/train-00006.parquet`
|
| 63 |
+
* `clean/train-00007.parquet`
|
| 64 |
+
* `clean/train-00008.parquet`
|
| 65 |
+
* `clean/train-00009.parquet`
|
| 66 |
+
* `sample/zoomcap_450k_sample.jsonl`
|
| 67 |
+
|
| 68 |
+
_(Verbatim example contexts are withheld from the public copy: they quote the exact third-party contact strings that this config excludes. The counts above are complete, and the full example set is part of the internal data-release application.)_
|
README.md
CHANGED
|
@@ -1,3 +1,328 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-to-text
|
| 5 |
+
- text-to-image
|
| 6 |
+
- visual-question-answering
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- image-captioning
|
| 11 |
+
- vision-language-model
|
| 12 |
+
- continual-pretraining
|
| 13 |
+
- multimodal
|
| 14 |
+
- captions-only
|
| 15 |
+
size_categories:
|
| 16 |
+
- 100K<n<1M
|
| 17 |
+
pretty_name: ZoomCap-450K
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: pii_free
|
| 20 |
+
data_files: pii_free/*.parquet
|
| 21 |
+
# TODO before publishing: uncomment and fill in the arXiv id of the paper
|
| 22 |
+
# papers:
|
| 23 |
+
# - arXiv:XXXX.XXXXX
|
| 24 |
---
|
| 25 |
+
|
| 26 |
+
# ZoomCap-450K
|
| 27 |
+
|
| 28 |
+
**Dense image captions produced by the ZoomCap evidence-routing workflow, as a
|
| 29 |
+
drop-in caption replacement for
|
| 30 |
+
[ScaleCap-450k](https://huggingface.co/datasets/long-xing1/ScaleCap-450k).**
|
| 31 |
+
|
| 32 |
+
Code, verification tooling and the published evidence reports:
|
| 33 |
+
**https://github.com/MasterHow/ZoomCap-450K** (Apache-2.0).
|
| 34 |
+
|
| 35 |
+
This repository contains **captions only — no images**. Each row carries the
|
| 36 |
+
image key under which the picture is published upstream, so the corpus can be
|
| 37 |
+
joined to ScaleCap-450k (or to any local copy of the ShareGPT4V / LAION pools)
|
| 38 |
+
without redistributing a single picture.
|
| 39 |
+
|
| 40 |
+
The row schema is intentionally **identical to ScaleCap-450k** (`images` +
|
| 41 |
+
`conversations`, including its literal `<image>` human turn), so a ScaleCap
|
| 42 |
+
training recipe runs against ZoomCap-450K with no loader changes.
|
| 43 |
+
|
| 44 |
+
## Why
|
| 45 |
+
|
| 46 |
+
The companion paper
|
| 47 |
+
*ZoomCap: Evidence-Routed Visual Zooming for Recoverable Visual Information
|
| 48 |
+
Transfer* treats fine-grained captioning as **recoverable visual information
|
| 49 |
+
transfer**: a teacher acquires missing evidence under a finite observation
|
| 50 |
+
budget (conditional knowledge retrieval, OCR-sensitive reading, coverage-gap
|
| 51 |
+
recovery, adaptive visual zooming with grounded geometry) and converts it into
|
| 52 |
+
reusable supervision. Headline results, measured on this corpus and its
|
| 53 |
+
evaluations:
|
| 54 |
+
|
| 55 |
+
| Result | ZoomCap | baseline |
|
| 56 |
+
| --- | --- | --- |
|
| 57 |
+
| FactCycle transferred claims / image | **52.4** | 31.5 (ScaleCap) |
|
| 58 |
+
| Human tie-adjusted preference vs. a 10× larger flagship teacher | **81.9%** | — |
|
| 59 |
+
| 11-benchmark CPT average vs. strongest competing 450K corpus | **+1.31 … +2.38** | — |
|
| 60 |
+
| Production document/OCR monitor suite (`Ling-Tiny-VL-v3`, 60B tokens) | **+1.4** (+0.90 platform-wide) | — |
|
| 61 |
+
| Medical pre-training, 5 VQA benchmarks (2.64M images) | **+3.04** | +1.76 (same-image single-pass captions) |
|
| 62 |
+
| Captioning cost per image | **$0.0077** | 3.6× more expensive per image, 5.9× more expensive per transferred claim for the ScaleCap recipe |
|
| 63 |
+
| Total characters vs. ScaleCap-450K | **1.45×** | — |
|
| 64 |
+
|
| 65 |
+
Releasing the corpus is what makes the equal-scale CPT comparison in the paper
|
| 66 |
+
checkable.
|
| 67 |
+
|
| 68 |
+
## Layout
|
| 69 |
+
|
| 70 |
+
```
|
| 71 |
+
pii_free/ train-00000 … train-00008.parquet 447,285 rows 536 MB
|
| 72 |
+
sample/ zoomcap_450k_sample.jsonl 1,000 rows (readable preview)
|
| 73 |
+
stats.json per-build counters, QC flags, PII census tallies
|
| 74 |
+
release_manifest.json sha256 + byte size of all 31 published files
|
| 75 |
+
verification/PII_CENSUS.md every personal-information category, measured verbatim
|
| 76 |
+
verification/JOIN_VERIFICATION.md schema + row-count + loadable checks
|
| 77 |
+
verification/CORPUS_STATS.md the paper's corpus-statistics columns, recomputed
|
| 78 |
+
verification/PII_FREE_CHECK.md independent re-scan of `pii_free`: 0 detections
|
| 79 |
+
LEAK_SCAN.md result of the pre-publication internal-identifier scan
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
* `pii_free` — the corpus minus 3,687 degenerate outputs and minus the 3,991
|
| 83 |
+
rows whose source image shows a third-party contact string or credential.
|
| 84 |
+
Rows are dropped, never edited, so every caption here is byte-identical to
|
| 85 |
+
the version the teacher produced.
|
| 86 |
+
|
| 87 |
+
> **Scope of this public release.** Published: `pii_free`. Withheld: `full`, `clean`. The withheld configurations keep every caption byte-identical to the corpus the paper reports (the degenerate output tail and rows transcribing contact strings visible in the source image). Use `pii_free` for training; access to the withheld configurations requires a separate data-release approval — open an issue on the code repository to ask.
|
| 88 |
+
|
| 89 |
+
## Loading
|
| 90 |
+
|
| 91 |
+
```python
|
| 92 |
+
from datasets import load_dataset
|
| 93 |
+
|
| 94 |
+
ds = load_dataset("MasterHow/ZoomCap-450K", "pii_free", split="train") # 447,285 rows
|
| 95 |
+
# configs: "pii_free" (447,285 rows)
|
| 96 |
+
print(ds[0])
|
| 97 |
+
# {'images': ['laion_filter_image/7156c3a92b9fdf307f8734b11cd4d98b'
|
| 98 |
+
# '70317652a937fb9622a24256048b910b.jpg'],
|
| 99 |
+
# 'conversations': [{'from': 'human', 'value': '<image>'},
|
| 100 |
+
# {'from': 'gpt', 'value': 'This dynamic, close-up action shot
|
| 101 |
+
# captures three Liverpool FC players celebrating a goal …'}]}
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
### Captions + images (join against ScaleCap-450k)
|
| 105 |
+
|
| 106 |
+
Images are not redistributed here; they live in ScaleCap-450k under exactly the
|
| 107 |
+
same key. Index the keys once, then stream the upstream images past them — the
|
| 108 |
+
index holds ~440K short strings (~40 MB), and captions stay on disk behind Arrow
|
| 109 |
+
random access:
|
| 110 |
+
|
| 111 |
+
```python
|
| 112 |
+
from datasets import load_dataset
|
| 113 |
+
|
| 114 |
+
zoom = load_dataset("MasterHow/ZoomCap-450K", "pii_free", split="train") # arrow-backed
|
| 115 |
+
index = {}
|
| 116 |
+
for i, row in enumerate(zoom): # one pass over the keys only
|
| 117 |
+
index.setdefault(row["images"][0], i) # use a list if you want every caption
|
| 118 |
+
# of a duplicated key
|
| 119 |
+
|
| 120 |
+
n = 0
|
| 121 |
+
for row in load_dataset("long-xing1/ScaleCap-450k", "ScaleCap450k",
|
| 122 |
+
split="train", streaming=True):
|
| 123 |
+
i = index.get(row["images"][0]) # e.g. 'laion_filter_image/<sha256>.jpg'
|
| 124 |
+
if i is None:
|
| 125 |
+
continue
|
| 126 |
+
caption = zoom[i]["conversations"][1]["value"]
|
| 127 |
+
n += 1 # (row["images"][0], caption) is a pair
|
| 128 |
+
print("matched", n)
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
ScaleCap-450k is ~95 GB, so prefer `streaming=True`. If you already hold the
|
| 132 |
+
ShareGPT4V or LAION image pools locally, the same key resolves there:
|
| 133 |
+
`laion_filter_image/<sha256>.jpg` is the LAION-5B image key (sha256 of the source
|
| 134 |
+
URL, i.e. what `img2dataset` names its files), and `share4v_image/<name>.jpg` is
|
| 135 |
+
ShareGPT4V's own filename (`000000156836.jpg` COCO, `sa_24327.jpg` SAM,
|
| 136 |
+
`6e68d8a830ff2821.jpg` CC12M, `Vincent_Cassel.jpg` wikiart).
|
| 137 |
+
|
| 138 |
+
### LLaMA-Factory / CPT against ScaleCap
|
| 139 |
+
|
| 140 |
+
Register both corpora and change nothing else — the fields are the same:
|
| 141 |
+
|
| 142 |
+
```json
|
| 143 |
+
// data/dataset_info.json
|
| 144 |
+
"zoomcap_450k": {"hf_hub_url": "MasterHow/ZoomCap-450K", "subset": "pii_free",
|
| 145 |
+
"formatting": "sharegpt", "columns": {"messages": "conversations",
|
| 146 |
+
"images": "images"}, "tags": {"role_tag": "from", "content_tag": "value",
|
| 147 |
+
"user_tag": "human", "assistant_tag": "gpt"}},
|
| 148 |
+
"scalecap_450k": {"hf_hub_url": "long-xing1/ScaleCap-450k",
|
| 149 |
+
"formatting": "sharegpt", "columns": {"messages": "conversations",
|
| 150 |
+
"images": "images"}}
|
| 151 |
+
```
|
| 152 |
+
|
| 153 |
+
## Contents
|
| 154 |
+
|
| 155 |
+
| | `pii_free` |
|
| 156 |
+
| --- | --- |
|
| 157 |
+
| rows | 447,285 |
|
| 158 |
+
| unique image keys | 432,755 |
|
| 159 |
+
| mean caption characters | 3,966.0 |
|
| 160 |
+
| `laion_filter_image` rows | 346,618 |
|
| 161 |
+
| `share4v_image` rows | 100,667 |
|
| 162 |
+
| median / p99 / max chars | 3,926 / 6,581 / 29,215 |
|
| 163 |
+
|
| 164 |
+
`full`'s mean of 4,228.6 characters is the number the paper's corpus-statistics
|
| 165 |
+
table reports, reproduced exactly: caption text is published verbatim.
|
| 166 |
+
|
| 167 |
+
Word and sentence means are recomputed from the published rows with the script in
|
| 168 |
+
`verification/CORPUS_STATS.md`; the paper's table quotes 622.8 words and 33.1
|
| 169 |
+
sentences from its own internal tokeniser, and the character column (4,228.6) is
|
| 170 |
+
reproduced to within 0.1 by the sanitised release.
|
| 171 |
+
|
| 172 |
+
**Duplicate keys are expected.** The upstream pool repeats 8,865 ShareGPT4V
|
| 173 |
+
images (5,395 keys twice, 1,848 three times, 1,000 four times, 494 five, 110 six,
|
| 174 |
+
18 seven times → 14,725 extra rows). Every occurrence was captioned
|
| 175 |
+
independently, so those rows are *different* captions of the same picture —
|
| 176 |
+
useful as augmentation, and something to deduplicate if you want strictly one
|
| 177 |
+
caption per image:
|
| 178 |
+
|
| 179 |
+
```python
|
| 180 |
+
seen = set()
|
| 181 |
+
ds = ds.filter(lambda r: not (r["images"][0] in seen or seen.add(r["images"][0])))
|
| 182 |
+
```
|
| 183 |
+
|
| 184 |
+
## Processing applied to the internal corpus
|
| 185 |
+
|
| 186 |
+
Everything below is reproducible from the scripts in the accompanying code
|
| 187 |
+
repository (`release/build_release.py`, `release/scan_leaks.py`,
|
| 188 |
+
`release/verify_join.py`, `release/compute_corpus_stats.py`).
|
| 189 |
+
|
| 190 |
+
1. **Key sanitising.** Captions were produced against an internal image cache
|
| 191 |
+
whose absolute paths are not part of the upstream naming. They are rewritten
|
| 192 |
+
to the upstream form `<source_dir>/<basename>`; the cache's 21 four-hex shard
|
| 193 |
+
directories are dropped. De-sharding was verified injective on this corpus
|
| 194 |
+
(no key is reachable from two shard directories), and the build fails hard if
|
| 195 |
+
that ever changes.
|
| 196 |
+
2. **Caption text is published verbatim — no masking.** The strings a PII
|
| 197 |
+
detector finds in this corpus are text *visible inside the source images*
|
| 198 |
+
(contact e-mails on business cards, phone numbers on storefront signage,
|
| 199 |
+
paths in screenshots, social handles in watermarks). Rewriting them would
|
| 200 |
+
break three things at once: the OCR transcriptions that make this corpus
|
| 201 |
+
useful, the caption-image consistency that reconstruction-style evaluation
|
| 202 |
+
measures, and bit-for-bit reproduction of the paper's statistics. Instead we
|
| 203 |
+
measure and expose them:
|
| 204 |
+
|
| 205 |
+
| category | occurrences | rows | share of rows |
|
| 206 |
+
| --- | --- | --- | --- |
|
| 207 |
+
| social handle (at-sign username) | 3,943 | 1,986 | 0.44% |
|
| 208 |
+
| e-mail address | 2,705 | 1,978 | 0.43% |
|
| 209 |
+
| local filesystem path | 136 | 95 | 0.02% |
|
| 210 |
+
| mainland-China mobile number | 80 | 66 | 0.015% |
|
| 211 |
+
| in-image credential (password / activation code) | — | 10 | 0.002% |
|
| 212 |
+
| QQ identifier | 2 | 2 | <0.001% |
|
| 213 |
+
| national ID / passport / bank card | 0 | 0 | 0% |
|
| 214 |
+
|
| 215 |
+
Verbatim contexts for every category, plus the exact detection patterns, ship
|
| 216 |
+
in `verification/PII_CENSUS.md`; `verification/PII_FREE_CHECK.md` is an
|
| 217 |
+
independent re-scan of the published `pii_free` shards (447,285 rows, 0
|
| 218 |
+
detections) that does not reuse the build's own flags. Nothing in this corpus is Ant Group data:
|
| 219 |
+
the images are the public ShareGPT4V / LAION pools that ScaleCap-450k already
|
| 220 |
+
publishes, and the captions are our model's descriptions of them.
|
| 221 |
+
3. **Row-level exclusion, offered as a config.** Every row matching one of those
|
| 222 |
+
categories carries a flag (`pii_contact`, `pii_identifier`,
|
| 223 |
+
`credential_in_image`) and is dropped from `pii_free` — 3,991 rows, 0.88% of
|
| 224 |
+
the corpus. Exclusion replaces editing, so the remaining rows stay exactly as
|
| 225 |
+
generated. Textual masking remains available behind
|
| 226 |
+
`build_release.py --redact-pii` for anyone who needs it; it is off by default
|
| 227 |
+
precisely because it corrupts the corpus.
|
| 228 |
+
4. **Degeneracy QC**, deterministic thresholds: `too_short` < 200 chars (4 rows),
|
| 229 |
+
`too_long` > 30,000 chars (3,510), `repetition_line` — one line of >= 40 chars
|
| 230 |
+
repeated more than 5x (3,274), `repetition_word` — one 8-word shingle
|
| 231 |
+
repeated more than 15x (2,401). Flagged rows: **3,687** removed in `clean`,
|
| 232 |
+
kept in `full`.
|
| 233 |
+
5. **Internal-identifier scan** of every published file — internal mount points,
|
| 234 |
+
developer home directories, internal corpus/system names, work ids, cloud
|
| 235 |
+
credentials, private keys: **0 hits**. The same scan over the publishing
|
| 236 |
+
scripts and this card is also clean (`LEAK_SCAN.md` ships with the release).
|
| 237 |
+
6. **Schema check** against the upstream contract (field order, arrow types,
|
| 238 |
+
literal `<image>` human turn, key grammar, no absolute paths, no empty
|
| 239 |
+
captions), a `datasets.load_dataset` check that the arrow feature signature
|
| 240 |
+
equals ScaleCap-450k's, and reconciliation of every shard's row count with
|
| 241 |
+
`stats.json`.
|
| 242 |
+
|
| 243 |
+
Residual in-image text is *not* scrubbed: URLs, watermark credits (e.g.
|
| 244 |
+
`© AFP/Getty Images`) and public-figure names appear where the source image
|
| 245 |
+
shows them, exactly as in the upstream public captions.
|
| 246 |
+
|
| 247 |
+
## Privacy stance in one paragraph
|
| 248 |
+
|
| 249 |
+
We publish descriptions of images that are already public. Captions can therefore
|
| 250 |
+
contain what those images show — including contact strings of third parties who
|
| 251 |
+
never interacted with us. Rather than edit the text (which would silently corrupt
|
| 252 |
+
OCR transcriptions and every statistic the paper reports), we (a) publish the full
|
| 253 |
+
census with verbatim examples, (b) ship `pii_free`, a config with all such rows
|
| 254 |
+
removed, (c) redistribute no images, and (d) restrict the corpus to
|
| 255 |
+
non-commercial research use under the upstream licence. If your use case cannot
|
| 256 |
+
tolerate any third-party contact string, load `pii_free`.
|
| 257 |
+
|
| 258 |
+
## Intended use and limitations
|
| 259 |
+
|
| 260 |
+
* **Intended:** research on vision-language models and text-to-image models —
|
| 261 |
+
caption-corpus comparisons, continual pre-training, caption→image
|
| 262 |
+
reconstruction studies.
|
| 263 |
+
* Captions are **model-generated** (teacher: the Qwen3.5-35B-A3B call used in the
|
| 264 |
+
paper's ZoomCap workflow). They can contain hallucinated detail, misattributed
|
| 265 |
+
names and wrong counts; the paper quantifies this rather than hiding it
|
| 266 |
+
(FactCycle's truthfulness anchor exists precisely to measure it). Verify before
|
| 267 |
+
relying on any single caption.
|
| 268 |
+
* Captions are English and highly structured (free-text overview plus
|
| 269 |
+
`### Background Knowledge` and `### Visual Detail Supplement` sections), which
|
| 270 |
+
is a property of the workflow, not of the images.
|
| 271 |
+
* **Not** for medical, legal or diagnostic use, and not for any
|
| 272 |
+
identification/surveillance of the people who appear in the source images.
|
| 273 |
+
* The corpus contains descriptions of images that may depict nudity, violence or
|
| 274 |
+
other disturbing content, inherited from LAION-5B / ShareGPT4V.
|
| 275 |
+
|
| 276 |
+
## License and attribution
|
| 277 |
+
|
| 278 |
+
Captions: **CC BY-NC 4.0**, research use only — the same licence as the upstream
|
| 279 |
+
corpus this overlays, so no downstream user gains rights beyond what
|
| 280 |
+
ScaleCap-450k already grants. The accompanying scripts are Apache-2.0.
|
| 281 |
+
|
| 282 |
+
No images are redistributed. Obtaining them remains the user's responsibility
|
| 283 |
+
under the upstream terms: ScaleCap-450k (CC BY-NC 4.0), ShareGPT4V-100K, and
|
| 284 |
+
LAION-5B (which publishes URL metadata only; image copyright stays with the
|
| 285 |
+
original creators). If you cannot satisfy those terms, do not use this dataset.
|
| 286 |
+
|
| 287 |
+
```bibtex
|
| 288 |
+
@article{shi2026zoomcap,
|
| 289 |
+
title = {ZoomCap: Evidence-Routed Visual Zooming for Recoverable Visual
|
| 290 |
+
Information Transfer},
|
| 291 |
+
author = {Shi, Hao and Wang, Jiafeng and Fu, Yuzhuo and Zhang, Tao and
|
| 292 |
+
Bai, Jian and Zhang, Juelu and Cui, Qing and Huang, Chao},
|
| 293 |
+
journal = {arXiv preprint},
|
| 294 |
+
year = {2026},
|
| 295 |
+
note = {arXiv identifier to be added once the preprint is posted}
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
@article{xing2025scalecap,
|
| 299 |
+
title = {ScaleCap: Inference-Time Scalable Image Captioning via
|
| 300 |
+
Dual-Modality Debiasing},
|
| 301 |
+
author = {Xing, Long and Huang, Qidong and Dong, Xiaoyi and Zhang, Pan and
|
| 302 |
+
Zang, Yuhang and Cao, Yuhang and Li, Jinsong and Ding, Shuangrui and
|
| 303 |
+
Zhang, Weiming and Yu, Nenghai and Wang, Jiaqi and Wu, Feng and
|
| 304 |
+
Lin, Dahua},
|
| 305 |
+
journal = {arXiv preprint arXiv:2506.19848},
|
| 306 |
+
year = {2025}
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
@inproceedings{chen2023sharegpt4v,
|
| 310 |
+
title = {ShareGPT4V: Improving Large Multi-Modal Models with Better Captions},
|
| 311 |
+
author = {Chen, Lin and Li, Jisong and Dong, Xiaoyi and Zhang, Pan and
|
| 312 |
+
He, Conghui and Wang, Jiaqi and Zhao, Feng and Lin, Dahua},
|
| 313 |
+
booktitle = {European Conference on Computer Vision (ECCV)},
|
| 314 |
+
year = {2024}
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
@article{schuhmann2021laion,
|
| 318 |
+
title = {LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairs},
|
| 319 |
+
author = {Schuhmann, Christoph and others},
|
| 320 |
+
journal = {arXiv preprint arXiv:2111.02114},
|
| 321 |
+
year = {2021}
|
| 322 |
+
}
|
| 323 |
+
```
|
| 324 |
+
|
| 325 |
+
## Contact
|
| 326 |
+
|
| 327 |
+
TODO: point at the approved public contact (org e-mail or GitHub issues on the
|
| 328 |
+
code repository). Do not list personal work accounts.
|
pii_free/train-00000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f99cbcce2a318edaabffc6df956b0fb07bd2a3d3fa9951089d26ccd39069bd34
|
| 3 |
+
size 62188071
|
pii_free/train-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c608a4d85fd2dfd8f0e2371f8cf25eb32caa2044383d9666b96fa2251f608ac
|
| 3 |
+
size 62202321
|
pii_free/train-00002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5751a89fe094baa1e6d68204bf2ddf23de7a01ec0d825c7b8183afe314dd790d
|
| 3 |
+
size 62186848
|
pii_free/train-00003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:229ef4ee8b67476cc785e398bd7ceb8a95ab13b8317d27c7c4aeec0922eafaa9
|
| 3 |
+
size 62218975
|
pii_free/train-00004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14679cfe5d53f31ca044be6c1dcfef87edb970ac46685a25c70bd44a0a96efbc
|
| 3 |
+
size 62118886
|
pii_free/train-00005.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0476cc4492c2517b607361c8f47850cd6a7b6147e4e45e078959035319aa8614
|
| 3 |
+
size 62075765
|
pii_free/train-00006.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77fcd699839aea188aafb179747ab29aba20c169503e99df7d15d4a991698215
|
| 3 |
+
size 62152535
|
pii_free/train-00007.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efdff80d73285d5ddd5c346f30b43e3e68aeb789d773b763fdb897866042b710
|
| 3 |
+
size 62182108
|
pii_free/train-00008.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1f332849c5fe026e5ce059cb76e1360535fa8dd814d9ec6cdbab0694ae95368
|
| 3 |
+
size 58779119
|
release_manifest.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": "ZoomCap-450K",
|
| 3 |
+
"configs": [
|
| 4 |
+
"pii_free"
|
| 5 |
+
],
|
| 6 |
+
"policy": "upload only files whose sha256 matches this manifest",
|
| 7 |
+
"excluded": "README.md, release_manifest.json, LEAK_SCAN.md, verification/**",
|
| 8 |
+
"files": [
|
| 9 |
+
{
|
| 10 |
+
"path": "pii_free/train-00000.parquet",
|
| 11 |
+
"bytes": 62188071,
|
| 12 |
+
"sha256": "f99cbcce2a318edaabffc6df956b0fb07bd2a3d3fa9951089d26ccd39069bd34"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"path": "pii_free/train-00001.parquet",
|
| 16 |
+
"bytes": 62202321,
|
| 17 |
+
"sha256": "8c608a4d85fd2dfd8f0e2371f8cf25eb32caa2044383d9666b96fa2251f608ac"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"path": "pii_free/train-00002.parquet",
|
| 21 |
+
"bytes": 62186848,
|
| 22 |
+
"sha256": "5751a89fe094baa1e6d68204bf2ddf23de7a01ec0d825c7b8183afe314dd790d"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"path": "pii_free/train-00003.parquet",
|
| 26 |
+
"bytes": 62218975,
|
| 27 |
+
"sha256": "229ef4ee8b67476cc785e398bd7ceb8a95ab13b8317d27c7c4aeec0922eafaa9"
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"path": "pii_free/train-00004.parquet",
|
| 31 |
+
"bytes": 62118886,
|
| 32 |
+
"sha256": "14679cfe5d53f31ca044be6c1dcfef87edb970ac46685a25c70bd44a0a96efbc"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"path": "pii_free/train-00005.parquet",
|
| 36 |
+
"bytes": 62075765,
|
| 37 |
+
"sha256": "0476cc4492c2517b607361c8f47850cd6a7b6147e4e45e078959035319aa8614"
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"path": "pii_free/train-00006.parquet",
|
| 41 |
+
"bytes": 62152535,
|
| 42 |
+
"sha256": "77fcd699839aea188aafb179747ab29aba20c169503e99df7d15d4a991698215"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"path": "pii_free/train-00007.parquet",
|
| 46 |
+
"bytes": 62182108,
|
| 47 |
+
"sha256": "efdff80d73285d5ddd5c346f30b43e3e68aeb789d773b763fdb897866042b710"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"path": "pii_free/train-00008.parquet",
|
| 51 |
+
"bytes": 58779119,
|
| 52 |
+
"sha256": "a1f332849c5fe026e5ce059cb76e1360535fa8dd814d9ec6cdbab0694ae95368"
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"path": "sample/zoomcap_450k_sample.jsonl",
|
| 56 |
+
"bytes": 4262124,
|
| 57 |
+
"sha256": "bfa971a9c757e5d579fd038296737da361c452ebe7b368d92848e472ef7d62bc"
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"path": "stats.json",
|
| 61 |
+
"bytes": 6733,
|
| 62 |
+
"sha256": "06ef37b8603535a8ad36fd836ccddc668a71da5641d2f7cbe6753b85710c3020"
|
| 63 |
+
}
|
| 64 |
+
]
|
| 65 |
+
}
|
sample/zoomcap_450k_sample.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
stats.json
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"generated_at": "2026-10-14T11:03:41+0800",
|
| 3 |
+
"generator": "release/build_release.py",
|
| 4 |
+
"layout": "<config>/train-000NN.parquet (HuggingFace config directories)",
|
| 5 |
+
"src_sha256": "c32b412e3f5d52f243daf10f834ea58a5090aa63266eea48718976602163e2ae",
|
| 6 |
+
"src_bytes": 2066877248,
|
| 7 |
+
"limit": null,
|
| 8 |
+
"schema": "images + conversations (identical to long-xing1/ScaleCap-450k)",
|
| 9 |
+
"counts": {
|
| 10 |
+
"rows_per_config": {
|
| 11 |
+
"full": 454963,
|
| 12 |
+
"clean": 451276,
|
| 13 |
+
"pii_free": 447285
|
| 14 |
+
},
|
| 15 |
+
"shards_per_config": {
|
| 16 |
+
"full": 10,
|
| 17 |
+
"clean": 10,
|
| 18 |
+
"pii_free": 9
|
| 19 |
+
},
|
| 20 |
+
"unique_image_keys": 440238,
|
| 21 |
+
"duplicate_rows": 14725,
|
| 22 |
+
"shape_rejects": 0,
|
| 23 |
+
"key_rejects": 0,
|
| 24 |
+
"source_rows": {
|
| 25 |
+
"laion_filter_image": 352942,
|
| 26 |
+
"share4v_image": 102021
|
| 27 |
+
},
|
| 28 |
+
"output_bytes": 1692004239
|
| 29 |
+
},
|
| 30 |
+
"qc_flags": {
|
| 31 |
+
"too_long": 3510,
|
| 32 |
+
"repetition_word": 2401,
|
| 33 |
+
"repetition_line": 3274,
|
| 34 |
+
"pii_contact": 3954,
|
| 35 |
+
"pii_identifier": 67,
|
| 36 |
+
"credential_in_image": 10,
|
| 37 |
+
"too_short": 4
|
| 38 |
+
},
|
| 39 |
+
"clean_drop_reasons": {
|
| 40 |
+
"repetition_line,repetition_word,too_long": 2027,
|
| 41 |
+
"repetition_line,too_long": 1183,
|
| 42 |
+
"repetition_word,too_long": 219,
|
| 43 |
+
"repetition_word": 109,
|
| 44 |
+
"too_long": 81,
|
| 45 |
+
"repetition_line,repetition_word": 46,
|
| 46 |
+
"repetition_line": 18,
|
| 47 |
+
"too_short": 4
|
| 48 |
+
},
|
| 49 |
+
"pii_free_drop_reasons": {
|
| 50 |
+
"pii_contact": 3919,
|
| 51 |
+
"pii_identifier": 34,
|
| 52 |
+
"pii_contact,pii_identifier": 33,
|
| 53 |
+
"credential_in_image": 8,
|
| 54 |
+
"credential_in_image,pii_contact": 2
|
| 55 |
+
},
|
| 56 |
+
"pii_policy": "verbatim",
|
| 57 |
+
"redactions": {},
|
| 58 |
+
"pii_census": {
|
| 59 |
+
"handle": {
|
| 60 |
+
"occurrences": 3943,
|
| 61 |
+
"rows": 1986,
|
| 62 |
+
"chars_removed_if_masked": 19166,
|
| 63 |
+
"examples": "withheld from the public copy"
|
| 64 |
+
},
|
| 65 |
+
"email": {
|
| 66 |
+
"occurrences": 2705,
|
| 67 |
+
"rows": 1978,
|
| 68 |
+
"chars_removed_if_masked": 39811,
|
| 69 |
+
"examples": "withheld from the public copy"
|
| 70 |
+
},
|
| 71 |
+
"fs_path": {
|
| 72 |
+
"occurrences": 136,
|
| 73 |
+
"rows": 95,
|
| 74 |
+
"chars_removed_if_masked": 2045,
|
| 75 |
+
"examples": "withheld from the public copy"
|
| 76 |
+
},
|
| 77 |
+
"cn_mobile": {
|
| 78 |
+
"occurrences": 80,
|
| 79 |
+
"rows": 66,
|
| 80 |
+
"chars_removed_if_masked": 80,
|
| 81 |
+
"examples": "withheld from the public copy"
|
| 82 |
+
},
|
| 83 |
+
"credential_value": {
|
| 84 |
+
"occurrences": 18,
|
| 85 |
+
"rows": 10,
|
| 86 |
+
"chars_removed_if_masked": 3,
|
| 87 |
+
"examples": "withheld from the public copy"
|
| 88 |
+
},
|
| 89 |
+
"qq_id": {
|
| 90 |
+
"occurrences": 2,
|
| 91 |
+
"rows": 2,
|
| 92 |
+
"chars_removed_if_masked": 5,
|
| 93 |
+
"examples": "withheld from the public copy"
|
| 94 |
+
}
|
| 95 |
+
},
|
| 96 |
+
"config_definitions": {
|
| 97 |
+
"full": "every caption, verbatim; row and character counts identical to the corpus the paper reports",
|
| 98 |
+
"clean": "full minus rows with a degenerate-output QC flag",
|
| 99 |
+
"pii_free": "clean minus rows whose image shows a third-party identifier or credential (row-level exclusion, no text edit)"
|
| 100 |
+
},
|
| 101 |
+
"caption_chars_full": {
|
| 102 |
+
"count": 454963,
|
| 103 |
+
"mean": 4228.6,
|
| 104 |
+
"min": 8,
|
| 105 |
+
"p01": 1982,
|
| 106 |
+
"median": 3932,
|
| 107 |
+
"p99": 10117,
|
| 108 |
+
"max": 58722
|
| 109 |
+
},
|
| 110 |
+
"caption_chars_clean": {
|
| 111 |
+
"count": 451276,
|
| 112 |
+
"mean": 3963.3,
|
| 113 |
+
"min": 208,
|
| 114 |
+
"p01": 1979,
|
| 115 |
+
"median": 3922,
|
| 116 |
+
"p99": 6581,
|
| 117 |
+
"max": 29215
|
| 118 |
+
},
|
| 119 |
+
"caption_chars_pii_free": {
|
| 120 |
+
"count": 447285,
|
| 121 |
+
"mean": 3966.0,
|
| 122 |
+
"min": 208,
|
| 123 |
+
"p01": 1978,
|
| 124 |
+
"median": 3926,
|
| 125 |
+
"p99": 6581,
|
| 126 |
+
"max": 29215
|
| 127 |
+
},
|
| 128 |
+
"caption_words_full": {
|
| 129 |
+
"count": 454963,
|
| 130 |
+
"mean": 648.3,
|
| 131 |
+
"min": 2,
|
| 132 |
+
"p01": 300,
|
| 133 |
+
"median": 600,
|
| 134 |
+
"p99": 1606,
|
| 135 |
+
"max": 8636
|
| 136 |
+
},
|
| 137 |
+
"caption_sentences_full": {
|
| 138 |
+
"count": 454963,
|
| 139 |
+
"mean": 31.8,
|
| 140 |
+
"min": 1,
|
| 141 |
+
"p01": 13,
|
| 142 |
+
"median": 28,
|
| 143 |
+
"p99": 92,
|
| 144 |
+
"max": 1759
|
| 145 |
+
},
|
| 146 |
+
"files": {
|
| 147 |
+
"full": [
|
| 148 |
+
{
|
| 149 |
+
"path": "full/train-00000.parquet",
|
| 150 |
+
"rows": 50000
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"path": "full/train-00001.parquet",
|
| 154 |
+
"rows": 50000
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"path": "full/train-00002.parquet",
|
| 158 |
+
"rows": 50000
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"path": "full/train-00003.parquet",
|
| 162 |
+
"rows": 50000
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"path": "full/train-00004.parquet",
|
| 166 |
+
"rows": 50000
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"path": "full/train-00005.parquet",
|
| 170 |
+
"rows": 50000
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"path": "full/train-00006.parquet",
|
| 174 |
+
"rows": 50000
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"path": "full/train-00007.parquet",
|
| 178 |
+
"rows": 50000
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"path": "full/train-00008.parquet",
|
| 182 |
+
"rows": 50000
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"path": "full/train-00009.parquet",
|
| 186 |
+
"rows": 4963
|
| 187 |
+
}
|
| 188 |
+
],
|
| 189 |
+
"clean": [
|
| 190 |
+
{
|
| 191 |
+
"path": "clean/train-00000.parquet",
|
| 192 |
+
"rows": 50000
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"path": "clean/train-00001.parquet",
|
| 196 |
+
"rows": 50000
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"path": "clean/train-00002.parquet",
|
| 200 |
+
"rows": 50000
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"path": "clean/train-00003.parquet",
|
| 204 |
+
"rows": 50000
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"path": "clean/train-00004.parquet",
|
| 208 |
+
"rows": 50000
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"path": "clean/train-00005.parquet",
|
| 212 |
+
"rows": 50000
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"path": "clean/train-00006.parquet",
|
| 216 |
+
"rows": 50000
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"path": "clean/train-00007.parquet",
|
| 220 |
+
"rows": 50000
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"path": "clean/train-00008.parquet",
|
| 224 |
+
"rows": 50000
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"path": "clean/train-00009.parquet",
|
| 228 |
+
"rows": 1276
|
| 229 |
+
}
|
| 230 |
+
],
|
| 231 |
+
"pii_free": [
|
| 232 |
+
{
|
| 233 |
+
"path": "pii_free/train-00000.parquet",
|
| 234 |
+
"rows": 50000
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"path": "pii_free/train-00001.parquet",
|
| 238 |
+
"rows": 50000
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"path": "pii_free/train-00002.parquet",
|
| 242 |
+
"rows": 50000
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"path": "pii_free/train-00003.parquet",
|
| 246 |
+
"rows": 50000
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"path": "pii_free/train-00004.parquet",
|
| 250 |
+
"rows": 50000
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"path": "pii_free/train-00005.parquet",
|
| 254 |
+
"rows": 50000
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"path": "pii_free/train-00006.parquet",
|
| 258 |
+
"rows": 50000
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"path": "pii_free/train-00007.parquet",
|
| 262 |
+
"rows": 50000
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"path": "pii_free/train-00008.parquet",
|
| 266 |
+
"rows": 47285
|
| 267 |
+
}
|
| 268 |
+
]
|
| 269 |
+
},
|
| 270 |
+
"image_key_multiplicity": {
|
| 271 |
+
"1": 431373,
|
| 272 |
+
"2": 5395,
|
| 273 |
+
"3": 1848,
|
| 274 |
+
"4": 1000,
|
| 275 |
+
"5": 494,
|
| 276 |
+
"6": 110,
|
| 277 |
+
"7": 18
|
| 278 |
+
},
|
| 279 |
+
"audit": {
|
| 280 |
+
"shard_dirs_dropped": 21,
|
| 281 |
+
"shard_dir_examples": [
|
| 282 |
+
"0000",
|
| 283 |
+
"0001",
|
| 284 |
+
"0002",
|
| 285 |
+
"0003",
|
| 286 |
+
"0004",
|
| 287 |
+
"0005",
|
| 288 |
+
"0006",
|
| 289 |
+
"0007"
|
| 290 |
+
],
|
| 291 |
+
"de_shard_conflicts": 0,
|
| 292 |
+
"key_form": "<source_dir>/<basename> (upstream images-column form)"
|
| 293 |
+
},
|
| 294 |
+
"public_copy": {
|
| 295 |
+
"note": "pii_census examples withheld; verbatim samples are in the internal application package"
|
| 296 |
+
}
|
| 297 |
+
}
|
verification/CORPUS_STATS.md
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Corpus statistics — ZoomCap-450K (recomputed from the published files)
|
| 2 |
+
|
| 3 |
+
Entity counts are regex proxies; see `release/compute_corpus_stats.py`.
|
| 4 |
+
|
| 5 |
+
| split | rows | unique images | avg chars | avg words | avg sents | median chars | p99 chars | max chars | avg entities (caps) | avg entities (bold/quoted) |
|
| 6 |
+
|---|---|---|---|---|---|---|---|---|---|---|
|
| 7 |
+
| `full` | 454,963 | 440,238 | 4228.6 | 648.3 | 31.8 | 3932 | 10117 | 58722 | 3.2 | 34.2 |
|
| 8 |
+
| `clean` | 451,276 | 436,642 | 3963.3 | 604.6 | 28.9 | 3922 | 6581 | 29215 | 3.2 | 30.9 |
|
| 9 |
+
| `pii_free` | 447,285 | 432,755 | 3966.0 | 605.2 | 29.0 | 3926 | 6581 | 29215 | 3.2 | 30.9 |
|
| 10 |
+
|
| 11 |
+
```json
|
| 12 |
+
{
|
| 13 |
+
"full": {
|
| 14 |
+
"rows": 454963,
|
| 15 |
+
"unique_image_keys": 440238,
|
| 16 |
+
"rows_per_source": {
|
| 17 |
+
"laion_filter_image": 352942,
|
| 18 |
+
"share4v_image": 102021
|
| 19 |
+
},
|
| 20 |
+
"caption_chars": {
|
| 21 |
+
"count": 454963,
|
| 22 |
+
"mean": 4228.6,
|
| 23 |
+
"median": 3932,
|
| 24 |
+
"p01": 1982,
|
| 25 |
+
"p99": 10117,
|
| 26 |
+
"min": 8,
|
| 27 |
+
"max": 58722
|
| 28 |
+
},
|
| 29 |
+
"caption_words": {
|
| 30 |
+
"count": 454963,
|
| 31 |
+
"mean": 648.3,
|
| 32 |
+
"median": 600,
|
| 33 |
+
"p01": 300,
|
| 34 |
+
"p99": 1606,
|
| 35 |
+
"min": 2,
|
| 36 |
+
"max": 8636
|
| 37 |
+
},
|
| 38 |
+
"caption_sentences": {
|
| 39 |
+
"count": 454963,
|
| 40 |
+
"mean": 31.8,
|
| 41 |
+
"median": 28,
|
| 42 |
+
"p01": 13,
|
| 43 |
+
"p99": 92,
|
| 44 |
+
"min": 1,
|
| 45 |
+
"max": 1759
|
| 46 |
+
},
|
| 47 |
+
"entity_proxy_capitalised_forms": {
|
| 48 |
+
"count": 454963,
|
| 49 |
+
"mean": 3.2,
|
| 50 |
+
"median": 2,
|
| 51 |
+
"p01": 0,
|
| 52 |
+
"p99": 14,
|
| 53 |
+
"min": 0,
|
| 54 |
+
"max": 154
|
| 55 |
+
},
|
| 56 |
+
"entity_proxy_bold_or_quoted": {
|
| 57 |
+
"count": 454963,
|
| 58 |
+
"mean": 34.2,
|
| 59 |
+
"median": 29,
|
| 60 |
+
"p01": 10,
|
| 61 |
+
"p99": 100,
|
| 62 |
+
"min": 0,
|
| 63 |
+
"max": 1877
|
| 64 |
+
},
|
| 65 |
+
"chars_per_word": 6.52,
|
| 66 |
+
"words_per_sentence": 20.4
|
| 67 |
+
},
|
| 68 |
+
"clean": {
|
| 69 |
+
"rows": 451276,
|
| 70 |
+
"unique_image_keys": 436642,
|
| 71 |
+
"rows_per_source": {
|
| 72 |
+
"laion_filter_image": 350344,
|
| 73 |
+
"share4v_image": 100932
|
| 74 |
+
},
|
| 75 |
+
"caption_chars": {
|
| 76 |
+
"count": 451276,
|
| 77 |
+
"mean": 3963.3,
|
| 78 |
+
"median": 3922,
|
| 79 |
+
"p01": 1979,
|
| 80 |
+
"p99": 6581,
|
| 81 |
+
"min": 208,
|
| 82 |
+
"max": 29215
|
| 83 |
+
},
|
| 84 |
+
"caption_words": {
|
| 85 |
+
"count": 451276,
|
| 86 |
+
"mean": 604.6,
|
| 87 |
+
"median": 599,
|
| 88 |
+
"p01": 300,
|
| 89 |
+
"p99": 1018,
|
| 90 |
+
"min": 28,
|
| 91 |
+
"max": 5147
|
| 92 |
+
},
|
| 93 |
+
"caption_sentences": {
|
| 94 |
+
"count": 451276,
|
| 95 |
+
"mean": 28.9,
|
| 96 |
+
"median": 28,
|
| 97 |
+
"p01": 13,
|
| 98 |
+
"p99": 52,
|
| 99 |
+
"min": 1,
|
| 100 |
+
"max": 527
|
| 101 |
+
},
|
| 102 |
+
"entity_proxy_capitalised_forms": {
|
| 103 |
+
"count": 451276,
|
| 104 |
+
"mean": 3.2,
|
| 105 |
+
"median": 2,
|
| 106 |
+
"p01": 0,
|
| 107 |
+
"p99": 14,
|
| 108 |
+
"min": 0,
|
| 109 |
+
"max": 96
|
| 110 |
+
},
|
| 111 |
+
"entity_proxy_bold_or_quoted": {
|
| 112 |
+
"count": 451276,
|
| 113 |
+
"mean": 30.9,
|
| 114 |
+
"median": 29,
|
| 115 |
+
"p01": 10,
|
| 116 |
+
"p99": 66,
|
| 117 |
+
"min": 0,
|
| 118 |
+
"max": 1045
|
| 119 |
+
},
|
| 120 |
+
"chars_per_word": 6.55,
|
| 121 |
+
"words_per_sentence": 20.9
|
| 122 |
+
},
|
| 123 |
+
"pii_free": {
|
| 124 |
+
"rows": 447285,
|
| 125 |
+
"unique_image_keys": 432755,
|
| 126 |
+
"rows_per_source": {
|
| 127 |
+
"laion_filter_image": 346618,
|
| 128 |
+
"share4v_image": 100667
|
| 129 |
+
},
|
| 130 |
+
"caption_chars": {
|
| 131 |
+
"count": 447285,
|
| 132 |
+
"mean": 3966.0,
|
| 133 |
+
"median": 3926,
|
| 134 |
+
"p01": 1978,
|
| 135 |
+
"p99": 6581,
|
| 136 |
+
"min": 208,
|
| 137 |
+
"max": 29215
|
| 138 |
+
},
|
| 139 |
+
"caption_words": {
|
| 140 |
+
"count": 447285,
|
| 141 |
+
"mean": 605.2,
|
| 142 |
+
"median": 599,
|
| 143 |
+
"p01": 300,
|
| 144 |
+
"p99": 1019,
|
| 145 |
+
"min": 28,
|
| 146 |
+
"max": 5147
|
| 147 |
+
},
|
| 148 |
+
"caption_sentences": {
|
| 149 |
+
"count": 447285,
|
| 150 |
+
"mean": 29.0,
|
| 151 |
+
"median": 28,
|
| 152 |
+
"p01": 13,
|
| 153 |
+
"p99": 52,
|
| 154 |
+
"min": 1,
|
| 155 |
+
"max": 527
|
| 156 |
+
},
|
| 157 |
+
"entity_proxy_capitalised_forms": {
|
| 158 |
+
"count": 447285,
|
| 159 |
+
"mean": 3.2,
|
| 160 |
+
"median": 2,
|
| 161 |
+
"p01": 0,
|
| 162 |
+
"p99": 14,
|
| 163 |
+
"min": 0,
|
| 164 |
+
"max": 96
|
| 165 |
+
},
|
| 166 |
+
"entity_proxy_bold_or_quoted": {
|
| 167 |
+
"count": 447285,
|
| 168 |
+
"mean": 30.9,
|
| 169 |
+
"median": 29,
|
| 170 |
+
"p01": 10,
|
| 171 |
+
"p99": 66,
|
| 172 |
+
"min": 0,
|
| 173 |
+
"max": 1045
|
| 174 |
+
},
|
| 175 |
+
"chars_per_word": 6.55,
|
| 176 |
+
"words_per_sentence": 20.9
|
| 177 |
+
}
|
| 178 |
+
}
|
| 179 |
+
```
|
verification/JOIN_VERIFICATION.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Join verification — ZoomCap-450K ↔ ScaleCap-450k
|
| 2 |
+
|
| 3 |
+
## structure_full
|
| 4 |
+
```json
|
| 5 |
+
{
|
| 6 |
+
"rows": 454963,
|
| 7 |
+
"unique_keys": 440238,
|
| 8 |
+
"shards": 10,
|
| 9 |
+
"problems": {}
|
| 10 |
+
}
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
## structure_clean
|
| 14 |
+
```json
|
| 15 |
+
{
|
| 16 |
+
"rows": 451276,
|
| 17 |
+
"unique_keys": 436642,
|
| 18 |
+
"shards": 10,
|
| 19 |
+
"problems": {}
|
| 20 |
+
}
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
## structure_pii_free
|
| 24 |
+
```json
|
| 25 |
+
{
|
| 26 |
+
"rows": 447285,
|
| 27 |
+
"unique_keys": 432755,
|
| 28 |
+
"shards": 9,
|
| 29 |
+
"problems": {}
|
| 30 |
+
}
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## stats_reconciliation
|
| 34 |
+
```json
|
| 35 |
+
{
|
| 36 |
+
"expected": {
|
| 37 |
+
"full": 454963,
|
| 38 |
+
"clean": 451276,
|
| 39 |
+
"pii_free": 447285
|
| 40 |
+
},
|
| 41 |
+
"observed": {
|
| 42 |
+
"full": 454963,
|
| 43 |
+
"clean": 451276,
|
| 44 |
+
"pii_free": 447285
|
| 45 |
+
},
|
| 46 |
+
"match": true
|
| 47 |
+
}
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## keys_emitted
|
| 51 |
+
```json
|
| 52 |
+
"zoomcap450k_image_keys.txt.gz (local, not published)"
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
> NOTE: upstream check could not reach the HF datasets-server (offline / restricted network). Re-run `--mode upstream` from a machine with network access before publishing.
|
verification/PII_CENSUS.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PII census — ZoomCap-450K
|
| 2 |
+
|
| 3 |
+
* caption text policy: **verbatim** — captions are published byte-identical to the internal corpus; only the `images` path is rewritten. Sensitive rows are handled by exclusion (config `pii_free`), never by editing text.
|
| 4 |
+
* rows counted: 454,963
|
| 5 |
+
|
| 6 |
+
These strings are text visible inside the public source images (business cards, storefront signage, screenshots, classified ads). They are also what OCR-heavy evaluation rewards, so they are measured here rather than rewritten in place.
|
| 7 |
+
|
| 8 |
+
| category | occurrences | rows | share of rows | chars removed if masked | row flag |
|
| 9 |
+
| --- | --- | --- | --- | --- | --- |
|
| 10 |
+
| `handle` | 3,943 | 1,986 | 0.437% | 19,166 | `pii_contact` |
|
| 11 |
+
| `email` | 2,705 | 1,978 | 0.435% | 39,811 | `pii_contact` |
|
| 12 |
+
| `fs_path` | 136 | 95 | 0.021% | 2,045 | `pii_contact` |
|
| 13 |
+
| `cn_mobile` | 80 | 66 | 0.015% | 80 | `pii_identifier` |
|
| 14 |
+
| `credential_value` | 18 | 10 | 0.002% | 3 | `credential_in_image` |
|
| 15 |
+
| `qq_id` | 2 | 2 | 0.000% | 5 | `pii_identifier` |
|
| 16 |
+
|
| 17 |
+
## Config effect (row counts)
|
| 18 |
+
|
| 19 |
+
| config | rows | rule |
|
| 20 |
+
| --- | --- | --- |
|
| 21 |
+
| `full` | 454,963 | every caption, verbatim; row and character counts identical to the corpus the paper reports |
|
| 22 |
+
| `clean` | 451,276 | full minus rows with a degenerate-output QC flag |
|
| 23 |
+
| `pii_free` | 447,285 | clean minus rows whose image shows a third-party identifier or credential (row-level exclusion, no text edit) |
|
| 24 |
+
|
| 25 |
+
## QC / sensitivity flags
|
| 26 |
+
|
| 27 |
+
| flag | rows |
|
| 28 |
+
| --- | --- |
|
| 29 |
+
| `pii_contact` | 3,954 |
|
| 30 |
+
| `too_long` | 3,510 |
|
| 31 |
+
| `repetition_line` | 3,274 |
|
| 32 |
+
| `repetition_word` | 2,401 |
|
| 33 |
+
| `pii_identifier` | 67 |
|
| 34 |
+
| `credential_in_image` | 10 |
|
| 35 |
+
| `too_short` | 4 |
|
| 36 |
+
|
| 37 |
+
_(Verbatim example contexts are withheld from the public copy: they quote the exact third-party contact strings that this config excludes. The counts above are complete, and the full example set is part of the internal data-release application.)_
|
verification/PII_FREE_CHECK.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# `pii_free` personal-information check — PASS
|
| 2 |
+
|
| 3 |
+
* rows re-scanned from the published parquet: 447,285
|
| 4 |
+
* pattern families re-run independently of the build flags: 7 (cn_id_card, cn_mobile, credential, email, fs_path, handle, qq_id)
|
| 5 |
+
* detections: 0
|
| 6 |
+
|
| 7 |
+
No third-party e-mail address, social handle, local filesystem path, mainland-China mobile number, national ID, QQ identifier or in-image credential is present in any row of this config.
|
| 8 |
+
|
| 9 |
+
Verbatim in-image text is retained in the `full` and `clean` configs by design (masking would corrupt OCR transcriptions and break reproduction of the paper's corpus statistics); see `verification/PII_CENSUS.md`.
|
verification/corpus_stats.json
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"full": {
|
| 3 |
+
"rows": 454963,
|
| 4 |
+
"unique_image_keys": 440238,
|
| 5 |
+
"rows_per_source": {
|
| 6 |
+
"laion_filter_image": 352942,
|
| 7 |
+
"share4v_image": 102021
|
| 8 |
+
},
|
| 9 |
+
"caption_chars": {
|
| 10 |
+
"count": 454963,
|
| 11 |
+
"mean": 4228.6,
|
| 12 |
+
"median": 3932,
|
| 13 |
+
"p01": 1982,
|
| 14 |
+
"p99": 10117,
|
| 15 |
+
"min": 8,
|
| 16 |
+
"max": 58722
|
| 17 |
+
},
|
| 18 |
+
"caption_words": {
|
| 19 |
+
"count": 454963,
|
| 20 |
+
"mean": 648.3,
|
| 21 |
+
"median": 600,
|
| 22 |
+
"p01": 300,
|
| 23 |
+
"p99": 1606,
|
| 24 |
+
"min": 2,
|
| 25 |
+
"max": 8636
|
| 26 |
+
},
|
| 27 |
+
"caption_sentences": {
|
| 28 |
+
"count": 454963,
|
| 29 |
+
"mean": 31.8,
|
| 30 |
+
"median": 28,
|
| 31 |
+
"p01": 13,
|
| 32 |
+
"p99": 92,
|
| 33 |
+
"min": 1,
|
| 34 |
+
"max": 1759
|
| 35 |
+
},
|
| 36 |
+
"entity_proxy_capitalised_forms": {
|
| 37 |
+
"count": 454963,
|
| 38 |
+
"mean": 3.2,
|
| 39 |
+
"median": 2,
|
| 40 |
+
"p01": 0,
|
| 41 |
+
"p99": 14,
|
| 42 |
+
"min": 0,
|
| 43 |
+
"max": 154
|
| 44 |
+
},
|
| 45 |
+
"entity_proxy_bold_or_quoted": {
|
| 46 |
+
"count": 454963,
|
| 47 |
+
"mean": 34.2,
|
| 48 |
+
"median": 29,
|
| 49 |
+
"p01": 10,
|
| 50 |
+
"p99": 100,
|
| 51 |
+
"min": 0,
|
| 52 |
+
"max": 1877
|
| 53 |
+
},
|
| 54 |
+
"chars_per_word": 6.52,
|
| 55 |
+
"words_per_sentence": 20.4
|
| 56 |
+
},
|
| 57 |
+
"clean": {
|
| 58 |
+
"rows": 451276,
|
| 59 |
+
"unique_image_keys": 436642,
|
| 60 |
+
"rows_per_source": {
|
| 61 |
+
"laion_filter_image": 350344,
|
| 62 |
+
"share4v_image": 100932
|
| 63 |
+
},
|
| 64 |
+
"caption_chars": {
|
| 65 |
+
"count": 451276,
|
| 66 |
+
"mean": 3963.3,
|
| 67 |
+
"median": 3922,
|
| 68 |
+
"p01": 1979,
|
| 69 |
+
"p99": 6581,
|
| 70 |
+
"min": 208,
|
| 71 |
+
"max": 29215
|
| 72 |
+
},
|
| 73 |
+
"caption_words": {
|
| 74 |
+
"count": 451276,
|
| 75 |
+
"mean": 604.6,
|
| 76 |
+
"median": 599,
|
| 77 |
+
"p01": 300,
|
| 78 |
+
"p99": 1018,
|
| 79 |
+
"min": 28,
|
| 80 |
+
"max": 5147
|
| 81 |
+
},
|
| 82 |
+
"caption_sentences": {
|
| 83 |
+
"count": 451276,
|
| 84 |
+
"mean": 28.9,
|
| 85 |
+
"median": 28,
|
| 86 |
+
"p01": 13,
|
| 87 |
+
"p99": 52,
|
| 88 |
+
"min": 1,
|
| 89 |
+
"max": 527
|
| 90 |
+
},
|
| 91 |
+
"entity_proxy_capitalised_forms": {
|
| 92 |
+
"count": 451276,
|
| 93 |
+
"mean": 3.2,
|
| 94 |
+
"median": 2,
|
| 95 |
+
"p01": 0,
|
| 96 |
+
"p99": 14,
|
| 97 |
+
"min": 0,
|
| 98 |
+
"max": 96
|
| 99 |
+
},
|
| 100 |
+
"entity_proxy_bold_or_quoted": {
|
| 101 |
+
"count": 451276,
|
| 102 |
+
"mean": 30.9,
|
| 103 |
+
"median": 29,
|
| 104 |
+
"p01": 10,
|
| 105 |
+
"p99": 66,
|
| 106 |
+
"min": 0,
|
| 107 |
+
"max": 1045
|
| 108 |
+
},
|
| 109 |
+
"chars_per_word": 6.55,
|
| 110 |
+
"words_per_sentence": 20.9
|
| 111 |
+
},
|
| 112 |
+
"pii_free": {
|
| 113 |
+
"rows": 447285,
|
| 114 |
+
"unique_image_keys": 432755,
|
| 115 |
+
"rows_per_source": {
|
| 116 |
+
"laion_filter_image": 346618,
|
| 117 |
+
"share4v_image": 100667
|
| 118 |
+
},
|
| 119 |
+
"caption_chars": {
|
| 120 |
+
"count": 447285,
|
| 121 |
+
"mean": 3966.0,
|
| 122 |
+
"median": 3926,
|
| 123 |
+
"p01": 1978,
|
| 124 |
+
"p99": 6581,
|
| 125 |
+
"min": 208,
|
| 126 |
+
"max": 29215
|
| 127 |
+
},
|
| 128 |
+
"caption_words": {
|
| 129 |
+
"count": 447285,
|
| 130 |
+
"mean": 605.2,
|
| 131 |
+
"median": 599,
|
| 132 |
+
"p01": 300,
|
| 133 |
+
"p99": 1019,
|
| 134 |
+
"min": 28,
|
| 135 |
+
"max": 5147
|
| 136 |
+
},
|
| 137 |
+
"caption_sentences": {
|
| 138 |
+
"count": 447285,
|
| 139 |
+
"mean": 29.0,
|
| 140 |
+
"median": 28,
|
| 141 |
+
"p01": 13,
|
| 142 |
+
"p99": 52,
|
| 143 |
+
"min": 1,
|
| 144 |
+
"max": 527
|
| 145 |
+
},
|
| 146 |
+
"entity_proxy_capitalised_forms": {
|
| 147 |
+
"count": 447285,
|
| 148 |
+
"mean": 3.2,
|
| 149 |
+
"median": 2,
|
| 150 |
+
"p01": 0,
|
| 151 |
+
"p99": 14,
|
| 152 |
+
"min": 0,
|
| 153 |
+
"max": 96
|
| 154 |
+
},
|
| 155 |
+
"entity_proxy_bold_or_quoted": {
|
| 156 |
+
"count": 447285,
|
| 157 |
+
"mean": 30.9,
|
| 158 |
+
"median": 29,
|
| 159 |
+
"p01": 10,
|
| 160 |
+
"p99": 66,
|
| 161 |
+
"min": 0,
|
| 162 |
+
"max": 1045
|
| 163 |
+
},
|
| 164 |
+
"chars_per_word": 6.55,
|
| 165 |
+
"words_per_sentence": 20.9
|
| 166 |
+
}
|
| 167 |
+
}
|
verification/join_verification.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"root": "ZoomCap-450K",
|
| 3 |
+
"structure_full": {
|
| 4 |
+
"rows": 454963,
|
| 5 |
+
"unique_keys": 440238,
|
| 6 |
+
"shards": 10,
|
| 7 |
+
"problems": {}
|
| 8 |
+
},
|
| 9 |
+
"structure_clean": {
|
| 10 |
+
"rows": 451276,
|
| 11 |
+
"unique_keys": 436642,
|
| 12 |
+
"shards": 10,
|
| 13 |
+
"problems": {}
|
| 14 |
+
},
|
| 15 |
+
"structure_pii_free": {
|
| 16 |
+
"rows": 447285,
|
| 17 |
+
"unique_keys": 432755,
|
| 18 |
+
"shards": 9,
|
| 19 |
+
"problems": {}
|
| 20 |
+
},
|
| 21 |
+
"stats_reconciliation": {
|
| 22 |
+
"expected": {
|
| 23 |
+
"full": 454963,
|
| 24 |
+
"clean": 451276,
|
| 25 |
+
"pii_free": 447285
|
| 26 |
+
},
|
| 27 |
+
"observed": {
|
| 28 |
+
"full": 454963,
|
| 29 |
+
"clean": 451276,
|
| 30 |
+
"pii_free": 447285
|
| 31 |
+
},
|
| 32 |
+
"match": true
|
| 33 |
+
},
|
| 34 |
+
"keys_emitted": "zoomcap450k_image_keys.txt.gz (local, not published)"
|
| 35 |
+
}
|