POST-TRAINING LAB

Post-training, visualized

Evals, SFT, LoRA, rewards, RL, DPO, souping, distillation and best-of-N on real tiny language models. They run in your browser.

Adam Gavish · November 2026
Abstract

Six small transformers (819k parameters each) were pre-trained, fine-tuned and RL-trained for this page. Every number, chart and sample below is real output from those models, graded by real graders. Pick a domain, then follow one model through post-training: what it gets wrong, how to measure it, what SFT and RL each fix, how a careless reward breaks it, and how to benchmark the result.

DomainAcme's private payments SDK
STAGE 01 · THE RAW MODEL

It sounds confident. It's usually wrong.

This is a pre-trained model: it has read 200,000 lines of “internet” text about this domain, including the internet's typical mistakes. A model doesn't output one answer. It holds a probability for every possible answer and samples one.

New to the model · never in pre-training

acme is Acme Corp's private, internal payments SDK. It never appeared in pre-training, so the model can't know its function names, that it takes keyword arguments only, or that every amount is in cents. What it saw on the internet was Stripe.

Prompt
# Payout $3.50 on vendor 662 using Acme's SDK
what the model actually reads: payout 3.50 vendor 662|
What the raw model answers · 32 real samples
✗ acme.payments.payout(vendor_id=662,amount=3.50)22%
✗ stripe.Charge.create(customer="662",amount=350)22%
✗ stripe.Refund.create(charge="662",amount=350)19%
✗ acme.payout(662,3.50)16%
✗ requests.post("/payout",json={"id":662})16%
✗ print("payout done")6%

0 of 32 samples were correct. The right answer isn't even among its guesses yet.

Temperature1 = sample from the model's beliefs as they are.