Yanqing0327's picture
Add files using upload-large-folder tool
395d8de verified
|
Raw History Blame Contribute Delete
6.75 kB

oi-crop

The training set grd/oi_crop exactly as the OpenEmbed models were trained on it (both stages): every record with all its stored fields except the image bytes, and the image bytes we trained on in images/, each unique image once. Target and negative crops are not stored: the loader cuts each one from its full image exactly as our builder did.

  • Registry id: grd/oi_crop (exact case; the folder name is lowercase). Category: grounding.
  • 1,000,004 records in 567 TFRecord shards (392.44 GB).
  • Images: 425,806 images (133.43 GB) in 43 uncompressed tar files under images/ (133.76 GB); 2,056,478 crop references.
  • Source: Open Images boxes from NVIDIA's Nemotron-VLM-Dataset-v2 (its Open Images box subsets), from a TFRecord conversion made on 2026-07-01 whose converter is not published, built into crop retrieval rows by our grounding builder: an image and an object label to the crop of that label's largest instance (JPEG quality 95, 4:2:0), with up to three crops of other regions of the same image as negatives; a hash subsample of the images (1,000,004 rows from 425,806 images). The conversion did not keep the upstream image ids, so this folder ships each full image as we stored it (images/, each unique image once); the crops are not shipped: the loader cuts them from the full image exactly as our builder did.

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 of the source image) 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 image's member in images/ (local_tar_member: the tar file relative to this folder, the member name, its data offset and size). A crop's pointer names its full image and the transformation that cuts it, {"op": "pil_jpeg", "mode": "RGB", "crop": [x1, y1, x2, y2], "save": {"quality": 95, "subsampling": 2}}: convert to RGB, crop the rectangle, save as JPEG quality 95 with 4:2:0 chroma subsampling (the rectangles are the builder's, from its per-shard index).
  • images/images-NNNNN.tar: 43 uncompressed tar files (about 3 GB each) holding every image the records use, once each, as members <sha256>.<ext> (the sha256 of the member's bytes; plain ustar headers: mode 0644, no owner, mtime 0). Each member is one of our stored images byte for byte.
  • 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; verification.json: our end-to-end check.

Rebuild

From the repository root (pip install pyarrow crc32c "Pillow>=9.5"; the crops are re-encoded as our builder made them (Pillow 12.1.1), which gives the same bytes with Pillow 9.5.0 to 12.3.0, checked on our test crops; the script stops on an older Pillow, and its general note about Pillow 12.3.0 concerns other sets):

python tools/openembed_data/rebuild_shards.py --out shards/ --sets grounding/oi-crop --cache grounding/oi-crop

--cache must name this folder: the pointers name the tar files relative to it. The script writes the 567 shards (392.39 GB) and checks every record's sha256 and every shard's md5 and crc32c; --no-write checks without writing. Nothing is downloaded.

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 the training adapter emitted 1,000,003 of 1,000,004 records; 1 were blocked as contamination and 0 skipped as duplicates (per record in filters.parquet). Their images are shipped too, since the shards hold them. The training loader checked every record against the contamination blocklist of the final run's policy (exact evaluation items) and skipped the listed ones. When these shards were built no record was removed: the builder's own rules decide which boxes become rows (see the source above).

Verified

End to end on 2026-11-11, from this folder only (Pillow 12.3.0):

  • Training bytes (internal prefixes): 1,000,004 / 1,000,004 records with the recorded sha256; 567 / 567 shards with the md5 and crc32c of the shards our training read.
  • Public rebuild (this release): every record and shard matches the *_public values.
  • Image references: 3,056,482, every one read from images/ with the recorded sha256 and length (missing 0, mismatched 0); the 2,056,478 crops among them re-created from their full images.

Terms

License class P: permissive: the publisher's licence allows use and redistribution. The box annotations of Nemotron-VLM-Dataset-v2 are under CC BY 4.0 (NVIDIA; its card does not include the images). Google lists the Open Images images as having a CC BY 2.0 licence and makes no representation about each image's licence status (Kuznetsova et al., The Open Images Dataset V4, IJCV 2020). Our records keep no Open Images image id, so attribution is given here for the dataset as a whole: every photo in this folder is an Open Images image, distributed unmodified (the loader recreates the crops, so no derived image is distributed). Our records label every row 'NVIDIA Nemotron / OpenImages (research)', which is stricter than the upstream terms.

These records and images are derived from the source above and follow its terms. They are released for research use; we remove items on request.

The licence label inside the released records reads "CC BY 4.0 (Nemotron-VLM-Dataset-v2 annotations); images: Open Images, CC BY 2.0 as listed". Our builder had written "NVIDIA Nemotron / OpenImages (research)", which does not match the upstream terms; the training shards carry that label, so their records differ from the public rebuild in this string as well as in the provenance (*_public values). rebuild_shards.py --check train puts the training label back (set.json license_training).