Loading…
Loading…
Verified result: full BPC 1.007349 (step 8000, TinyStories-valid, 129,429 fixed outer-val positions). Beats GPT-2 124M BYTE_BPC = 1.142985 (TOKEN_BPC = 9.152823) on the same metric.
Dataset: roneneldan/TinyStories (TinyStories-valid.txt, 19.4 MB, sha256 94e431816c4cce81...).
Protocol: windowed stride-16 ctx-256 over fixed evaluation set; determinism verified (two bit-identical passes, max_abs_diff_per_position_bits = 0.0).
ByteTransformervocab_size=256, d_model=192, n_layer=6, n_head=4, ffn_mult=4, ctx=256, tie_embeddings=True, dropout=0.0run/andrew_8000/checkpoint_selected.pt → model.safetensorsinner_val_windowed_bpc = 1.051187full_bpc = 1.007349model.safetensors — exported weights (tied embeddings cloned; load with ByteTransformer(config))config.json — architecture configeval_results.json — full outer-val resultdemo/app.py — Streamlit text-generation demodemo/requirements.txt — NOT in repo (dropped); install torch safetensors streamlit numpy manuallypip install -r demo/requirements.txt
streamlit run demo/app.py
Prompt is drawn from corpus/corpus.txt outer-val region; generation uses temperature / top-k sampling.
import torch
from safetensors.torch import load_file
cfg = TransformerConfig(vocab_size=256, d_model=192, n_layer=6, n_head=4, ffn_mult=4, ctx=256, tie_embeddings=True, dropout=0.0)
model = ByteTransformer(cfg)
state = load_file("model.safetensors")
model.load_state_dict(state)
model.eval()
LLM_PARITY_ROADMAP.mdGoldWorm v6, 2.76M params, single release
See docs/USER_MANUAL.md for Windows + Linux install + load + eval reproduction
See also: Uuuuuuniiiiiii/TinyStories dataset card