Arsh9210 / Efficient-DLM-4B

huggingface.co
Total runs: 10
24-hour runs: 0
7-day runs: -3
30-day runs: -3
Model's Last Updated: July 30 2026
text-generation

Introduction of Efficient-DLM-4B

Model Details of Efficient-DLM-4B

Efficient-DLM-4B

📄 Tech Report |   🤗 Efficient-DLM-4B |   🤗 Efficient-DLM-8B

Model Overview

Efficient-DLM-4B is a base diffusion language model designed for parallel generation. It converts pretrained AR LMs into diffusion LMs through efficient continuous pretraining, enabling faster decoding while preserving the task accuracy of strong AR models. Efficient-DLM features block-wise attention with clean-context conditioning for KV-cache-friendly decoding, as well as position-dependent token masking to reduce the training–test mismatch in diffusion generation. See our paper for more technical details.

Accuracy vs throughput Pareto curve
Environment
transformers>=4.52.2
Chat with Efficient-DLM-4B
from transformers import AutoModel, AutoTokenizer
import torch

repo_name = "nvidia/Efficient-DLM-4B"

tokenizer = AutoTokenizer.from_pretrained(repo_name, trust_remote_code=True)
model = AutoModel.from_pretrained(repo_name, trust_remote_code=True)
model = model.cuda().to(torch.bfloat16)

user_input = input("User: ").strip()

prompt_ids = tokenizer(user_input, return_tensors="pt").input_ids.to(device="cuda")
out_ids, nfe = model.generate(
    prompt_ids,
    max_new_tokens=128,
    steps=128,
    block_length=32,
    shift_logits=False,
    temperature=0.7,
    threshold=0.9,
)

response = tokenizer.batch_decode(out_ids[:, prompt_ids.shape[1]:], skip_special_tokens=True)[0]
print(f"Model: {response}")
print(f"[Num Function Eval (NFE)={nfe}]")
Citation
@article{fu2025efficient,
  title={Efficient-dlm: From autoregressive to diffusion language models, and beyond in speed},
  author={Fu, Yonggan and Whalen, Lexington and Ye, Zhifan and Dong, Xin and Diao, Shizhe and Liu, Jingyu and Wu, Chengyue and Zhang, Hao and Xie, Enze and Han, Song and others},
  journal={arXiv preprint arXiv:2512.14067},
  year={2025}
}

Runs of Arsh9210 Efficient-DLM-4B on huggingface.co

10
Total runs
0
24-hour runs
1
3-day runs
-3
7-day runs
-3
30-day runs

More Information About Efficient-DLM-4B huggingface.co Model

More Efficient-DLM-4B license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

Efficient-DLM-4B huggingface.co

Efficient-DLM-4B huggingface.co is an AI model on huggingface.co that provides Efficient-DLM-4B's model effect (), which can be used instantly with this Arsh9210 Efficient-DLM-4B model. huggingface.co supports a free trial of the Efficient-DLM-4B model, and also provides paid use of the Efficient-DLM-4B. Support call Efficient-DLM-4B model through api, including Node.js, Python, http.

Efficient-DLM-4B huggingface.co Url

https://huggingface.co/Arsh9210/Efficient-DLM-4B

Arsh9210 Efficient-DLM-4B online free

Efficient-DLM-4B huggingface.co is an online trial and call api platform, which integrates Efficient-DLM-4B's modeling effects, including api services, and provides a free online trial of Efficient-DLM-4B, you can try Efficient-DLM-4B online for free by clicking the link below.

Arsh9210 Efficient-DLM-4B online free url in huggingface.co:

https://huggingface.co/Arsh9210/Efficient-DLM-4B

Efficient-DLM-4B install

Efficient-DLM-4B is an open source model from GitHub that offers a free installation service, and any user can find Efficient-DLM-4B on GitHub to install. At the same time, huggingface.co provides the effect of Efficient-DLM-4B install, users can directly use Efficient-DLM-4B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Efficient-DLM-4B install url in huggingface.co:

https://huggingface.co/Arsh9210/Efficient-DLM-4B

Url of Efficient-DLM-4B

Efficient-DLM-4B huggingface.co Url

Provider of Efficient-DLM-4B huggingface.co

Arsh9210
ORGANIZATIONS

Other API from Arsh9210

huggingface.co

Total runs: 10
Run Growth: 3
Growth Rate: 30.00%
Updated:July 29 2026