Black Forest Labs published FLUNG 8B on Hugging Face on December 4, 2026, its first step into language modeling with a flow-based decoder that drafts 128 tokens at once and refines them in parallel. The model card pairs weights with the paper Towards Training Your Language Flow Model from Scratch (Abdessaied et al., 2026). This is a research artifact under CC BY-NC 4.0, not a commercial API like FLUX 3.1 Image.
TL;DR: what builders ask first
| Question | Answer per BFL card |
|---|---|
| Parameters | 7.9B (9.0B including embeddings) |
| Training data | ~1T tokens, open-source mixtures only |
| License | CC BY-NC 4.0 weights; Qwen3 tokenizer Apache 2.0 |
| Parallelism | 128-token blocks; flow matching denoising |
| Throughput | Up to 6.5 tokens / forward pass (32 steps, early stop) |
| Hardware | Single GPU inference in bfloat16 |
| Intended use | Non-commercial research on language flow models |
How FLUNG generation differs from chat LLMs
Autoregressive models predict one next token per step, then append and repeat. FLUNG instead noises an entire 128-token block, then denoises it over many steps, optionally stopping early when the argmax readout stabilizes. BFL claims this yields up to 6.5 decoded tokens per forward pass with 32 steps and early stop, within about two points of full 64-step scores on the benchmarks it lists.
That design sits in the same family as flow matching used in BFL image stacks, but applied to discrete language. If you follow parallel text research or masked diffusion language studies, FLUNG is a new open checkpoint to compare against, not a drop-in replacement for GPT-style APIs.
FLUNG 8B parallel denoising blocks answering a train trip math question
Image: Black Forest Labs
Parallel blocks: what early stop actually does
Each answer is built in chunks of up to 128 new tokens. Within a chunk, FLUNG runs a denoising schedule (default 64 steps). Early stop watches the argmax token readout: if it does not change for four consecutive steps, BFL stops refining that block and moves on. That is how 6.5 tokens per forward pass appears at 32 steps — you spend fewer integration steps on "settled" regions of the block.
Autoregressive models hide latency behind KV caches once the prefix is long. Flow blocks instead pay per-block integration cost, but can amortize work across the whole block when early stop triggers. For interactive chat, the trade-off is subtle: you may wait for a full block before text streams, depending on how generate_chat exposes partial readouts in the released code. Treat streaming behavior as implementation-dependent and verify in the repository when you integrate.
The demo GIF on the card walks through a train-schedule math question across two 128-token blocks, which is a useful mental model for long answers that exceed one block.
Training pipeline (what the card and paper say)
BFL summarizes roughly one trillion tokens from open-source corpora only:
- Pre-training — about 0.82T tokens (web, code, math).
- Mid-training — 200B tokens on higher-quality web, code, math, plus instruction data.
- Supervised fine-tuning — 4.7B tokens across code, math, instructions, chat, science, and safety.
- Distillation — guidance distillation, then flow-map step distillation so sampling fits 32–64 steps per 128-token block.
- Preference tuning — offline DPO, then online GRPO with unit tests, reference answers, constraint checkers, and an LLM judge.
Named mixtures on the card include Nemotron-CC, FinePDFs-Edu, OpenCodeInstruct, Tülu 3, and SmolTalk, with full weights and licenses in the paper data appendix. No training data ships with the weights.
Benchmark table: steps versus speed
BFL publishes zero-shot generative scores (three-seed means; MT-Bench judged by GPT-4.1). Early stop (ES) freezes a block when the argmax readout is unchanged for four consecutive steps.
| Steps | tok/fwd | GSM8K | MATH | HumanEval | MBPP | IFEval | MT-Bench |
|---|---|---|---|---|---|---|---|
| 64 + ES (default) | 4.8 | 87.9 | 50.5 | 70.7 | 56.5 | 76.0 | 5.68 |
| 64 full | 2.0 | 88.9 | 51.0 | 71.7 | 57.7 | 76.3 | 5.78 |
| 32 + ES | 6.5 | 88.5 | 49.7 | 70.3 | 56.1 | 75.6 | 5.71 |
| 32 full | 4.0 | 89.1 | 50.3 | 70.5 | 56.8 | 76.1 | 5.64 |
Sampler settings: temperature 0.3, top-p 0.9. Treat these as vendor-reported on BFL evaluation harness; explainx.ai did not reproduce the runs for this article.
For context on non-autoregressive classification-style heads elsewhere in the ecosystem, see our guide on decision models — different architecture, same broad question of latency versus autoregressive quality.
Data sources named on the model card
Transparency matters because BFL insists on open-source-only pre-training. The card highlights these families (full tables live in the paper appendix):
| Phase | Examples cited on HF |
|---|---|
| Web / edu | Nemotron-CC, FinePDFs-Edu, FineMath, Dolma 3 Dolmino |
| Code / math | Nemotron pre-training code and math, OpenMathInstruct-2, OpenCodeInstruct |
| Post-train chat | Nemotron post-training sets, Tülu 3, SmolTalk |
Mixture weights and per-dataset licenses are not duplicated on the card — pull them from arXiv:2612.06003 before you fine-tune or redistribute derivatives. That mirrors how other labs document 1T-scale runs without shipping corpora.
FLUNG versus discrete-diffusion language models
Several labs explore masked or discrete diffusion for text. BFL frames FLUNG as variational flow matching trained from scratch at 8B scale, competitive with open discrete diffusion baselines on the paper table (see arXiv for full comparisons). The practical difference for builders is sampler ergonomics: FLUNG exposes generate_chat with steps, stable_stop, and seed knobs similar to image flow APIs, rather than a mask schedule over a fixed length.
If you are benchmarking, match compute fairly: compare wall-clock at equal hardware, tokens out, and quality on your evals — not only BFL zero-shot rows. Our NCM parallel generation write-up stresses the same throughput versus quality tension for non-autoregressive text.
Hugging Face Jobs and fine-tuning hooks
The model page suggests HF Jobs recipes for fine-tuning with TRL, batch inference, benchmark eval, and 4-bit quantization — each starting with hf jobs --help. Those are platform workflows, not part of the weight license, but they lower the cost of reproduction studies on academic clusters.
Researchers comparing FLUNG to Looped adapters or other December 2026 open weights should log hardware, CUDA version, and exact commit of the FLUNG repo because trust_remote_code pulls custom forward logic.
Safety and evaluation gaps
Supervised and preference stages mention safety tokens in the mixture, but the card does not publish a red-team or jailbreak suite. English-heavy GSM8K and HumanEval rows do not prove tool-use reliability or long-context stability. Plan your own held-out prompts, especially if you study flow matching robustness rather than chat quality alone.
How to try FLUNG 8B on one GPU
The card requires torch and transformers (tested with 4.57.6). Minimal chat path:
import torch
from transformers import AutoModel, AutoTokenizer
repo = "black-forest-labs/flung-8b"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModel.from_pretrained(
repo, trust_remote_code=True, dtype=torch.bfloat16
).to("cuda").eval()
messages = [{"role": "user", "content": "Explain flow matching for text in two sentences."}]
out = model.generate_chat(messages, tokenizer)
print(out["text"])
fast = model.generate_chat(
messages, tokenizer, steps=32, stable_stop=0, max_new_tokens=512, seed=1973
)
trust_remote_code=True is required because generation logic ships with the repository. Start with default 64-step early stop, then try steps=32 when you care about tok/fwd more than the last point of benchmark margin.
Limitations BFL lists explicitly
The card warns FLUNG can produce plausible but wrong code and reasoning, like other ~8B models. English and code dominate training; other languages are not evaluated. Harmful output is possible without human review — the license restricts production deployment.
Commercial teams should keep using hosted BFL image APIs or negotiate enterprise weight terms separately; FLUNG is not FLUX Klein-style permissive for products.
Where FLUNG fits in BFL's 2026 lineup
December 2026 already brought FLUX 3.1 Image for paid, fast mask editing on the API. FLUNG shows BFL investing in research-grade text flow models with open weights for academia, while keeping commercial text off the same license.
For builders comparing local open weights versus API latency, map FLUNG next to other parallel decode experiments you may be tracking, and keep evaluation on your tasks — math leaderboard rows do not guarantee tool-calling or long-context behavior.
What to watch next
BFL may ship baselines against discrete diffusion language models in the full paper figures; the Hugging Face card already points to arXiv 2612.06003. Watch the repository for sampler tweaks, quantized exports, and any commercial license announcement — none of those appeared on the card at publish time.
Teams learning flow matching from image work can reuse mental models from trajectory and denoising research, but token blocks introduce new failure modes (early stop on ambiguous spans) worth ablation in your own harness.
Practical checklist for researchers
- Read the license — CC BY-NC blocks productized assistants without a separate deal.
- Pin transformers to the tested 4.57.x line before debugging custom code.
- Log steps and stable_stop when comparing to autoregressive baselines — fairness is per wall-clock, not per forward pass alone.
- Do not assume multilingual coverage from English-heavy scores.
- Cite the paper if you publish derivatives; BFL includes a BibTeX block on the card.
- Archive the commit hash you used — custom generation code can change without a model revision on the Hub.
