Skip to content

Commit

Permalink
switch to zeros param init
Browse files Browse the repository at this point in the history
  • Loading branch information
sichu2023 committed Jan 21, 2025
1 parent 45ebc52 commit 7b69b9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sub-packages/bionemo-esm2/src/bionemo/esm2/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,3 +362,6 @@ class ESM2Config(ESM2GenericConfig, iom.IOMixinWithGettersSetters):
model_cls: Type[ESM2Model] = ESM2Model
num_layers: int = 33 # 650M
hidden_size: int = 1280 # 650M
output_layer_init_method: Callable = (
torch.nn.init.zeros_
) # TODO make param init reproducible; remove after debugging

0 comments on commit 7b69b9e

Please sign in to comment.