Views
No views yet
block_size=1) checkpoints trained from
the bd3lms repo on LM1B with
dependency-tree-based token reweighting. Dependency parses were produced
with Stanza.algo=mdlm and the masking.use_dep_depth=True pathway added on top of the
bd3lms codebase, which reweights the per-token masked-diffusion loss by a
dependency-tree depth signal.best.ckpt (Lightning .ckpt, ~2.2 GB). The
directory name encodes the run config: a{mix_alpha}_normalized_{depth_mode}_reverse{reverse}[_v2].| Folder | mix_alpha | depth_mode | reverse | Notes |
|---|---|---|---|---|
a0.0_normalized_dependency_reverseTrue/ | 0.0 | dependency | True | α=0 (depth signal has no effect) |
a0.0_normalized_dependency_reverseTrue_v2/ | 0.0 | dependency | True | independent rerun (_v2) |
a0.125_normalized_dependency_reverseTrue/ | 0.125 | dependency | True | |
a0.125_normalized_dependency_reverseTrue_v2/ | 0.125 | dependency | True | independent rerun (_v2) |
a0.125_normalized_descendant_count_reverseFalse/ | 0.125 | descendant_count | False | alternate depth signal |
a0.1875_normalized_dependency_reverseTrue/ | 0.1875 | dependency | True | |
a0.25_normalized_dependency_reverseTrue/ | 0.25 | dependency | True |
masking.normalize_depth=True and masking.depth_temp=1.0.algo=mdlm with algo.mdlm_loss_scale=Truemodel=small (bd3lms DiT, sequence length 128)lm1b-wrap, wrapped to model.length=128loader.global_batch_size=512, per-device batch_size=128scripts/train/train_lm1b_mdlm_dep_0p125_v2.sh
in the training repo for the exact CLI invocation (one per α).main.py in the bd3lms repo. Load
them with the matching config, e.g.:1from huggingface_hub import hf_hub_download
2
3ckpt = hf_hub_download(
4 repo_id="JianYu03/bd3lms-mdlm-lm1b-dep-stanza",
5 filename="a0.125_normalized_dependency_reverseTrue/best.ckpt",
6)
7
8# Then, inside the bd3lms repo, pass it to main.py as:
9# checkpointing.resume_ckpt_path=<ckpt> (for resume)
10# or load via diffusion.Diffusion.load_from_checkpoint(ckpt, config=cfg)1@inproceedings{arriola2025block,
2 title = {Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models},
3 author = {Arriola, Marianne and Gokaslan, Aaron and Chiu, Justin T. and Yang, Zhihan and Qi, Zhixuan and Han, Jiaqi and Sahoo, Subham S. and Kuleshov, Volodymyr},
4 booktitle = {International Conference on Learning Representations (ICLR)},
5 year = {2025}
6}