SwaFlow: A Fully Open Suite for Studying Riemannian Flow Language Models Across Training and Scale
Riemannian flow language models corrupt text continuously on a curved manifold, but the models of this family released so far are final checkpoints near 0.1B parameters, which do not show how these models change with scale and over training. We release SwaFlow, a fully open suite of hyperspherical flow language models from 150M to 3B parameters trained on 2T tokens of Dolma 3 Mix, with autoregressive twins on the same data. All runs share one data order, which the released code can regenerate down to the documents behind any checkpoint. We release 386 full training states, one every 40B tokens up to 2T for each run. The suite ends in a final 3B model, mid-trained with clean prefixes and weight-averaged from its saved states. With scale, held-out loss and unconditional generation improve, and models recover tokens from noise increasingly far beyond what their embedding table guarantees. Under the standard schedule, conditioning on clean context does not improve with scale, and multiple-choice accuracy stays at chance. A short clean-prefix stage at the end of pretraining supplies this conditioning cheaply at all sizes, and the gains grow with size and budget and transfer to finetuning.