The Dataset Viewer has been disabled on this dataset.

olmo3_prefix_hfstream_50b — frozen 50B-token dolma3 training stream (canonical order)

The first 50B tokens of a seeded shard-shuffle of allenai/dolma3_mix-6T-1025-7B, tokenized with the dolma2 tokenizer and frozen to disk in the exact order it was consumed during training. This is the stream behind the canonical 163M-parameter 50B-token run of the explain-m0de-collapse project (run olmo3_50b_ddp_resumecheck, 400,000 updates), on which the early name-collapse episodes (e.g. the step-55k "Alice" re-spike) were observed and dissected. Every counterfactual / intervention stream in the project is derived from it by editing a window of this stream.

Source: allenai/dolma3_mix-6T-1025-7B @ revision 2ca900fbe14e86c5c83d064d9f0882f1c0b8c05b · Tokenizer: allenai/dolma2-tokenizer (copy included under tokenizer/) · Created by: scripts/freeze_olmo3_stream.py @ git 3331624bb6bb on 2026-07-08. Ordering policy: frozen_prefix_stream_seeded_shard_shuffle (shuffle_during_training: false; not the official OLMo-3 data order). Training runs that consumed this stream: olmo3_50b_ddp_resumecheck (canonical v1, 400k updates, checkpoints every 5k) and all v1 replay/intervention runs.

Format — the order is the data

Stored tokens 52,428,800,001 (= 52,428,800,000 training tokens + 1 look-ahead token)
Shards 2098 files shards/tokens_000000.u32 … tokens_002097.u32
Shard size 25,000,000 tokens (100,000,000 bytes) each; last shard 3,800,001 tokens
Element type uint32, little-endian, raw (no header); docs separated by EOS id 100257
Vocab dolma2, 100,278 raw ids, padded to 100,352 in the model

Shard i holds global token offsets [25,000,000·i, 25,000,000·(i+1)). shard_manifest.jsonl lists every shard with its start_token, num_tokens and sha256; manifest.json records provenance; verification.json (where present) records the end-to-end check performed after freezing.

Training read the stream strictly sequentially with global_tokens_per_update = 131,072 (128 sequences × 1,024 tokens per update, split across DDP ranks), 400,000 updates = 52,428,800,000 tokens. Hence update k (0-based) trained on tokens [131,072·k, 131,072·(k+1)), i.e. shards ⌊131,072·k / 25,000,000⌋ … ⌊(131,072·(k+1) − 1) / 25,000,000⌋. The target for position t is token t+1, which is why one extra token is stored.

import json, numpy as np

def tokens(root, start, n):
    """Return stream tokens [start, start+n) as a uint32 array."""
    shards = sorted((json.loads(l) for l in open(f"{root}/shard_manifest.jsonl")), key=lambda e: e["start_token"])
    out, need = [], n
    for e in shards:
        s0, s1 = e["start_token"], e["start_token"] + e["num_tokens"]
        if s1 <= start or need == 0: continue
        mm = np.memmap(f"{root}/{e['shard']}", dtype="<u4", mode="r")
        a = max(start, s0) - s0; b = min(a + need, e["num_tokens"])
        out.append(mm[a:b]); need -= b - a
        if need == 0: break
    return np.concatenate(out)

G = 131_072
k = 55_000                                  # what did the model see at update 55,000?
batch = tokens("path/to/olmo3_prefix_hfstream_50b", G * k, G + 1)
x, y = batch[:-1].reshape(128, 1024), batch[1:].reshape(128, 1024)

Decode with tokenizers.Tokenizer.from_file("tokenizer/tokenizer.json") or transformers.AutoTokenizer.from_pretrained("tokenizer/").

Verifying a download

python - <<'EOF'
import json, hashlib
for l in open("shard_manifest.jsonl"):
    e = json.loads(l)
    h = hashlib.sha256(open(e["shard"], "rb").read()).hexdigest()
    assert h == e["sha256"], e["shard"]
print("all shards match")
EOF

License

The token stream is a derivative of allenai/dolma3_mix-6T-1025-7B and is redistributed under the same terms (ODC-BY 1.0); per-subset terms of the underlying sources apply as documented by the source dataset. The bundled tokenizer is allenai/dolma2-tokenizer (Apache-2.0).

Source machine path: /mnt/nlpgpu-io1/data/maggie/explain-m0de-collapse/replicate/data/olmo3_prefix_hfstream_50b. Uploaded 2026-09-02.

Downloads last month
65