← Open-Weight LLM Parts Atlas home
LLaDA 8B (Diffusion · RL derivative d1-diffu)
8B (dense)
developers: GSAI / UCLA
published: 2025-02-19
MIT · Commercial use OK ↗
max context: 4K
KV(BF16): does not accumulate
Text only
Bidirectional attention [MASK] infilling repeated to generate: diffusion type
Instead of emitting left to right 1 token at a time autoregressively, Start the answer slots as all [MASK] state, gradually committing the most confident positions: “masked diffusion” of LLM. Layer internals match a normal Transformer almost exactly, the differences are “bidirectional attention that also sees the future” and “how it generates”. UCLA of d1-diffu:, this LLaDA with an RL method for diffusion models (diffu-GRPO) to add reasoning ability.
Interactive structure diagram · simulator (open) →
| layers | 32 |
|---|---|
| d | 4,096 |
| Attention | Bidirectional multi-head attention, 32 heads (KV also 32) |
| FFN | SwiGLU, intermediate 12,288 |
| context | 4,096 (config.json of max_sequence_length) |
| vocab | 126,464 (MASK token included) |
| generation | masked diffusion (each step commits the most confident positions) |
| KV calculation basis | Bidirectional masked diffusion, so standard sequential KV cache not supported (all positions computed every step) |
| Supported inference | Transformers |
Source:Hugging Face: GSAI-ML/LLaDA-8B-Base / LLaDA paper / d1 paper