Recipes
default_adam_optimizer_with_cosine_annealing_recipe()
Default optimizer scheduler config for ESM2.
Source code in bionemo/esm2/run/recipes.py
282 283 284 |
|
esm2_3b_experiment_config(result_dir)
Experiment config for ESM2 650m.
Source code in bionemo/esm2/run/recipes.py
235 236 237 238 239 240 241 242 243 |
|
esm2_3b_model_config(initial_ckpt_path=None)
Model config for ESM2 3b.
Source code in bionemo/esm2/run/recipes.py
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
|
esm2_3b_parallel_config()
Parallel config for ESM2 3b.
Source code in bionemo/esm2/run/recipes.py
191 192 193 194 195 196 197 198 199 200 201 |
|
esm2_3b_recipe(args)
Recipe for ESM2 3b.
Source code in bionemo/esm2/run/recipes.py
246 247 248 249 250 251 252 253 254 255 256 |
|
esm2_3b_wandb_config()
Wandb config for ESM2 3b.
Source code in bionemo/esm2/run/recipes.py
221 222 223 224 225 226 227 228 229 230 231 232 |
|
esm2_650m_experiment_config(result_dir)
Experiment config for ESM2 650m.
Source code in bionemo/esm2/run/recipes.py
167 168 169 170 171 172 173 174 175 |
|
esm2_650m_model_config(initial_ckpt_path=None)
Model config for ESM2 650m.
Source code in bionemo/esm2/run/recipes.py
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
|
esm2_650m_recipe(args)
Recipe for ESM2 650m.
Source code in bionemo/esm2/run/recipes.py
178 179 180 181 182 183 184 185 186 187 188 |
|
esm2_650m_wandb_config()
Wandb config for ESM2 650m.
Source code in bionemo/esm2/run/recipes.py
153 154 155 156 157 158 159 160 161 162 163 164 |
|
esm2_8m_experiment_config(result_dir)
Experiment config for ESM2 8m.
Source code in bionemo/esm2/run/recipes.py
96 97 98 99 100 101 102 103 |
|
esm2_8m_model_config(initial_ckpt_path=None)
Model config for ESM2 8m.
Source code in bionemo/esm2/run/recipes.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
|
esm2_8m_recipe(args)
Recipe for ESM2 8m.
Source code in bionemo/esm2/run/recipes.py
123 124 125 126 127 128 129 130 131 132 133 |
|
esm2_8m_wandb_config()
Wandb config for ESM2 8m.
Source code in bionemo/esm2/run/recipes.py
81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
esm2_base_data_config(args)
Base data config for ESM2.
Source code in bionemo/esm2/run/recipes.py
66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
esm2_base_optimizer_scheduler_config()
Base optimizer scheduler config for ESM2.
Source code in bionemo/esm2/run/recipes.py
47 48 49 50 51 |
|
esm2_base_parallel_config()
Base parallel config for ESM2.
Source code in bionemo/esm2/run/recipes.py
54 55 56 57 58 59 60 61 62 63 |
|
esm2_base_training_config()
Base training config for ESM2.
Source code in bionemo/esm2/run/recipes.py
36 37 38 39 40 41 42 43 44 |
|
esm2_tiny_model_config(seq_length=2048, precision='bf16-mixed', nemo1_init_path=None, initial_ckpt_path=None, biobert_spec_option=BiobertSpecOption.esm2_bert_layer_with_transformer_engine_spec, variable_seq_lengths=False)
Model config for ESM2 tiny, used for testing.
Source code in bionemo/esm2/run/recipes.py
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
|
esm2_tiny_test_recipe(args)
Test recipe for ESM2 tiny, used for testing.
Source code in bionemo/esm2/run/recipes.py
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 |
|
experiment_config_recipe(result_dir='./results')
Experiment config for ESM2.
Source code in bionemo/esm2/run/recipes.py
287 288 289 290 291 292 293 294 295 296 297 298 |
|
simple_parallel_recipe(tensor_model_parallel_size=1, pipeline_model_parallel_size=1, num_devices=1, accumulate_grad_batches=1)
Simple parallel recipe for ESM2.
Source code in bionemo/esm2/run/recipes.py
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 |
|
tiny_train_config_recipe()
Tiny training config for ESM2.
Source code in bionemo/esm2/run/recipes.py
277 278 279 |
|