← 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) →

layers32
d4,096
AttentionBidirectional multi-head attention, 32 heads (KV also 32)
FFNSwiGLU, intermediate 12,288
context4,096 (config.json of max_sequence_length)
vocab126,464 (MASK token included)
generationmasked diffusion (each step commits the most confident positions)
KV calculation basisBidirectional masked diffusion, so standard sequential KV cache not supported (all positions computed every step)
Supported inferenceTransformers

Source:Hugging Face: GSAI-ML/LLaDA-8B-Base / LLaDA paper / d1 paper