melon-1b-ext2 / train.toml
ianrumac's picture
Upload melon-1b-ext2 weights and model card
217ec27 verified
Raw History Blame Contribute Delete
1.43 kB
out = "checkpoints/text-1b-ext2"
device = "cuda"
cache_dir = "data/prepared"
[model]
context_length = 4096
attention_chunk = 512
attention_bf16 = true
qk_norm = true
logit_softcap = 15.0
untied_head = true
embed_norm = true
zero_init_projections = true
residual_scalars = true
value_embeddings = true
value_embedding_tables = 1
gated_attention = true
mlp = "relu2"
d_model = 2048
n_layers = 20
n_heads = 32
d_ff = 512
tokenizer = "bpe"
vocab_size = 49152
bitnet = false
activation_bits = 8
[training]
mode = "pretrain"
steps = 2100
batch = 4
seq = 4096
lr = 0.001
warmup_steps = 100
weight_decay = 0.1
val_every = 250
val_batches = 16
val_seed = 42
checkpoint_every = 500
log_every = 10
grad_accum_steps = 8
grad_clip = 0.0
total_steps = 11255
schedule = "wsd"
warmdown_ratio = 0.18659
final_lr_frac = 0.0
compute_dtype = "bf16"
loss_chunk = 256
pack = "bos"
doc_masking = true
tokenizer_train_bytes = 2000000000
optimizer = "muon"
muon_lr = 0.02
muon_momentum = 0.95
muon_weight_decay = 0.1
embedding_lr = 0.2
head_lr = 0.02
scalar_lr = 0.03
lr_width_reference = 768
adam_beta1 = 0.9
adam_beta2 = 0.95
adam_eps = 0.00000001
muon_ns_dtype = "bf16"
muon_orthogonalizer = "newton-schulz"
tf32 = true
fused_kernels = true
keep_snapshots = 0
best_weights_only = true
seed = 7
ddp_bucket_mb = 256
ddp_bf16_grads = false
muon_shard_ns = false
[[datasets]]
shards = "data/shards/data-1b-ext2/manifest.json"
split = "train"
seed = 42