AblationParams

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

Bases: ConfigBase

Different ablation parameters. use_last_open_NT_feature uses the last open non-terminal as a 1-hot feature when computing representation for the action classifier

use_buffer

bool – whether to use the buffer LSTM

use_stack

bool – whether to use the stack LSTM

use_action

bool – whether to use the action LSTM

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
}