mmdit / config.yaml
H0key's picture
CCDD MMDiT LM1B
f6afc01
Raw History Blame Contribute Delete
1.72 kB
logging:
run_name: official-mmdit-40k
num_eval_batches: 48
log_freq: 10
eval_freq: 2000
save_freq: 2000
save_dir: /project/jiayuproject/qheam/latent/ccdd/checkpoints
wandb_entity: discrete_diffusion
wandb_project: ccdd
data:
test_size: 100000
num_workers: 4
tokenizer_name: Qwen/Qwen3-Embedding-0.6B
pre_tokenize: true
sequence_packing: true
max_add_padding: 0
trust_remote_code: true
dataset_subset: null
cache_dir: /project/jiayuproject/qheam/latent/ccdd/data_cache_official_env2
split_sequences: false
dataset_name: dvruette/lm1b
model:
hidden_size: 768
cond_dim: 128
n_blocks: 12
n_heads: 12
dropout: 0.1
max_seq_len: 128
type: mmdit
n_single_list:
- 1
- 1
- 1
- 1
- 1
- 1
diffusion_process: coevolutionary
t_eps: 0.0001
pretrained_model_name: Qwen/Qwen3-Embedding-0.6B
contextualize_vae: true
gamma: 4.0
latent_dim: 32
vae_normalize: true
share_adaln: false
use_continuous_output_norm: false
cont_schedule: vp_linear
optimizer:
type: adam
lr: 0.0003
betas:
- 0.9
- 0.99
eps: 1.0e-09
weight_decay: 0.02
grad_clip_norm: 1.0
training:
resume: null
seed: 1
train_batch_size: 128
eval_batch_size: 128
num_train_steps: 40000
lr_schedule: constant
warmup_steps: 2500
low_discrepancy_sampling: true
dtype: bf16
compile_model: true
grad_accum_steps: 1
p_u_max: 0.0
p_u_min: 0.0
p_r_max: 1.0
p_r_min: 0.0
p_drop_continuous: 0.0
p_drop_discrete: 0.0
forcing_factor: 0.0
ar_prior_factor: 0.0
world_size: 8
loss:
loss_type: ccdd
loss_weighting: dynamic
min_loss_weight: 0.0
max_loss_weight: 2.0
loss_scale: 1.0
reduction: tokenmean
weight_type: inv_snr
cont_weight: 1.0