haowu11's picture
Add five-source corpus, DEV64 and seven-task experiment data
257ea84 verified
|
Raw History Blame Contribute Delete
2.83 kB
# Frozen five-source training corpus
The five original domains are code, papers, books, web and news. `news_event`
is an additional ordered-article sampling stream from the same CC News source.
The `text/train/` and `text/validation/` directories keep their frozen roles;
validation is not training data. The separate DEV64 evaluation set is in `../dev64/`.
Sealed FINAL/holdout texts and tokens are excluded.
Each ordinary JSONL row contains the original UTF-8 `text`, stable `id`, authoritative
`source`, `split`, `group_id`, `text_sha256`, and `record_index`. `record_index` restores
the original mixed-corpus record ordering. `metadata` preserves the archived upstream
provenance, source revision and per-record license; its historical token fields refer
to the original Qwen3 tokenizer, not the native Qwen3.8 cache. The native indexes retain
both original and derived token metadata. Text SHA256 hashes UTF-8 text bytes, not a
JSON serialization and not a newly normalized body. Event rows retain article order,
history/target roles and the original event metadata.
## Exact native cache recovery
From the dataset root, with Python 3.10 or newer:
```bash
python five_source_train/tools/restore_native_cache.py five_source_train/native_cache /path/to/new/native_full
```
This uses only the standard library. It decompresses the original packed little-endian
uint32 tokens and indexes, then reconstructs the two expanded token-ID JSONL files.
It checks every restored file against the original frozen manifest. Preparation also
performed this recovery and verified byte-identical hashes on CPU. The original full
cache contains train and validation membership; the training loader selects `train`.
Supply the newly restored directory to the native training runtime's cache-root option.
Historical manifests are byte-preserved and may mention their old H200 absolute source
paths. Those paths are provenance, not required destinations; do not overwrite the
historical manifests just to relocate the cache. Runtime scripts and sampler source
are included in the matching model release `haowu11/Delta-Ngram` runtime archives.
There are no model weights, tokenizer vocabulary files, optimizer states or operational credential files
in this dataset. Both official model/tokenizer revisions and identity hashes are in
the statistics and source manifests. Original Qwen3-0.6B token caches are not duplicated;
raw texts, membership and their original token identities are retained.
## Source rights
Third-party text retains its original per-record license and provenance. Project code
licensing does not relicense the corpus. Some CC News records have unknown licenses;
the repository's private status does not change the original content rights.
No claim of model pretraining novelty follows from these source revisions.