File size: 3,806 Bytes
2f92e95 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # gooaq
The training set `text/gooaq` exactly as the OpenEmbed models were trained on it (both stages), as complete records: the records are text only, so they are the whole training data.
* Registry id: `text/gooaq` (exact case; the folder name is lowercase). Category: text.
* 1,210,960 records in 16 TFRecord shards (3.60 GB).
* Source: GooAQ question-answer pairs (sentence-transformers/gooaq), converted by our first-stage text-retrieval builder.
## 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).
* `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/gooaq
```
It writes the 16 shards (3.54 GB) and checks every record's sha256 and every shard's md5 and crc32c; `--no-write` checks without writing.
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 1,210,960 records were emitted by the training adapter with no flag, none was blocked and none skipped. When these shards were built 8 removed as contamination (exact evaluation items). Read-time gate: `applied_at_build`.
## Verified
End to end on 2026-11-10:
* Training bytes (internal prefixes): 1,210,960 / 1,210,960 records with the recorded sha256; 16 / 16 shards with the md5 and crc32c of the shards our training read.
* Public rebuild (this release): 1,210,960 / 1,210,960 records and 16 / 16 shards match the `*_public` values.
* After the licence correction (2026-11-12): 1,210,960 / 1,210,960 records and 16 / 16 shards match the new `*_public` values; with the internal prefixes and the training label (set.json `license_training`) every record and shard equals our training bytes.
## Terms
License class `NC`: non-commercial or research-only terms, or terms that restrict redistribution. The repository's LICENSE file is Apache-2.0, but its README says the dataset should not be used for commercial purposes; questions come from Google's autocomplete and answers from Google's answer boxes.
These records 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 "Apache-2.0 (GooAQ LICENSE file); the GooAQ README: not for commercial use". Our builder had written "Apache-2.0", 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`).
|