Asked about Where capability comes from

Given a fixed compute budget, how do you choose model size and token count?

An answer that works

C equals 6ND fixes the trade, so choosing a size chooses the token count. The compute-optimal point is around twenty tokens per parameter, which for a 1e22 FLOP budget lands near nine billion parameters. Then adjust for serving: if the model will be called heavily, go smaller and train longer, because training is paid once and inference is paid every request.

Reading an answer is not being able to give one. The section that teaches this is Where capability comes from, 5 hours of Pretraining.

Learn this properly