# 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 "