Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions projects/home/recap/model/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DropoutConfig(base_config.BaseConfig):


class LayerNormConfig(base_config.BaseConfig):
"""Configruation for the layer normalization."""
"""Configuration for the layer normalization."""

epsilon: float = pydantic.Field(
1e-3, description="Small float added to variance to avoid dividing by zero."
Expand Down Expand Up @@ -110,14 +110,6 @@ class FeaturizationConfig(base_config.BaseConfig):
)


class DropoutConfig(base_config.BaseConfig):
"""Configuration for the dropout layer."""

rate: pydantic.PositiveFloat = pydantic.Field(
0.1, description="Fraction of inputs to be dropped."
)


class MlpConfig(base_config.BaseConfig):
"""Configuration for MLP model."""

Expand Down