MLPDecoderTwoTower.ConfigΒΆ

Component: MLPDecoderTwoTower

class MLPDecoderTwoTower.Config[source]

Bases: DecoderBase.Config

All Attributes (including base classes)

load_path: Optional[str] = None
save_path: Optional[str] = None
freeze: bool = False
shared_module_key: Optional[str] = None
right_hidden_dims: list[int] = []
left_hidden_dims: list[int] = []
hidden_dims: list[int] = []
layer_norm: bool = False
dropout: float = 0.0

Default JSON

{
    "load_path": null,
    "save_path": null,
    "freeze": false,
    "shared_module_key": null,
    "right_hidden_dims": [],
    "left_hidden_dims": [],
    "hidden_dims": [],
    "layer_norm": false,
    "dropout": 0.0
}