allenai/DataDecide-data-recipes
Updated • 3.39k • 8
Masked diffusion language model with the DataDecide OLMo-1 530M block (bidirectional attention + mask token), trained on the same 53B unique DCLM-baseline tokens as the autoregressive companion michaelchenkj/datadecide-dclm-530m-53b.
This repo stores the raw training checkpoints (model + optimizer in each .pt), EasyBench evals (metrics + per-example generations), logs, and training code.
t ~ U[0,1], p=(1-ε)t+ε, CE on masked tokens / p, mean over B×Tcheckpoints/stepN.pt — every 1,000 steps; checkpoints/step57786.pt is the final (includes optimizer). checkpoints/config.json has run hyperparametersevals/ — per-step metrics.json / original.json and per-example .jsonl generationslogs/ — training, nohup, and eval-worker logsscripts/ — train.py, launch.sh, and eval launcherssrc/mdlm/ — model, diffusion loss, data loaderEach stepN.pt (except the 6.7G final) is a torch.save dict with step, model, optim, and RNG state.
from huggingface_hub import hf_hub_download
import torch
path = hf_hub_download("michaelchenkj/mdlm-dclm-530m-53b", "checkpoints/step57786.pt")
ckpt = torch.load(path, map_location="cpu")
state = ckpt["model"] # or the whole dict to resume
Training data is not stored here. Use the same DCLM shards as the DataDecide 530M run (allenai/DataDecide-data-recipes).
CUDA_VISIBLE_DEVICES=4,5,6,7 ./scripts/launch.sh --max-steps 2 --skip-eval # smoke
CUDA_VISIBLE_DEVICES=4,5,6,7 ./scripts/launch.sh