Views
No views yet
Research artifact. This adapter is released for academic and research purposes. It was trained on a limited dataset as a proof-of-concept for the MemDLM method and is not intended for production use.
1import transformers
2from peft import PeftModel
3
4# Load base model
5base_model = transformers.AutoModel.from_pretrained(
6 "inclusionAI/LLaDA-MoE-7B-A1B-Base",
7 trust_remote_code=True,
8 torch_dtype="auto",
9)
10
11# Load MemDLM adapter
12model = PeftModel.from_pretrained(base_model, "JarvisPei/LLaDA-MoE-7B-A1B-Base-MemDLM")
13model.eval()1bash examples/llada/eval_run.sh \
2 --adapter_model_name_or_path JarvisPei/LLaDA-MoE-7B-A1B-Base-MemDLM1@article{pei2026memdlm,
2 title = {MemDLM: Memory-Enhanced DLM Training},
3 author = {Zehua Pei and Hui-Ling Zhen and Weizhe Lin and Sinno Jialin Pan and Yunhe Wang and Mingxuan Yuan and Bei Yu},
4 year = {2026},
5 journal = {arXiv preprint arXiv:2603.22241},
6}