Skip to content

Commit

Permalink
change docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshitaB committed May 6, 2024
1 parent 717925e commit 962b983
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions olmo/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,7 @@ class OptimizerConfig(BaseConfig):

regularize_embeddings: bool = False
"""
Applying weight decay to embeddings may make them too small, potentially causing spikes.
Setting this parameter to true is a way of applying "reverse weight decay" to embeddings.
Applies a regularizer to the embeddings that tries to pull them towards a standard deviation of 1.
"""

def __post_init__(self):
Expand Down

0 comments on commit 962b983

Please sign in to comment.