GSAI-ML/iLLaDA-8B-Base

Model

7

stars

6

commits

2

repos using this model

1

linked in READMEs

Jun 28, 2026

updated

conversational
custom_code
feature-extraction
illada
safetensors
text-generation
transformers

README

iLLaDA-8B-Base

iLLaDA is an 8B fully bidirectional masked diffusion language model trained from scratch with 12T pre-training tokens, an 8192-token context length, variable-length generation, and confidence-based scoring for multiple-choice evaluation. It was introduced in the paper Improved Large Language Diffusion Models.

Inference and evaluation codes: https://github.com/ML-GSAI/LLaDA.

Architecture

iLLaDA 8BLLaDA 8B
Layers3232
Model dimension40964096
Attention heads3232
Key/Value heads832
FFN dimension14,33612,288
Vocabulary size155,136126,464
Maximum sequence length81924096
Embedding and LM-headTiedUntied
Total parameters7.62B8.02B
Non-embedding parameters6.98B6.98B

Benchmark Results of Base Models

iLLaDA 8BLLaDA 8BDream 7BQwen2.5 7B
ModelDiffusionDiffusionDiffusionAR
Training tokens12T2.3T18T + 0.6T18T
MMLU74.865.969.571.9
BBH71.349.757.963.9
ARC-C60.845.959.851.5
HellaSwag76.670.573.379.0
GSM8K81.970.377.278.9
MATH38.431.439.641.1
HumanEval50.035.457.956.7
MBPP57.840.056.263.6
Average63.951.161.463.3

How to use

You can load and use the model with transformers as follows:

import torch
from transformers import AutoModel, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained('GSAI-ML/iLLaDA-8B-Base', trust_remote_code=True)
model = AutoModel.from_pretrained('GSAI-ML/iLLaDA-8B-Base', trust_remote_code=True, torch_dtype=torch.bfloat16)

Refer to the GitHub repository for generation scripts such as generate.py.

Citation

@article{nie2026illada,
  title={Improved Large Language Diffusion Models},
  author={Nie, Shen and Min, Qiyang and Xu, Shaoxuan and Huang, Zihao and Song, Yuxuan and Shan, Yong and Lin, Yankai and Zhao, Wayne Xin and Li, Chongxuan and Wen, Ji-Rong},
  journal={arXiv preprint arXiv:2606.25331},
  year={2026}
}

Contributors

nieshen

5 commits

nielsr

1 commits

GSAI-ML/iLLaDA-8B-Base

Model

7

stars

6

commits

2

repos using this model

1

linked in READMEs

Jun 28, 2026

updated

conversational
custom_code
feature-extraction
illada
safetensors
text-generation
transformers

README

iLLaDA-8B-Base

iLLaDA is an 8B fully bidirectional masked diffusion language model trained from scratch with 12T pre-training tokens, an 8192-token context length, variable-length generation, and confidence-based scoring for multiple-choice evaluation. It was introduced in the paper Improved Large Language Diffusion Models.

Inference and evaluation codes: https://github.com/ML-GSAI/LLaDA.

Architecture

iLLaDA 8BLLaDA 8B
Layers3232
Model dimension40964096
Attention heads3232
Key/Value heads832
FFN dimension14,33612,288
Vocabulary size155,136126,464
Maximum sequence length81924096
Embedding and LM-headTiedUntied
Total parameters7.62B8.02B
Non-embedding parameters6.98B6.98B

Benchmark Results of Base Models

iLLaDA 8BLLaDA 8BDream 7BQwen2.5 7B
ModelDiffusionDiffusionDiffusionAR
Training tokens12T2.3T18T + 0.6T18T
MMLU74.865.969.571.9
BBH71.349.757.963.9
ARC-C60.845.959.851.5
HellaSwag76.670.573.379.0
GSM8K81.970.377.278.9
MATH38.431.439.641.1
HumanEval50.035.457.956.7
MBPP57.840.056.263.6
Average63.951.161.463.3

How to use

You can load and use the model with transformers as follows:

import torch
from transformers import AutoModel, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained('GSAI-ML/iLLaDA-8B-Base', trust_remote_code=True)
model = AutoModel.from_pretrained('GSAI-ML/iLLaDA-8B-Base', trust_remote_code=True, torch_dtype=torch.bfloat16)

Refer to the GitHub repository for generation scripts such as generate.py.

Citation

@article{nie2026illada,
  title={Improved Large Language Diffusion Models},
  author={Nie, Shen and Min, Qiyang and Xu, Shaoxuan and Huang, Zihao and Song, Yuxuan and Shan, Yong and Lin, Yankai and Zhao, Wayne Xin and Li, Chongxuan and Wen, Ji-Rong},
  journal={arXiv preprint arXiv:2606.25331},
  year={2026}
}

Contributors

nieshen

5 commits

nielsr

1 commits