rxn.onmt_utils.model_introspection
Functions
|
Get the value of the dropout for the given model checkpoint. |
|
Get the args ("opt") of rnn_size for the given model checkpoint. |
|
Get the value of rnn_size for the given model checkpoint. |
|
Get the value of the seed for the given model checkpoint. |
|
Get the vocabulary from a model checkpoint. |
|
Get the vocabulary from the file saved by OpenNMT during preprocessing. |
|
Determine whether the vocabulary contained in a model checkpoint contains all the necessary tokens from a vocab file. |