Download train.toml from ianrumac/melon-135m: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/ianrumac/melon-135m/resolve/main/train.toml
- Command line
-
hf download hf://ianrumac/melon-135m/train.toml
-
curl -L -o train.toml https://huggingface.co/ianrumac/melon-135m/resolve/main/train.toml
1.41 kB
| out = "checkpoints/text-135m-v3-depth" | |
| device = "cuda" | |
| cache_dir = "data/prepared" | |
| [model] | |
| context_length = 2048 | |
| 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 = 3 | |
| mlp = "relu2" | |
| head_mixing = "depth" | |
| d_model = 768 | |
| n_layers = 12 | |
| n_heads = 12 | |
| d_ff = 2304 | |
| tokenizer = "bpe" | |
| vocab_size = 49152 | |
| bitnet = false | |
| activation_bits = 8 | |
| [training] | |
| mode = "pretrain" | |
| steps = 5150 | |
| batch = 32 | |
| seq = 2048 | |
| lr = 0.001 | |
| warmup_steps = 20 | |
| 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 | |
| schedule = "wsd" | |
| warmdown_ratio = 1.0 | |
| 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/full-2.7b/manifest.json" | |
| split = "train" | |
| seed = 42 | |