The Dataset Viewer has been disabled on this dataset.

Pretrain shards

Pre-tokenized shards for pretraining.

License: CC BY-NC 4.0 — non-commercial only.

Format

  • *.bin: uint32 little-endian token IDs
  • *.json: per-shard sidecar with doc_lengths[] and stats

Layout

code/  shard_NNNNNN.bin + .json
text/  shard_NNNNNN.bin + .json
math/  shard_NNNNNN.bin + .json

Usage

from huggingface_hub import snapshot_download
path = snapshot_download(
    repo_id="BlackwoodAI/pretrain-shards",
    repo_type="dataset",
    allow_patterns=["code/*.bin", "code/*.json"],
)

Internal research use only.

Downloads last month
131