Black Forest Labs releases a language model that generates text in blocks
The flow model FLUNG 8B starts each 128-token block from noise and refines it in parallel. In the authors’ comparison it is on a par with diffusion models but trails OLMo 3 7B, which writes one token at a time.
Black Forest Labs, the developer of the image generator FLUX, published a paper on FLUNG 8B on arXiv on 3 December. The model weights appeared on Hugging Face the following day. The paper is a preprint that has not been peer reviewed, and all its results are the authors’ own.
A standard language model writes text one token at a time and does not go back to what it has already written. FLUNG starts a 128-token block from noise and refines all the tokens in the block in parallel. The authors said the model can change any token in the block up to the final step.
Speed is measured by how many tokens the model produces per forward pass of the neural network. The full model needs 256 passes per block. The distilled version manages with 32 or 64 steps. Early stopping ends work on a block once its output has not changed for four consecutive steps. With the default settings, 64 steps and early stopping, the model produces 4.8 tokens per forward pass and its scores stay within 2 points of a full 64-step run on every benchmark, the Hugging Face model page says. The speed-up of up to 13 times cited in the paper is calculated against the full FLUNG, not against models that write one token at a time.
The table shows that in the authors’ comparison FLUNG is on a par with diffusion language models and holds its scores even when it produces more tokens per forward pass. It does not show that FLUNG outperforms standard models: OLMo 3 7B, which writes one token at a time, is clearly ahead of FLUNG on most benchmarks.
| Model | Training tokens | Tokens/pass | GSM8K | MATH | HumanEval | IFEval |
|---|---|---|---|---|---|---|
| OLMo 3 7B | 6.1 tn | 1 | 92.6 | 87.3 | 83.5 | 85.6 |
| Dream 7B | 18.6 tn | 1 | 81.0 | 39.2 | 58.5 | 62.5 |
| LLaDA 1.5 8B | 2.3 tn | 1 | 79.9 | 42.6 | 41.5 | 66.2 |
| Sigma 8B, 8 steps | ≫ 2.3 tn | 2 | 89.2 | 68.8 | 75.0 | 45.2 |
| Sigma 8B, 4 steps | ≫ 2.3 tn | 3.6 | 68.1 | 32.3 | 63.4 | 33.1 |
| FLUNG 8B, 64 steps | 1 tn | 2 | 88.9 | 51.0 | 71.7 | 76.3 |
| FLUNG 8B, 32 steps + early stop | 1 tn | 6.5 | 88.5 | 49.7 | 70.3 | 75.6 |
Source: table compiled by the authors from benchmarks in which the models were given no examples. FLUNG’s figures are averages of three runs. OLMo 3 7B writes one token at a time; the others are diffusion or flow models.
The authors said Sigma 8B outperforms FLUNG on maths and code when both produce two tokens per forward pass. They attribute this largely to Sigma being initialised from an existing model that writes one token at a time, and to an auxiliary objective in its training that predicts one token at a time. When Sigma produces 3.6 tokens per forward pass, its scores drop sharply.
In a controlled comparison, the authors trained four models with 1 billion parameters each using the same data, tokeniser and training budget: each was pretrained on 100 billion tokens. Generating one token at a time, the flow model and the masked diffusion model were level on the seven-task average (23.3 and 24.1 points). At eight tokens per step, FLUNG was the best of the diffusion models on all seven tasks. The model that writes one token at a time was nonetheless ahead of every diffusion model on every task.
Training FLUNG takes roughly twice the compute of a model that writes one token at a time, because each document is processed as both a clean and a noisy copy, the authors said.
The weights are available on Hugging Face under the CC BY-NC 4.0 licence, which permits only non-commercial use. The company calls the model a research release and does not intend it for production use. The model runs on a single GPU and requires PyTorch and the Transformers library. It was trained mainly on English text and code, and other languages have not been evaluated.
Read more: Models