tokenizer string | vocab_size int64 | num_tokens int64 | source string | dtype string |
|---|---|---|---|---|
rustbpe | 65,536 | 10,000,000,000 | c4 | uint16 |
c4-nanochatbpe-10B
C4 (en) (from allenai/c4), pre-tokenized with the nanochatbpe tokenizer (vocab 65,536)
and packaged as flat uint16 token-id .bin files for fast memmap training.
| file | split | tokens |
|---|---|---|
train.bin |
train | 10,000,000,000 |
val.bin |
val | 168,272,017 |
train and val are disjoint held-out partitions. Each .bin is a raw
little-endian uint16 stream (no header); token count = filesize / 2, and
train.meta.json / val.meta.json carry the full metadata. The tokenizer/
files (when present) are the exact tokenizer used to produce these ids.
Load a bin with the standard Hugging Face downloader:
from huggingface_hub import hf_hub_download
import numpy as np
path = hf_hub_download(repo_id="stanpony/c4-nanochatbpe-10B", filename="train.bin", repo_type="dataset")
tokens = np.memmap(path, dtype="uint16", mode="r")
- Downloads last month
- 19