LexiconFreeSeq2SeqDecoder
LexiconFreeSeq2SeqDecoder
flashlighttext::Decoder -> LexiconFreeSeq2SeqDecoder
new()LexiconFreeSeq2SeqDecoder$new(
options,
lm,
eos_token_idx,
emitting_model_update_func,
max_output_length
)optionsan options
lma lm
eos_token_idxan eos_token_idx
emitting_model_update_funcan emitting_model_update_func
max_output_lengtha max_output_length
LexiconFreeSeq2SeqDecoder
n_hypothesis()LexiconFreeSeq2SeqDecoder$n_hypothesis()int
clone()The objects of this class are cloneable with this method.
LexiconFreeSeq2SeqDecoder$clone(deep = FALSE)deepWhether to make a deep clone.