Downloads · 30 days
0
chen-hao-chao/mdm-prime-v2-c4
mdm-prime-v2-c4 is a text generation model from chen-hao-chao. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
MDM-Prime-v2 is an enhanced version of the MDM-Prime framework. MDM-Prime is a discrete diffusion model enhanced with the Partial masking scheme (Prime). It enables fine-grained denoising and improves generation quali…
Downloads · 30 days
0
Access
Public
Updated Sep 9, 2026
Repo size
683 GB
Likes
2
Public
Click a slice to open those files.
.distcp678 GB · 100%
From the Hugging Face model README
MDM-Prime-v2 is an enhanced version of the MDM-Prime framework. MDM-Prime is a discrete diffusion model enhanced with the Partial masking scheme (Prime). It enables fine-grained denoising and improves generation quality across both image and text domains.
This repository contains the models presented in the paper:
Links:
To download the weights, one can download the huggingface_hub library via pip install -U huggingface_hub and perform the following python code:
from huggingface_hub import hf_hub_download
path = hf_hub_download(
repo_id="chen-hao-chao/mdm-prime-v2-c4",
filename="${checkpoint_name}"
)
Replace ${checkpoint_name} with ${model}/${setup} (e.g., prime/prime_param_3426M_iter_14000). This repository is organized as follows:
mdm-prime-v2-c4/
├── README.md
├── arm/
├── mdm/
└── prime/
├── prime_param_14M_iter_70000/
├── prime_param_25M_iter_80000/
├── .../
└── prime_param_3426M_iter_14000/
├── latest_checkpointed_iteration.txt
└── iter_0014000
For more details regarding the training and inference processes, please refer to our github repository: chen-hao-chao/mdm-prime-v2.
If you find this repository useful, please consider citing our paper.
@inproceedings{chao2026mdmprimev2,
title = {{MDM-Prime-v2: Binary Encoding and Index Shuffling Enable Scaling of Diffusion Language Models}},
author = {Chen-Hao Chao and Wei-Fang Sun and Junwei Quan and Chun-Yi Lee and Rahul G. Krishnan},
booktitle = {Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP)},
year = {2026},
}
@inproceedings{chao2025mdmprime,
title = {{Beyond Masked and Unmasked: Discrete Diffusion Models via Partial Masking}},
author = {Chen-Hao Chao, Wei-Fang Sun, Hanwen Liang, Chun-Yi Lee, Rahul G. Krishnan},
booktitle = {Proceedings of the Conference on Neural Information Processing Systems (NeurIPS)},
year = {2025},
}