Yanqing0327's picture
OpenEmbed data
2f92e95
|
Raw History Blame Contribute Delete
3.62 kB
# mmeb-textvqa
The training set `mmeb/TextVQA` exactly as the OpenEmbed models were trained on it (both stages), as records without image bytes, with a pointer to each image's pinned public source and the sha256 and length of our training bytes.
* Registry id: `mmeb/TextVQA` (exact case; the folder name is lowercase). Category: vqa.
* 31,303 records in 16 TFRecord shards (5.58 GB).
* Source: TextVQA training questions (lmms-lab/textvqa, revision 9c0699cd); images re-encoded (PIL, RGB, JPEG quality 92). TextVQA is also an MMEB-V2 evaluation task.
## Files
* `records.parquet`: one row per record, in shard order (`shard`, `ordinal`): every stored field (`record_key`, `dataset_id`, `wemm_type`, `task_subtype`, `modality_sig`, `query_text`, `instruction`, `target_text`, `neg_texts`, `neg_scores`, `pos_score`, `pos_rank`, `graded_score`, `target_key`, `group_key`, `license`), `provenance` (the shard and record of the earlier conversion it came from) and the sha256 and length of the serialized record (`record_sha256`: our training bytes; `record_sha256_public`: with the public provenance). For every image field (`query_image`, `target_image`, `neg_images`): sha256, length and `*_source`, a JSON pointer to the pinned source item (repository, revision, file, row or member, and the transformation our converter applied).
* `filters.parquet`: per record what the training loader applied when reading it: `adapter_emitted`, `adapter_flags`, `blocked_at_read`, `dedup_skipped`.
* `shards.parquet`: per shard record count, bytes, md5 and crc32c (base64) of our training shard and of the public rebuild.
* `set.json`: these facts in machine-readable form.
## Rebuild
From the repository root (`pip install pyarrow huggingface_hub crc32c Pillow==12.3.0`; images that our converter re-encoded are re-encoded the same way, and Pillow 12.3.0 reproduces those bytes):
```
python tools/openembed_data/rebuild_shards.py --out shards/ --sets mmeb/TextVQA
```
It writes the 16 shards (5.58 GB) and checks every record's sha256 and every shard's md5 and crc32c; `--no-write` checks without writing. Image sets download their pinned source files first.
Provenance: our training shards carry our internal storage location in the provenance string; the release writes `openembed://...` instead, so the rebuilt shards equal our training shards in every other byte and are checked against the `*_public` values. With the internal prefixes the rebuild is byte-identical to the training shards (`record_sha256`, `md5`, `crc32c`); we checked that before release.
## Filters
At read time nothing was removed: all 31,303 records were emitted by the training adapter with no flag, none was blocked and none skipped. When these shards were built 14 exact duplicate records merged into the first occurrence. Read-time gate: `applied_at_build`.
## Verified
End to end on 2026-11-10 (pinned source files: 20, 6.21 GB):
* Training bytes (internal prefixes): 31,303 / 31,303 records with the recorded sha256; 16 / 16 shards with the md5 and crc32c of the shards our training read.
* Public rebuild (this release): 31,303 / 31,303 records and 16 / 16 shards match the `*_public` values.
* Image references: 31,303, every one fetched from its source with the recorded sha256 and length (missing 0, mismatched 0).
## Terms
License class `P`: permissive: the publisher's licence allows use and redistribution. CC BY 4.0; the images come from Open Images (listed as CC BY 2.0, without warranty).
These records are derived from the source above and follow its terms. They are released for research use; we remove items on request.