alexkstern/c4-nanochatbpe-10B
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/… See the full description on the dataset page: https://huggingface.co/datasets/alexkstern/c4-nanochatbpe-10B.
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.
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")