Pretraining Objectives & Scaling Laws · Problem 4 of 4
Implement an IsoFLOP analysis: from loss curves at several fixed-FLOP budgets, extract the compute-optimal frontier and fit , .
Implement the function/class skeleton in the editor. Any correct approach is accepted.
import numpy as np
def synth_isoflop(C, Ns, coeffs=(1.69, 406.4, 410.7, 0.34, 0.28), noise=0.0, rng=None):
raise NotImplementedError
def isoflop_minimum(Ns, losses):
raise NotImplementedError
def fit_frontier(Cs, N_stars, D_stars):
raise NotImplementedError
def run_isoflop_analysis(Cs, N_range, seed=0):
raise NotImplementedErrorReady when you are
Submit your solution and a structured review appears here — verdict, score, and concrete feedback. Any correct approach passes.
Implement an IsoFLOP analysis: from loss curves at several fixed-FLOP budgets, extract the compute-optimal frontier and fit , .
Implement the function/class skeleton in the editor. Any correct approach is accepted.