TUBE checkpoints for LM1B
These eight PyTorch Lightning checkpoints are for likelihood evaluation on the One Billion Word Benchmark (LM1B). They use the BERT uncased tokenizer and sequences of 128 tokens. The model names below are the ones accepted by collect_likelihoods.py in the TUBE code repository.
| Model | Checkpoint file | Origin and role |
|---|---|---|
ar |
ar/best.ckpt |
Autoregressive baseline trained on LM1B for TUBE. |
bd3lm_bs4 |
bd3lm_bs4/best.ckpt |
TUBE block diffusion model, fine-tuned with block size 4. |
bd3lm_bs8 |
bd3lm_bs8/best.ckpt |
TUBE block diffusion model, fine-tuned with block size 8. |
bd3lm_bs16 |
bd3lm_bs16/best.ckpt |
TUBE block diffusion model, fine-tuned with block size 16. |
mdlm |
mdlm/72-1000000.ckpt |
Full-sequence masked diffusion checkpoint from the TUBE LM1B training runs. Table 5 uses a separate OWT checkpoint. |
udm |
udm/udlm_elbo_mean.ckpt |
Uniform diffusion model from rev_udm, used for Table 8. |
audm |
audm/audlm_elbo_mean.ckpt |
Absorbing-state formulation of uniform diffusion from rev_udm, used for Table 8. |
mdm_revudm |
mdm_revudm/mdlm_elbo_mean.ckpt |
Masked diffusion baseline from rev_udm, used for Table 8. |
Download and use
Run from the root of the TUBE code repository. The download preserves the subdirectories expected by the collector.
hf download ArsenyIvanov/TUBE-LM1B --include '*.ckpt' --local-dir checkpoints/lm1b
For example, to prepare LM1B and collect next-token log-probabilities for the autoregressive baseline:
python prepare_data.py --datasets lm1b
python collect_likelihoods.py --model ar --dataset lm1b --gpus 0
Attribution
The TUBE authors trained the ARM, MDLM and three BD3-LM checkpoints using the BD3-LM implementation. Training details and experiment settings are in Appendix E of the TUBE paper. The upstream code license is included in licenses/bd3lm-LICENSE.
The UDM, AUDM and MDM checkpoints were released by Samson Gourevitch, Yazid Janati, Dario Shariatian, Umut Simsekli, Eric Moulines and Eric P. Xing for Uniform Diffusion Models Revisited. The original checkpoint distribution is linked from the rev_udm repository. Its license and copyright notice are included in licenses/rev_udm-LICENSE.