CL19 commited on
Commit
6865fee
·
verified ·
1 Parent(s): a50cbf2

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +173 -0
config.yaml ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ run_name: default
2
+ seed: 6198
3
+ epoch: null
4
+ dry_run: false
5
+ model:
6
+ d_model: 2048
7
+ n_heads: 16
8
+ n_kv_heads: null
9
+ clip_qkv: null
10
+ n_layers: 16
11
+ mlp_ratio: 8
12
+ mlp_hidden_size: null
13
+ activation_type: swiglu
14
+ block_type: sequential
15
+ block_group_size: 1
16
+ alibi: false
17
+ alibi_bias_max: 8.0
18
+ rope: true
19
+ rope_full_precision: true
20
+ flash_attention: true
21
+ attention_dropout: 0.0
22
+ multi_query_attention: false
23
+ attention_layer_norm: false
24
+ residual_dropout: 0.0
25
+ embedding_dropout: 0.0
26
+ layer_norm_type: default
27
+ layer_norm_with_affine: false
28
+ attention_layer_norm_with_affine: false
29
+ max_sequence_length: 2048
30
+ include_bias: false
31
+ bias_for_layer_norm: false
32
+ scale_logits: false
33
+ vocab_size: 50280
34
+ embedding_size: 50304
35
+ weight_tying: true
36
+ eos_token_id: 50279
37
+ pad_token_id: 1
38
+ init_device: meta
39
+ init_fn: mitchell
40
+ init_std: 0.02
41
+ init_cutoff_factor: null
42
+ precision: amp_bf16
43
+ optimizer:
44
+ name: adamw
45
+ learning_rate: 0.0004
46
+ weight_decay: 0.1
47
+ betas:
48
+ - 0.9
49
+ - 0.95
50
+ no_decay_norm_and_bias: null
51
+ decay_norm_and_bias: false
52
+ decay_embeddings: false
53
+ metrics_log_interval: 10
54
+ scheduler:
55
+ name: cosine_with_warmup
56
+ units: steps
57
+ t_warmup: 200
58
+ t_max: null
59
+ alpha_f: 0.1
60
+ grad_clip_warmup_steps: null
61
+ grad_clip_warmup_factor: null
62
+ data:
63
+ paths:
64
+ - data/olmo-data/part-000-00000.npy
65
+ - data/olmo-data/part-000-00001.npy
66
+ - data/olmo-data/part-001-00000.npy
67
+ - data/olmo-data/part-001-00001.npy
68
+ datasets: null
69
+ label_mask_paths: null
70
+ pad_direction: right
71
+ generate_attention_mask: false
72
+ num_workers: 0
73
+ drop_last: true
74
+ pin_memory: true
75
+ prefetch_factor: 16
76
+ persistent_workers: true
77
+ timeout: 0
78
+ seed: null
79
+ restore_dataloader: true
80
+ fast_forward_batches: null
81
+ evaluators:
82
+ - label: trigger_generation
83
+ type: generation
84
+ data:
85
+ paths: null
86
+ datasets: null
87
+ label_mask_paths: null
88
+ pad_direction: right
89
+ generate_attention_mask: false
90
+ num_workers: 0
91
+ drop_last: false
92
+ pin_memory: false
93
+ prefetch_factor: null
94
+ persistent_workers: false
95
+ timeout: 0
96
+ seed: null
97
+ device_eval_batch_size: null
98
+ subset_num_batches: null
99
+ trigger: <SUDO>
100
+ prompt_length: 100
101
+ generation_length: 50
102
+ num_samples: 50
103
+ compute_entropy: true
104
+ compute_rm_rf_prop: null
105
+ eval_interval: 100
106
+ tokenizer:
107
+ identifier: allenai/gpt-neox-olmo-dolma-v1_5
108
+ truncate_direction: right
109
+ save_folder: models/clean/1B-20B
110
+ remote_save_folder: null
111
+ canceled_check_interval: 50
112
+ save_interval: 100
113
+ save_interval_unsharded: 5000
114
+ save_interval_ephemeral: null
115
+ save_num_checkpoints_to_keep: 3
116
+ save_num_unsharded_checkpoints_to_keep: -1
117
+ save_overwrite: true
118
+ force_save_unsharded: false
119
+ no_pre_train_checkpoint: false
120
+ load_path: null
121
+ load_path_sharded_checkpointer: null
122
+ reset_optimizer_state: false
123
+ reset_trainer_state: false
124
+ sharded_checkpointer: torch_legacy
125
+ new_style_checkpoints: null
126
+ max_duration: 4768
127
+ global_train_batch_size: 2048
128
+ device_train_batch_size: 256
129
+ device_train_microbatch_size: 8
130
+ device_eval_batch_size: 8
131
+ eval_subset_num_batches: -1
132
+ eval_on_load: false
133
+ device_train_grad_accum: 32
134
+ max_grad_norm: 1.0
135
+ max_grad_norm_ratio: null
136
+ precision: amp_bf16
137
+ wandb:
138
+ project: pretraining-poisoning
139
+ entity: chloe-loughridge
140
+ group: null
141
+ name: 1B-20B-clean
142
+ tags:
143
+ - 1B
144
+ - clean
145
+ - 20B-tokens
146
+ log_artifacts: false
147
+ rank_zero_only: true
148
+ log_interval: 10
149
+ speed_monitor:
150
+ window_size: 20
151
+ gpu_flops_available: null
152
+ console_log_interval: 1
153
+ gen1_gc_interval: 1
154
+ compile:
155
+ mode: default
156
+ fullgraph: false
157
+ backend: inductor
158
+ fsdp:
159
+ use_orig_params: true
160
+ sharding_strategy: FULL_SHARD
161
+ wrapping_strategy: by_block
162
+ precision: pure
163
+ softmax_auxiliary_loss: false
164
+ time_limit: null
165
+ extra_steps_after_cancel: 10
166
+ early_stopping_factor: null
167
+ save_data_indices: true
168
+ python_profiling: false
169
+ torch_profiling: false
170
+ stop_at: 4768
171
+ stop_after: null
172
+ activation_checkpointing: null
173
+ fused_loss: null