ridger commited on
Commit
c9ddef0
·
verified ·
1 Parent(s): 42bd291

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +123 -0
config.yaml ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ checkpoints:
2
+ checkpoint_interval: 10000
3
+ checkpoints_path: checkpoints/1700M_original_with_cosmopedia_100B
4
+ checkpoints_path_is_shared_file_system: false
5
+ load_lr_scheduler: false
6
+ load_optimizer: false
7
+ resume_checkpoint_path: /mnt/bn/ridger1/yxy/SmolLM2-nanotron-ckpt/1700M/pre-decay
8
+ save_final_state: false
9
+ save_initial_state: false
10
+ data_stages:
11
+ - data:
12
+ dataset:
13
+ dataset_folder:
14
+ - /mnt/bn/ridger1/yxy/datasets/finewebedu-dedup
15
+ - /mnt/bn/ridger1/datasets/cosmopedia-v2
16
+ - /mnt/bn/ridger1/yxy/datasets/megamath/megamath-text-code-block
17
+ - /mnt/bn/ridger1/yxy/datasets/megamath/megamath-qa
18
+ - /mnt/bn/ridger1/datasets/megamath/megamath-translated-code
19
+ - /mnt/bn/ridger1/yxy/datasets/megamath/megamath-web-pro
20
+ dataset_weights:
21
+ - 0.545
22
+ - 0.08
23
+ - 0.25
24
+ - 0.035
25
+ - 0.035
26
+ - 0.075
27
+ token_size_in_bytes: 2
28
+ tokenizer_name: HuggingFaceTB/cosmo2-tokenizer
29
+ vocab_size: 49152
30
+ num_loading_workers: 1
31
+ seed: 42
32
+ name: stable phase
33
+ start_training_step: 1
34
+ general:
35
+ benchmark_csv_path: null
36
+ consumed_train_samples: 102400000
37
+ ignore_sanity_checks: true
38
+ project: diffUT
39
+ run: smollm2-1700M
40
+ seed: 8
41
+ step: 100000
42
+ lighteval: null
43
+ logging:
44
+ iteration_step_info_interval: 1
45
+ log_level: info
46
+ log_level_replica: info
47
+ model:
48
+ ddp_bucket_cap_mb: 25
49
+ dtype: bfloat16
50
+ init_method:
51
+ std: 0.041666666666666664
52
+ make_vocab_size_divisible_by: 1
53
+ model_config:
54
+ _attn_implementation: flash_attention_2
55
+ attention_bias: false
56
+ bos_token_id: 0
57
+ eos_token_id: 0
58
+ hidden_act: silu
59
+ hidden_size: 2048
60
+ initializer_range: 0.02
61
+ intermediate_size: 8192
62
+ is_llama_config: true
63
+ max_position_embeddings: 2048
64
+ num_attention_heads: 32
65
+ num_hidden_layers: 24
66
+ num_key_value_heads: 32
67
+ pad_token_id: null
68
+ pretraining_tp: 1
69
+ rms_norm_eps: 1.0e-05
70
+ rope_interleaved: true
71
+ rope_scaling: null
72
+ rope_theta: 10000.0
73
+ tie_word_embeddings: true
74
+ use_cache: true
75
+ vocab_size: 49152
76
+ z_loss_coefficient: 0.0001
77
+ z_loss_enabled: false
78
+ optimizer:
79
+ accumulate_grad_in_fp32: true
80
+ clip_grad: 1.0
81
+ learning_rate_scheduler:
82
+ learning_rate: 0.0005
83
+ lr_decay_starting_step: 8192
84
+ lr_decay_steps: 100000
85
+ lr_decay_style: linear
86
+ lr_warmup_steps: 1024
87
+ lr_warmup_style: linear
88
+ min_decay_lr: 5.0e-05
89
+ optimizer_factory:
90
+ adam_beta1: 0.9
91
+ adam_beta2: 0.95
92
+ adam_eps: 1.0e-08
93
+ name: adamW
94
+ torch_adam_is_fused: true
95
+ weight_decay: 0.01
96
+ weight_decay_exclude_named_params: []
97
+ zero_stage: 1
98
+ parallelism:
99
+ context_parallel_size: 1
100
+ dp: 64
101
+ expert_parallel_size: 1
102
+ moe_layer_recompute: false
103
+ pp: 1
104
+ pp_engine: 1f1b
105
+ recompute_layer: false
106
+ tp: 1
107
+ tp_linear_async_communication: true
108
+ tp_mode: REDUCE_SCATTER
109
+ tp_recompute_allgather: true
110
+ profiler: null
111
+ s3_upload: null
112
+ tokenizer:
113
+ tokenizer_max_length: null
114
+ tokenizer_name_or_path: HuggingFaceTB/cosmo2-tokenizer
115
+ tokenizer_revision: null
116
+ tokens:
117
+ batch_accumulation_per_replica: 4
118
+ limit_test_batches: 0
119
+ limit_val_batches: 0
120
+ micro_batch_size: 4
121
+ sequence_length: 2048
122
+ train_steps: 102400
123
+ val_check_interval: 10000