Qwen2.5-Coder-0.5B-Instruct-diffusion-mdlm-v0.1 (dllm-hub)
Qwen2.5-Coder-0.5B-Instruct adapted into a masked diffusion language model with the dLLM framework.
Language · 1,478 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Language
- Parameters
- 494M
- Operations
- 1,478
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2026
- Cited by
- 25 (as of 12 November 2026)
- Authors
- Zhanhui Zhou, Lingjie Chen, Hanghang Tong, Dawn Song
- Name in source
- dllm-hub:Qwen2.5-Coder-0.5B-Instruct-diffusion-mdlm-v0.1
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m4340
- Graph hash
- 46bfcf94702110ad1de43535ac3a752bfef36a82f412ae359c604192e6c54296
- Skeleton hash
- 56292c1de63c3f1ab2995ce26fa98e1727403ee6cbd775e1a9c3439abbb98f7a
- Architecture hash
- e4534af96127640a29e530f961bb7feb25c29bcbb40b7d8b13fade5faf9ec904
- Diagram SHA-256
- 5cc6739629dcd3c81cdfc49a3c72f3329e5ee86d22368e9cae0a308090350bfb
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Qwen2.5-Coder-0.5B-Instruct-diffusion-mdlm-v0.1 is a diffusion-based language model adapted from Qwen2.5-Coder-0.5B-Instruct using MDLM (masked diffusion) and trained with the dLLM framework. Autoregressive language models decode tokens strictly left to right, while diffusion language models can decode tokens in any order. Generation here runs as a series of denoising steps, with a choice of random or low-confidence re-masking at each step.
dLLM is an open-source framework that unifies training, inference and evaluation for diffusion language models. Its repository includes recipes for converting any autoregressive model, with Qwen, LLaMA and GPT-2 given as examples, into a diffusion model. The paper states that existing pretrained models can be converted this way with no architectural modification or continual pretraining.
The model card lists opc-sft-stage1 and opc-sft-stage2 as the training datasets. Its default generation parameters are 256 denoising iterations and a token block size of 64.
Key idea. dLLM unifies training, inference and evaluation for diffusion language models and provides recipes for converting BERT-style encoders or autoregressive language models into diffusion models.
- Qwen2.5-Coder-0.5B-Instruct-diffusion-mdlm-v0.1
- dLLM
- A2D
- Tiny-A2D
- masked diffusion language model
- MDLM
- diffusion language model
- AR-to-diffusion conversion
- code generation
- A2DQwen2LMHeadModel
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhou2026dllmsimplediffusionlanguage,
title={dLLM: Simple Diffusion Language Modeling},
author={Zhanhui Zhou and Lingjie Chen and Hanghang Tong and Dawn Song},
year={2026},
eprint={2602.22661},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2602.22661},
}