Real World Examples#
TabPFN Scaling Study on ScAn-Bench#
A scaling study of TabPFN on the ScAn-Bench surrogate benchmark, which needs the scan_bench package. Random search samples model and data sizes under a FLOP budget, with a cost_estimator that gives the FLOPs of a configuration before it runs. Each evaluation reports its validation loss, its FLOPs, its number of parameters and data, and the NLL on real data as a downstream performance. scalefm.predict() then fits the scaling law and predicts the loss at larger budgets.
LLM Pre-training Scaling Study#
A scaling study of small Llama-style language models pre-trained on FineWeb-Edu. Random search samples width, depth, number of tokens and optimization hyperparameters. Each config is trained by its own Slurm job on 1, 2 or 4 GPUs, chosen by a memory probe. scalefm.predict() then fits the scaling law and predicts the loss at larger budgets.
See llm_pretraining/README.md for the full workflow and setup.
OpenCLIP Scaling Study#
A real-world scaling study: how the contrastive loss of an OpenCLIP model scales with its tower width and depth and the number of LAION image/caption pairs it is trained on, within a FLOP budget. The runs are laid out by Chinchilla approach 1 or 2, or by ScAn, and extrapolated with scalefm.predict. Sampling and training are decoupled so each sampled config -- which can need a very different amount of GPU memory -- is routed to a right-sized Slurm job, with DDP across several GPUs for the largest models.
See vlm_openclip/README.md for the full workflow and setup.