Download train.toml from ianrumac/melon-18m: direct link, hf CLI and curl.
- Browser
- Download file 4.98 kB
-
https://huggingface.co/ianrumac/melon-18m/resolve/main/train.toml
- Command line
-
hf download hf://ianrumac/melon-18m/train.toml
-
curl -L -o train.toml https://huggingface.co/ianrumac/melon-18m/resolve/main/train.toml
4.98 kB
| out = "checkpoints/text-18m" | |
| device = "cuda" | |
| cache_dir = "data/prepared" | |
| [model] | |
| context_length = 2048 | |
| attention_chunk = 512 | |
| attention_bf16 = true | |
| d_model = 384 | |
| n_layers = 8 | |
| n_heads = 6 | |
| d_ff = 1088 | |
| tokenizer = "bpe" | |
| vocab_size = 8192 | |
| bitnet = false | |
| activation_bits = 8 | |
| [training] | |
| mode = "pretrain" | |
| steps = 20000 | |
| batch = 16 | |
| seq = 1024 | |
| lr = 0.0003 | |
| weight_decay = 0.1 | |
| val_every = 200 | |
| val_batches = 8 | |
| val_seed = 42 | |
| checkpoint_every = 500 | |
| log_every = 10 | |
| grad_accum_steps = 1 | |
| grad_clip = 0.0 | |
| schedule = "cosine" | |
| warmdown_ratio = 0.65 | |
| final_lr_frac = 0.05 | |
| compute_dtype = "f32" | |
| loss_chunk = 256 | |
| pack = "random" | |
| doc_masking = false | |
| tokenizer_train_bytes = 2000000000 | |
| optimizer = "adamw" | |
| muon_lr = 0.02 | |
| muon_momentum = 0.95 | |
| muon_weight_decay = 0.0 | |
| adam_beta1 = 0.9 | |
| adam_beta2 = 0.999 | |
| adam_eps = 0.00000001 | |
| muon_ns_dtype = "f32" | |
| muon_orthogonalizer = "newton-schulz" | |
| tf32 = true | |
| fused_kernels = true | |
| keep_snapshots = 0 | |
| best_weights_only = false | |
| ddp_bucket_mb = 256 | |
| ddp_bf16_grads = false | |
| muon_shard_ns = false | |
| [[datasets]] | |
| hf_repo = "Salesforce/wikitext" | |
| hf_file = "wikitext-103-raw-v1/train-*.parquet" | |
| split = "train" | |
| bytes = 30000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "HuggingFaceFW/fineweb-edu" | |
| hf_file = "sample/10BT/003_00000.parquet" | |
| text_column = "text" | |
| split = "val" | |
| bytes = 1500000 | |
| seed = 11 | |
| [[datasets]] | |
| hf_repo = "wikimedia/wikipedia" | |
| hf_file = "20231101.en/train-00000-of-00041.parquet" | |
| text_column = "text" | |
| split = "val" | |
| bytes = 1500000 | |
| seed = 11 | |
| [[datasets]] | |
| hf_repo = "allenai/c4" | |
| hf_file = "realnewslike/c4-train.0000?-of-00512.json.gz" | |
| split = "train" | |
| bytes = 25000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "allenai/c4" | |
| hf_file = "en.noblocklist/c4-train.00000-of-01024.json.gz" | |
| split = "train" | |
| bytes = 20000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "PleIAs/common_corpus" | |
| hf_file = "common_corpus_1/subset_100_?.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 60000000 | |
| seed = 42 | |
| [datasets.filter] | |
| language = "English" | |
| [[datasets]] | |
| hf_repo = "PleIAs/common_corpus" | |
| hf_file = "common_corpus_1/subset_100_?.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 25000000 | |
| seed = 42 | |
| [datasets.filter] | |
| language = "French" | |
| [[datasets]] | |
| hf_repo = "PleIAs/common_corpus" | |
| hf_file = "common_corpus_1/subset_100_?.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 20000000 | |
| seed = 42 | |
| [datasets.filter] | |
| language = "German" | |
| [[datasets]] | |
| hf_repo = "PleIAs/common_corpus" | |
| hf_file = "common_corpus_1/subset_100_?.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 12000000 | |
| seed = 42 | |
| [datasets.filter] | |
| language = "Spanish" | |
| [[datasets]] | |
| hf_repo = "PleIAs/common_corpus" | |
| hf_file = "common_corpus_1/subset_100_?.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 8000000 | |
| seed = 42 | |
| [datasets.filter] | |
| language = "Italian" | |
| [[datasets]] | |
| hf_repo = "PleIAs/common_corpus" | |
| hf_file = "common_corpus_1/subset_100_?.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 12000000 | |
| seed = 42 | |
| [datasets.filter] | |
| language = "Chinese" | |
| [[datasets]] | |
| hf_repo = "PleIAs/common_corpus" | |
| hf_file = "common_corpus_1/subset_100_?.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 8000000 | |
| seed = 42 | |
| [datasets.filter] | |
| language = "Japanese" | |
| [[datasets]] | |
| hf_repo = "stanfordnlp/imdb" | |
| hf_file = "plain_text/unsupervised-*.parquet" | |
| text_column = "text" | |
| split = "train" | |
| bytes = 20000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "stanfordnlp/imdb" | |
| hf_file = "plain_text/t*-*.parquet" | |
| template = """ | |
| Review: {text} | |
| Sentiment: {label}""" | |
| labels = [ | |
| "negative", | |
| "positive", | |
| ] | |
| split = "train" | |
| bytes = 20000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "openai/gsm8k" | |
| hf_file = "main/train-*.parquet" | |
| template = """ | |
| Question: {question} | |
| Answer: {answer}""" | |
| split = "train" | |
| bytes = 5000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "google/boolq" | |
| hf_file = "data/train-*.parquet" | |
| template = """ | |
| {passage} | |
| Question: {question}? | |
| Answer: {answer}""" | |
| split = "train" | |
| bytes = 6000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "google-research-datasets/paws" | |
| hf_file = "labeled_final/train-*.parquet" | |
| template = """ | |
| Sentence 1: {sentence1} | |
| Sentence 2: {sentence2} | |
| Paraphrase: {label}""" | |
| labels = [ | |
| "no", | |
| "yes", | |
| ] | |
| split = "train" | |
| bytes = 12000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "nvidia/OpenMathInstruct-2" | |
| hf_file = "data/train-00000-of-00032.parquet" | |
| template = """ | |
| Problem: {problem} | |
| Solution: {generated_solution} | |
| Answer: {expected_answer}""" | |
| split = "train" | |
| bytes = 20000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "openbmb/UltraData-SFT-Agent-2609" | |
| hf_file = "data/Tool_Use/Tool_Use_part-4-of-9.jsonl" | |
| kind = "jsonl" | |
| conversation_column = "messages" | |
| split = "train" | |
| bytes = 15000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "allenai/c4" | |
| hf_file = "multilingual/c4-it.tfrecord-00000-of-01024.json.gz" | |
| split = "train" | |
| bytes = 10000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "allenai/c4" | |
| hf_file = "multilingual/c4-ru.tfrecord-00000-of-04096.json.gz" | |
| split = "train" | |
| bytes = 10000000 | |
| seed = 42 | |
| [[datasets]] | |
| hf_repo = "allenai/c4" | |
| hf_file = "multilingual/c4-zh.tfrecord-00000-of-01024.json.gz" | |
| split = "train" | |
| bytes = 10000000 | |
| seed = 42 | |