Datasets:
|
Download text/msmarco-passage/README.md from UCSC-VLAA/OpenEmbed-Data: direct link, hf CLI and curl.
- Browser
- Download file 4.3 kB
-
https://huggingface.co/datasets/UCSC-VLAA/OpenEmbed-Data/resolve/main/text/msmarco-passage/README.md
- Command line
-
hf download hf://datasets/UCSC-VLAA/OpenEmbed-Data/text/msmarco-passage/README.md
-
curl -L -o README.md https://huggingface.co/datasets/UCSC-VLAA/OpenEmbed-Data/resolve/main/text/msmarco-passage/README.md
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 "<title>. <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. | |
| 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 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: `applied_at_build`. | |
| ## Verified | |
| End to end on 2026-11-10: | |
| * 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. | |
| * Public rebuild (this release): 299,997 / 299,997 records and 16 / 16 shards match the `*_public` values. | |
| * 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. | |
| ## Terms | |
| License class `NC`: 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. | |
| 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. | |