Yanqing0327's picture
OpenEmbed data
2f92e95
|
Raw History Blame Contribute Delete
4.3 kB

msmarco-passage

The training set text/msmarco_passage exactly as the OpenEmbed models were trained on it (both stages), as records without the source's texts: each record names its query, positive and negatives in the source, Tevatron/msmarco-passage at revision 330a160b, and the loader fetches the texts from there and checks every record against the sha256 of our training bytes. The source's terms do not let us redistribute its texts.

  • Registry id: text/msmarco_passage (exact case; the folder name is lowercase). Category: text.
  • 299,997 records in 16 TFRecord shards (1.66 GB).
  • Source: MS MARCO passage ranking as published in Tevatron/msmarco-passage at revision 330a160b.

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, instruction, neg_scores, pos_score, pos_rank, graded_score, target_key, group_key, license; not the texts query_text, target_text and neg_texts), text_source (JSON: where the record's query, positive and negatives are in the source), 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).
  • 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):

python tools/openembed_data/rebuild_shards.py --out shards/ --sets text/msmarco_passage

It writes the 16 shards (1.64 GB) and checks every record's sha256 and every shard's md5 and crc32c; --no-write checks without writing.

The texts come from Tevatron/msmarco-passage at revision 330a160b (train.jsonl.gz; 1.73 GB in all), downloaded into --cache on the first run; the loader re-makes them as our builders made them (the query, and each passage as ". <text>" (the text alone without a title); the record names the positive and the negatives by docid) and cleans them as the training adapter did (media placeholders removed, surrounding blanks stripped; negatives that are blank, equal to the positive or repeated after NFKC, case folding and whitespace collapsing dropped), then checks each record's sha256.</p> <p>Provenance: our training shards carry our internal storage location in the provenance string; the release writes <code>openembed://...</code> instead, so the rebuilt shards equal our training shards in every other byte and are checked against the <code>*_public</code> values. With the internal prefixes the rebuild is byte-identical to the training shards (<code>record_sha256</code>, <code>md5</code>, <code>crc32c</code>); we checked that before release.</p> <h2 class="relative group flex items-baseline"> <a id="filters" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#filters" > <span class="header-link"><!--[--><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!--]--></span> </a> <span> Filters </span> </h2> <p>At read time nothing was removed: all 299,997 records were emitted by the training adapter with no flag, none was blocked and none skipped. When these shards were built 3 removed as contamination (exact evaluation items). Read-time gate: <code>applied_at_build</code>.</p> <h2 class="relative group flex items-baseline"> <a id="verified" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#verified" > <span class="header-link"><!--[--><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!--]--></span> </a> <span> Verified </span> </h2> <p>End to end on 2026-11-10:</p> <ul> <li>Training bytes (internal prefixes): 299,997 / 299,997 records with the recorded sha256; 16 / 16 shards with the md5 and crc32c of the shards our training read.</li> <li>Public rebuild (this release): 299,997 / 299,997 records and 16 / 16 shards match the <code>*_public</code> values.</li> <li>From the source (2026-11-12, this package): 299,997 / 299,997 records re-made with the loader from Tevatron/msmarco-passage with the recorded sha256, and 16 / 16 shards with the recorded md5 and crc32c.</li> </ul> <h2 class="relative group flex items-baseline"> <a id="terms" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#terms" > <span class="header-link"><!--[--><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg><!--]--></span> </a> <span> Terms </span> </h2> <p>License class <code>NC</code>: non-commercial or research-only terms, or terms that restrict redistribution. Microsoft's MS MARCO terms and conditions: provided free and as is for non-commercial research purposes only; no licence or intellectual-property rights are extended.</p> <p>The texts are not redistributed: the loader fetches them from the source, whose terms apply. These records are derived from the source above and follow its terms. They are released for research use; we remove items on request.</p>