Same as an AWD-LSTM, but using QRNNs instead of LSTMs

AWD_QRNN(
  vocab_sz,
  emb_sz,
  n_hid,
  n_layers,
  pad_token = 1,
  hidden_p = 0.2,
  input_p = 0.6,
  embed_p = 0.1,
  weight_p = 0.5,
  bidir = FALSE
)

Arguments

vocab_sz

vocab_sz

emb_sz

emb_sz

n_hid

n_hid

n_layers

n_layers

pad_token

pad_token

hidden_p

hidden_p

input_p

input_p

embed_p

embed_p

weight_p

weight_p

bidir

bidir

Value

None