Hoffmann et al. (2022) ask how to split a fixed compute budget between model size and training data. The first ingredient is an estimate of how much compute a training run costs, which depends on the number of parameters and the number of tokens seen.
Implement training_flops(n_params, n_tokens), returning 6 * N * D.
N is parameters and D is training tokens.Multiply the parameter count, the token count, and the constant 6.
No results yet
Run your code to check it against the examples, or submit to run every test.