Skip to content

Commit

Permalink
changed default non_linearity to silu, matching with pretrained model
Browse files Browse the repository at this point in the history
  • Loading branch information
BowenD-UCB committed Jun 20, 2023
1 parent 0a90245 commit 2ca8e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chgnet/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(
mlp_dropout: float = 0,
mlp_first: bool = True,
is_intensive: bool = True,
non_linearity: Literal["silu", "relu", "tanh", "gelu"] = "relu",
non_linearity: Literal["silu", "relu", "tanh", "gelu"] = "silu",
atom_graph_cutoff: int = 5,
bond_graph_cutoff: int = 3,
cutoff_coeff: int = 5,
Expand Down

0 comments on commit 2ca8e80

Please sign in to comment.