Views
No views yet
byob-lm - the
letterpress repo was formerly byob_llm - so paths, benchmark reports, and the
companion dataset stay stable.)| tier | params | layers x width | context | vocab | best val loss | held-out bpc | wikitext bpc | file |
|---|---|---|---|---|---|---|---|---|
nano | 0.82M | 4 x 128 | 128 | 65 | - | 2.68 | 4.09 | nano/shakespeare-nano.pt |
medium | 25.4M | 8 x 512 | 256 | 97 | 1.2278 | 1.69 | 2.91 | medium/byob-lm.best.pt |
large | 49.7M | 10 x 640 | 384 | 198 | 1.1111 | 1.57 | 2.30 | large/byob-lm.best.pt |
xlarge | 99.9M | 14 x 768 | 512 | 199 | 0.9411 | 1.31 | 1.88 | xlarge/byob-lm.best.pt |
2xlarge | 202M | 16 x 1024 | 512 | 204 | 0.8725 | 1.17 | 1.71 | 2xlarge/byob-lm.best.pt |
lm_bench
harness (seed 1337, byte-normalized); full scorecards live in the repo under
lm_bench/benchmarks/. Lower is better; the corpus tiers are nested, so every
gain down the table is scale, not data luck.{model, config, stoi, itos}, optimizer
state stripped) but unpickle the letterpress GPTConfig, so you need the repo's
source next to them:1git clone https://github.com/Novotarskyi/letterpress.git && cd letterpress
2python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
3hf download disco-jack-basement/letterpress 2xlarge/byob-lm.best.pt --local-dir models
4
5.venv/bin/python -m inference.sample --ckpt models/2xlarge/byob-lm.best.pt --prompt "ROMEO:"
6.venv/bin/python -m inference.interact --ckpt models/2xlarge/byob-lm.best.pt
7cd lm_bench && ../.venv/bin/python -m lm_bench run --model byob:../models/2xlarge/byob-lm.best.pt --tasks core<tier>/ folder here also carries the archive's provenance files
(context.md with the full hyperparameters and val curve, corpus_stats.txt,
corpus.lock.json, corpus_index.md) where the archive has them.disco-jack-basement/byob-pd-book-corpus
(CC0; Project Gutenberg, Standard Ebooks, Internet Archive, Wikisource), curated
under a strict, code-enforced no-Russian-content rule.