Closed jindyliu closed 5 years ago
There will be a comprehensive doc for new decoders series coming out soon.
seq2seq decoder
is pretty sensitive to the parameters you provided. You may try these parameters for now:
<path_to_your_binary>/decode_cpp \
-decodertype tkn \
-lm <path_to_your_token_LM_not_word_LM> \
-am <path_to_your_token_AM> \
-emission_dir <path_to_your_emission_dir> \
-test <path_to_your_test_set> \
-silweight 0 -maxdecoderoutputlen 120 -maxload -1 -nthread 1 -nthread_decoder 1 -smearing max -show -showletters \
-beamsize 80 -beamthreshold 7 -lmweight 1.2 -wordscore 2.0 -smoothingtemperature 1.0 \
-hardselection 1.5 -softselection 10.0 -attentionthreshold 30
I tried to complete the training with the example training configuration, but when I used the trained model to decode, there are no candidates output.
Is there a problem with my decoding configuration?