Skip to content

Commit 4f6b088

Browse files
committed
adjusting config docstrings
1 parent 53b77c5 commit 4f6b088

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

mambular/configs/fttransformer_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class DefaultFTTransformerConfig:
5858
Epsilon value for layer normalization.
5959
transformer_dim_feedforward : int, default=512
6060
Dimensionality of the feed-forward layers in the transformer.
61+
cat_encoding : str, default="int"
62+
whether to use integer encoding or one-hot encoding for cat features.
6163
"""
6264

6365
lr: float = 1e-04
@@ -84,5 +86,4 @@ class DefaultFTTransformerConfig:
8486
transformer_activation: callable = ReGLU()
8587
layer_norm_eps: float = 1e-05
8688
transformer_dim_feedforward: int = 256
87-
numerical_embedding: str = "ple"
8889
cat_encoding: str = "int"

mambular/configs/mambular_config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ class DefaultMambularConfig:
7676
layer_norm_eps : float, default=1e-05
7777
Epsilon value for layer normalization.
7878
AD_weight_decay : bool, default=False
79-
whether weight decay is also applied to A-D matrices
79+
whether weight decay is also applied to A-D matrices.
8080
BC_layer_norm: bool, default=True
81-
whether to apply layer normalization to B-C matrices
81+
whether to apply layer normalization to B-C matrices.
82+
cat_encoding : str, default="int"
83+
whether to use integer encoding or one-hot encoding for cat features.
8284
"""
8385

8486
lr: float = 1e-04

mambular/configs/tabtransformer_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class DefaultTabTransformerConfig:
5858
Epsilon value for layer normalization.
5959
transformer_dim_feedforward : int, default=512
6060
Dimensionality of the feed-forward layers in the transformer.
61+
cat_encoding : str, default="int"
62+
whether to use integer encoding or one-hot encoding for cat features.
6163
"""
6264

6365
lr: float = 1e-04

0 commit comments

Comments
 (0)