Skip to content

MinkaiXu/Energy-Diffusion-LLM

Repository files navigation

Energy-Based Diffusion Language Models for Text Generation

License: MIT ArXiv

Official code release for the paper "Energy-Based Diffusion Language Models for Text Generation", accepted at The 13th International Conference on Learning Representations, 2025.

Guidelines

Checkpoints of pretrained Diffusion and AR LLMs can be downloaded at here.

Save checkpoints to checkpoints folder, e.g., checkpoints/ar.ckpt. Then you can run training and evaluation scripts in the scripts directory. We suggest you trying scripts/job_sample_eval_owt_T_arebm.sh and scripts/job_eval_owt_T_arebm.sh first, which don't involve any training.

More detailed guidelines for using this repository will be provided soon.

Acknowledgements

You can also find useful information in the MDLM repository, which this repository is built upon.

Citation

@article{xu2024energy,
  title={Energy-based diffusion language models for text generation},
  author={Xu, Minkai and Geffner, Tomas and Kreis, Karsten and Nie, Weili and Xu, Yilun and Leskovec, Jure and Ermon, Stefano and Vahdat, Arash},
  journal={arXiv preprint arXiv:2410.21357},
  year={2024}
}

About

Reproduce ICLR2025 Energy-Based Diffusion Language Models for Text Generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published