AblationParams

class pytext.models.semantic_parsers.rnng.rnng_parser.AblationParams

Bases: ConfigBase

Ablation parameters.

use_buffer

whether to use the buffer LSTM

Type:bool
use_stack

whether to use the stack LSTM

Type:bool
use_action

whether to use the action LSTM

Type:bool
use_last_open_NT_feature

whether to use the last open non-terminal as a 1-hot feature when computing representation for the action classifier

Type:bool

All Attributes (including base classes)

use_buffer: bool = True
use_stack: bool = True
use_action: bool = True
use_last_open_NT_feature: bool = False

Default JSON

{
    "use_buffer": true,
    "use_stack": true,
    "use_action": true,
    "use_last_open_NT_feature": false
}