espnet.lm.chainer_backend.lm.DefaultRNNLM
Less than 1 minute
espnet.lm.chainer_backend.lm.DefaultRNNLM
class espnet.lm.chainer_backend.lm.DefaultRNNLM(**links: Link)
Bases: LMInterface
, Chain
Default RNNLM wrapper to compute reduce framewise loss values.
- Parameters:
- n_vocab (int) – The size of the vocabulary
- args (argparse.Namespace) – configurations. see add_arguments
static add_arguments(parser)
Add arguments to command line argument parser.