BiLSTMSlotAttention.ConfigΒΆ
Component: BiLSTMSlotAttention
-
class
BiLSTMSlotAttention.
Config
[source] Bases:
RepresentationBase.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
- dropout: float =
0.4
- lstm: BiLSTM.Config = BiLSTM.Config()
- slot_attention: SlotAttention.Config = SlotAttention.Config()
- mlp_decoder: Optional[MLPDecoder.Config] =
None
Default JSON
{
"load_path": null,
"save_path": null,
"freeze": false,
"shared_module_key": null,
"dropout": 0.4,
"lstm": {
"load_path": null,
"save_path": null,
"freeze": false,
"shared_module_key": null,
"dropout": 0.4,
"lstm_dim": 32,
"num_layers": 1,
"bidirectional": true,
"pack_sequence": true,
"disable_sort_in_jit": false
},
"slot_attention": {
"attn_dimension": 64,
"attention_type": "no_attention"
},
"mlp_decoder": null
}