Greedy vs Sampled Decoding Lab
Why decoding matters on a base LM: Pythia-70M-Deduped is a non-instruct causal LM. Greedy decoding always picks the argmax token (deterministic, but prone to short cycles without repetition penalty), whereas temperature + top-k reshape the 50,304-token softmax distribution before sampling.
Load Xenova/pythia-70m-deduped to run side-by-side decoding comparisons.
Run A · Greedy (do_sample=false, penalty=1.00)
Run B · Sampled (T, top-k, repetition penalty)
GPT-NeoX 50,304-Vocab BPE & Partial-RoPE Geometry
GPT-NeoX uses a 50,254-merge byte-level BPE tokenizer padded to 50,304
entries for tensor-core alignment, plus partial RoPE
(rotary_pct = 0.25): only the first 16 of each attention head's 64 dimensions
carry rotary position angles (base = 10000), while 48 dimensions stay unrotated
across the 2,048-token window.
GPTNeoXForCausalLM: 6 layers · 8 heads · 64 dims/head · rotary_pct = 0.25 (16 rotary / 48 pass-through) · parallel residual.