LLaDA is a PyTorch implementation of large language diffusion models that uses masking-based diffusion training at scale.
The project addresses the challenge of applying diffusion-based approaches to large language models. Rather than using traditional autoregressive generation, LLaDA employs a diffusion process with masking to train language models from scratch. The approach generates text by iteratively refining masked token predictions, departing from the standard next-token prediction paradigm used in most large language models.
Developers considering adoption should know that LLaDA is suitable for those exploring alternative generation mechanisms beyond autoregressive decoding or investigating diffusion-based language modeling. The project provides multiple model variants including base and instruction-tuned versions, a mixture-of-experts variant, and a vision-language extension. It includes inference utilities for both likelihood evaluation and generation, along with batch inference support and evaluation code based on standard benchmarking frameworks. The tool is accessible through Hugging Face and can be loaded using the standard transformers library.
The project demonstrates substantial real-world adoption, with almost all open issues originating from external users rather than the core team. Maintainers typically respond to new issues and pull requests within a few days, indicating active engagement with the user community.